From 661ba3638ef422b82da6cadb92aaff3aeb65bdc1 Mon Sep 17 00:00:00 2001 From: GoTouchSomeGrass314 Date: Sun, 22 Nov 2026 16:18:57 +0100 Subject: [PATCH] First of many SB fixes Nuked all port special buildings and replaced them all by one of 3 templates Mostly fixed all special universities (only loc needs moving) Fully fixed Court of Europa and Walls of Nijmegen Lastly, restored 3 icons for special buildings --- .../buildings/regular_primary_buildings.txt | 7448 ++++++++++ .../alum_district_buildings.txt | 409 + .../amber_district_buildings.txt | 1835 +++ .../cattle_district_buildings.txt | 2400 +++ .../ceramics_district_buildings.txt | 2750 ++++ .../copper_district_buildings.txt | 1134 ++ .../cotton_district_buildings.txt | 2424 +++ .../dyes_district_buildings.txt | 1939 +++ .../fish_district_buildings.txt | 2562 ++++ .../flax_district_buildings.txt | 1908 +++ .../fruit_district_buildings.txt | 2117 +++ .../furs_district_buildings.txt | 2127 +++ .../gems_district_buildings.txt | 155 + .../gold_district_buildings.txt | 155 + .../grain_district_buildings.txt | 2998 ++++ .../hemp_district_buildings.txt | 1919 +++ .../honey_district_buildings.txt | 1580 ++ .../horse_district_buildings.txt | 1363 ++ .../incense_district_buildings.txt | 1935 +++ .../iron_district_buildings.txt | 1162 ++ .../ivory_district_buildings.txt | 1796 +++ .../jade_district_buildings.txt | 155 + .../medicaments_district_buildings.txt | 2467 ++++ .../millet_district_buildings.txt | 2393 +++ .../mine_district_buildings.txt | 1449 ++ .../oil_district_buildings.txt | 1525 ++ .../rice_district_buildings.txt | 2667 ++++ .../salt_district_buildings.txt | 1560 ++ .../shared_resource_district_buildings.txt | 4829 ++++++ .../silk_district_buildings.txt | 2472 ++++ .../silver_district_buildings.txt | 155 + .../spices_district_buildings.txt | 1675 +++ .../stone_district_buildings.txt | 2502 ++++ .../sugar_district_buildings.txt | 1487 ++ .../tea_district_buildings.txt | 1528 ++ .../wanua_resource_district_buildings.txt | 10127 +++++++++++++ .../wine_district_buildings.txt | 2061 +++ .../wood_district_buildings.txt | 2273 +++ .../wool_district_buildings.txt | 2115 +++ .../00_special_buildings.txt | 12235 ---------------- .../NEOW_special_buildings.txt | 11776 +++++++++++++++ common/districts/NEOW_special_districts.txt | 959 ++ common/districts/special_districts.txt | 974 +- .../icons/building_types/tradeport.dds | 3 + history/provinces/e_alps.txt | 2 +- history/provinces/e_baltic.txt | 5 +- history/provinces/e_britannia.txt | 16 +- history/provinces/e_europa.txt | 66 +- history/provinces/e_finland.txt | 14 +- history/provinces/e_france.txt | 18 +- history/provinces/e_germany.txt | 9 +- history/provinces/e_greece.txt | 11 +- history/provinces/e_iberia.txt | 13 +- history/provinces/e_italy.txt | 96 +- history/provinces/e_nistrenia.txt | 5 +- history/provinces/e_scandinavia.txt | 25 +- history/provinces/e_visegrad.txt | 2 +- history/provinces/e_yugoslavia.txt | 4 +- history/provinces/e_zapadnorussia.txt | 2 +- .../replace/zz_NEOW_buildings_l_english.yml | 356 +- ...NEOW_duchy_special_districts_l_english.yml | 13 + 61 files changed, 98487 insertions(+), 13673 deletions(-) create mode 100644 common/buildings/regular_primary_buildings.txt create mode 100644 common/buildings/resource_district_buildings/alum_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/amber_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/cattle_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/ceramics_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/copper_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/cotton_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/dyes_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/fish_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/flax_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/fruit_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/furs_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/gems_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/gold_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/grain_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/hemp_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/honey_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/horse_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/incense_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/iron_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/ivory_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/jade_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/medicaments_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/millet_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/mine_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/oil_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/rice_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/salt_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/shared_resource_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/silk_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/silver_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/spices_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/stone_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/sugar_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/tea_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/wine_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/wood_district_buildings.txt create mode 100644 common/buildings/resource_district_buildings/wool_district_buildings.txt create mode 100644 common/buildings/special_buildings/NEOW_special_buildings.txt create mode 100644 common/districts/NEOW_special_districts.txt create mode 100644 gfx/interface/icons/building_types/tradeport.dds create mode 100644 localization/english/replace/zz_NEOW_duchy_special_districts_l_english.yml diff --git a/common/buildings/regular_primary_buildings.txt b/common/buildings/regular_primary_buildings.txt new file mode 100644 index 000000000..8af5edccb --- /dev/null +++ b/common/buildings/regular_primary_buildings.txt @@ -0,0 +1,7448 @@ +# 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 } + } +} diff --git a/common/buildings/resource_district_buildings/alum_district_buildings.txt b/common/buildings/resource_district_buildings/alum_district_buildings.txt new file mode 100644 index 000000000..173b25ba3 --- /dev/null +++ b/common/buildings/resource_district_buildings/alum_district_buildings.txt @@ -0,0 +1,409 @@ +#Secondary Resource Alum Line + +minor_alum_mine_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_alum } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_alum_production_add = minor_alum_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = minor_alum_mine_2 + type_icon = "resource_buildings/minor_alum_mine.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_new_building_modifier = yes + } + +} + +minor_alum_mine_2 = { + + construction_time = construction_time_9_months + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_alum_production_add = minor_alum_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = minor_alum_mine_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +minor_alum_mine_3 = { + + construction_time = construction_time_1_year + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_alum_production_add = minor_alum_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Alum Apothecaries + +#Turns Alum into Medicaments + +alum_apothecary_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_1_tribal + } + market_modifier = { + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_alum + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_alum_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal + } + } + } + on_complete = { + } + next_building = alum_apothecary_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + +} + +alum_apothecary_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_2_tribal + } + market_modifier = { + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_alum + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_alum_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal + } + } + } + on_complete = { + } + next_building = alum_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +alum_apothecary_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_3_tribal + } + market_modifier = { + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_alum + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_alum_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal + } + } + } + on_complete = { + } + next_building = alum_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +alum_apothecary_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_4_tribal + } + market_modifier = { + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_alum + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_alum_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal + } + } + } + on_complete = { + } + next_building = alum_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +alum_apothecary_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = alum_apothecary_income_tier_5_tribal + } + market_modifier = { + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_alum + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_alum_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/amber_district_buildings.txt b/common/buildings/resource_district_buildings/amber_district_buildings.txt new file mode 100644 index 000000000..c460b6772 --- /dev/null +++ b/common/buildings/resource_district_buildings/amber_district_buildings.txt @@ -0,0 +1,1835 @@ +amber_collectors_1 = { + construction_time = construction_time_6_months + + triggered_name = { + trigger = { + OR = { + is_coastal = yes + is_river_province = yes + } + } + reference = "amber_collectors_1_coastal" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_amber } + NOT = { + has_building_or_higher = amber_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_amber_production_add = minor_amber_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = amber_collectors_2 + type_icon = "resource_buildings/amber_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_new_building_modifier = yes + } +} + +amber_collectors_2 = { + construction_time = construction_time_9_months + + triggered_name = { + trigger = { + OR = { + is_coastal = yes + is_river_province = yes + } + } + reference = "amber_collectors_2_coastal" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_amber } + NOT = { + has_building_or_higher = amber_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_amber_production_add = minor_amber_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = amber_collectors_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +amber_collectors_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_amber } + NOT = { + has_building_or_higher = amber_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_amber_production_add = minor_amber_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +amber_resource_building_1 = { + construction_time = construction_time_6_months + + triggered_name = { + trigger = { + OR = { + is_coastal = yes + is_river_province = yes + } + } + reference = "amber_resource_building_1_coastal" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_amber } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_amber_production_add = amber_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_2 + type_icon = "district_buildings/amber_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_new_building_modifier = yes + } +} + +amber_resource_building_2 = { + construction_time = construction_time_9_months + + triggered_name = { + trigger = { + OR = { + is_coastal = yes + is_river_province = yes + } + } + reference = "amber_resource_building_2_coastal" + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_amber_production_add = amber_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +amber_resource_building_3 = { + construction_time = construction_time_1_year + + triggered_name = { + trigger = { + OR = { + is_coastal = yes + is_river_province = yes + } + } + reference = "amber_resource_building_3_coastal" + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_amber_production_add = amber_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +amber_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_amber_production_add = amber_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +amber_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_amber_production_add = amber_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +amber_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_amber_production_add = amber_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +amber_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_amber_production_add = amber_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +amber_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_amber_production_add = amber_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +amber_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_amber_production_add = amber_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + next_building = amber_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +amber_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_amber_production_add = amber_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_amber_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_amber_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + market_modifier = { + trade_good_amber_buy_price_mult = amber_source_buy_price_mult + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_amber } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +bead_turner_1 = { + construction_time = construction_time_6_months + + triggered_name = { + trigger = { faith.religion = religion:christianity_religion } + reference = "rosary_maker_1" + } + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + + + character_modifier = { + monthly_piety = bead_turner_piety_tier_1 + } + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = bead_turner_2 + type_icon = "resource_buildings/bead_turner.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +bead_turner_2 = { + construction_time = construction_time_9_months + + triggered_name = { + trigger = { faith.religion = religion:christianity_religion } + reference = "rosary_maker_2" + } + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + + + character_modifier = { + monthly_piety = bead_turner_piety_tier_2 + } + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = bead_turner_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +bead_turner_3 = { + construction_time = construction_time_1_year + + triggered_name = { + trigger = { faith.religion = religion:christianity_religion } + reference = "rosary_maker_3" + } + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + + + character_modifier = { + monthly_piety = bead_turner_piety_tier_3 + } + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = bead_turner_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +bead_turner_4 = { + construction_time = construction_time_2_years + + triggered_name = { + trigger = { faith.religion = religion:christianity_religion } + reference = "rosary_maker_4" + } + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + + + character_modifier = { + monthly_piety = bead_turner_piety_tier_4 + } + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = bead_turner_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +bead_turner_5 = { + construction_time = construction_time_3_years + + triggered_name = { + trigger = { faith.religion = religion:christianity_religion } + reference = "rosary_maker_5" + } + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + + + character_modifier = { + monthly_piety = bead_turner_piety_tier_5 + } + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = bead_turner_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +amber_oil_maker_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_1_tribal + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } + on_complete = { + + } + + next_building = amber_oil_maker_2 + type_icon = "resource_buildings/amber_oil_maker.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } +} + +amber_oil_maker_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_2_tribal + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } + on_complete = { + + } + + next_building = amber_oil_maker_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +amber_oil_maker_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_3_tribal + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } + on_complete = { + + } + + next_building = amber_oil_maker_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +amber_oil_maker_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_4_tribal + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } + on_complete = { + + } + + next_building = amber_oil_maker_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +amber_oil_maker_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_oil_maker_woodland_tax_tier_5_tribal + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +amber_carver_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = amber_carver_prosperity_tier_1 + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = amber_carver_2 + type_icon = "resource_buildings/amber_carver.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +amber_carver_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = amber_carver_prosperity_tier_2 + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = amber_carver_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +amber_carver_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = amber_carver_prosperity_tier_3 + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = amber_carver_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +amber_carver_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = amber_carver_prosperity_tier_4 + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + next_building = amber_carver_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +amber_carver_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = amber_carver_prosperity_tier_5 + } + + + + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = amber_carver_woodland_tax_per_amber_need_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/cattle_district_buildings.txt b/common/buildings/resource_district_buildings/cattle_district_buildings.txt new file mode 100644 index 000000000..7a6d0b51a --- /dev/null +++ b/common/buildings/resource_district_buildings/cattle_district_buildings.txt @@ -0,0 +1,2400 @@ +cattle_resource_building_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_cattle_production_add = cattle_tier_1_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_1_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.01 + levy_size = 0.01 + } + + on_complete = { + } + next_building = cattle_resource_building_2 + type_icon = "district_buildings/cattle_district.dds" + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } + +} + +cattle_resource_building_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_cattle_production_add = cattle_tier_2_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_2_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.02 + levy_size = 0.02 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_3 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + +} + +cattle_resource_building_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + province_modifier = { + building_slots_for_host_district = 2 + trade_good_cattle_production_add = cattle_tier_3_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_3_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.03 + levy_size = 0.03 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_cattle_production_add = tier_3_main_resource + } + next_building = cattle_resource_building_4 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + +} + +cattle_resource_building_4 = { + + construction_time = construction_time_2_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_cattle_production_add = cattle_tier_4_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_4_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.04 + levy_size = 0.04 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_5 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + +} + +cattle_resource_building_5 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_cattle_production_add = cattle_tier_5_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_5_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.05 + levy_size = 0.05 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_6 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + +} + +cattle_resource_building_6 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_cattle_production_add = cattle_tier_6_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_6_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.06 + levy_size = 0.06 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_7 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + +} + +cattle_resource_building_7 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cattle_production_add = cattle_tier_7_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_7_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.07 + levy_size = 0.07 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_8 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + +} + +cattle_resource_building_8 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cattle_production_add = cattle_tier_8_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_8_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.08 + levy_size = 0.08 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_9 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + +} + +cattle_resource_building_9 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cattle_production_add = cattle_tier_9_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_9_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.09 + levy_size = 0.09 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + next_building = cattle_resource_building_10 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + +} + +cattle_resource_building_10 = { + + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cattle_production_add = cattle_tier_10_main_resource + } + province_rite_modifier = { + not_parameter = meat_forbidden + trade_good_meat_production_add = cattle_tier_10_main_meat + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cattle_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cattle_production_mult = 0.25 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cattle_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.1 + levy_size = 0.1 + } + + trade_good_need = { #Food for the winter, during droughts, etc + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cattle_production_add = cattle_grain_need_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cattle_level_tribal + } + } + } + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + +} + +#Butchery + +butchery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_1_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_cattle + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_add = butchery_meat_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = butchery_meat_mult_per_salt + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + on_complete = { + } + next_building = butchery_2 + type_icon = "resource_buildings/butchery.dds" + ai_value = { + base = 11 #Prioritize Food when we can + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +butchery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_2_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_cattle + amount = major_basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_meat_production_add = butchery_meat_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = butchery_meat_mult_per_salt + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + on_complete = { + } + next_building = butchery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +butchery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_3_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_cattle + amount = major_basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_meat_production_add = butchery_meat_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = butchery_meat_mult_per_salt + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + on_complete = { + } + next_building = butchery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +butchery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_4_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_cattle + amount = major_basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_meat_production_add = butchery_meat_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = butchery_meat_mult_per_salt + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + on_complete = { + } + next_building = butchery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +butchery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_tier_5_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_cattle + amount = major_basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_meat_production_add = butchery_meat_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = butchery_meat_mult_per_salt + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = butchery_income_for_needs_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Cheese Maker (actually also Butter/other durable dairy) + +#Side production of Dairy + +cheesemaker_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_1_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + modifiers = { + province_modifier = { + trade_good_cheese_production_add = cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = cheesemaker_2 + type_icon = "regular_buildings/cheesemaker.dds" + ai_value = { + base = 11 #Food gets more prio + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +cheesemaker_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_2_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = cheesemaker_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cheesemaker_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_3_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = cheesemaker_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cheesemaker_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_4_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = cheesemaker_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cheesemaker_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_income_tier_5_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_major_basic_building + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Secondary Resource Cattle Line + +minor_grazing_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + NOT = { + has_building_or_higher = cattle_resource_building_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_cattle_production_add = minor_cattle_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = minor_grazing_2 + type_icon = "old_buildings/pastures.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } + +} + +minor_grazing_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + NOT = { + has_building_or_higher = cattle_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_cattle_production_add = minor_cattle_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = minor_grazing_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +minor_grazing_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cattle } + NOT = { + has_building_or_higher = cattle_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_cattle_production_add = minor_cattle_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Tallow + +tallow_rendering_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need_tribal + } + } + } + on_complete = { + } + next_building = tallow_rendering_2 + type_icon = "resource_buildings/tallow_rendering.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +tallow_rendering_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_2 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need_tribal + } + } + } + on_complete = { + } + next_building = tallow_rendering_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +tallow_rendering_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_3 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need_tribal + } + } + } + on_complete = { + } + next_building = tallow_rendering_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +tallow_rendering_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_4 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need_tribal + } + } + } + on_complete = { + } + next_building = tallow_rendering_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +tallow_rendering_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_5 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tallow_income_per_cattle_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +manure_piles_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + agricultural_tax_mult = manure_piles_agri_tax_mult_tier_1 + } + county_modifier = { + trade_category_agricultural_goods_production_mult = manure_piles_agricultural_goods_mult_tier_1 + } + on_complete = { + } + next_building = manure_piles_2 + type_icon = "resource_buildings/manure_piles.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } + +} + +manure_piles_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + agricultural_tax_mult = manure_piles_agri_tax_mult_tier_2 + } + county_modifier = { + trade_category_agricultural_goods_production_mult = manure_piles_agricultural_goods_mult_tier_2 + } + on_complete = { + } + next_building = manure_piles_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +manure_piles_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + agricultural_tax_mult = manure_piles_agri_tax_mult_tier_3 + } + county_modifier = { + trade_category_agricultural_goods_production_mult = manure_piles_agricultural_goods_mult_tier_3 + } + on_complete = { + } + next_building = manure_piles_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +manure_piles_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + agricultural_tax_mult = manure_piles_agri_tax_mult_tier_4 + } + county_modifier = { + trade_category_agricultural_goods_production_mult = manure_piles_agricultural_goods_mult_tier_4 + } + on_complete = { + } + next_building = manure_piles_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +manure_piles_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + agricultural_tax_mult = manure_piles_agri_tax_mult_tier_5 + } + county_modifier = { + trade_category_agricultural_goods_production_mult = manure_piles_agricultural_goods_mult_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +cheese_cave_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + terrain = mountains + terrain = desert_mountains + } + } + can_construct_showing_failures_only = { + has_building_or_higher = cheesemaker_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_cheese_production_mult = cheese_cave_cheese_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_1_tribal + } + on_complete = { + } + next_building = cheese_cave_2 + type_icon = "resource_buildings/cheese_cave.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +cheese_cave_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + terrain = mountains + terrain = desert_mountains + } + } + can_construct_showing_failures_only = { + has_building_or_higher = cheesemaker_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_cheese_production_mult = cheese_cave_cheese_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_2_tribal + } + on_complete = { + } + next_building = cheese_cave_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cheese_cave_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + terrain = mountains + terrain = desert_mountains + } + } + can_construct_showing_failures_only = { + has_building_or_higher = cheesemaker_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_cheese_production_mult = cheese_cave_cheese_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_3_tribal + } + on_complete = { + } + next_building = cheese_cave_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cheese_cave_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + terrain = mountains + terrain = desert_mountains + } + } + can_construct_showing_failures_only = { + has_building_or_higher = cheesemaker_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_cheese_production_mult = cheese_cave_cheese_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_4_tribal + } + on_complete = { + } + next_building = cheese_cave_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cheese_cave_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + terrain = mountains + terrain = desert_mountains + } + } + can_construct_showing_failures_only = { + has_building_or_higher = cheesemaker_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_cheese_production_mult = cheese_cave_cheese_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cheese_cave_agricultural_tax_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/ceramics_district_buildings.txt b/common/buildings/resource_district_buildings/ceramics_district_buildings.txt new file mode 100644 index 000000000..8ad5b58ac --- /dev/null +++ b/common/buildings/resource_district_buildings/ceramics_district_buildings.txt @@ -0,0 +1,2750 @@ +local_pottery_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ceramics } + NOT = { + has_building_or_higher = ceramics_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_ceramics_production_add = minor_ceramics_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = local_pottery_2 + type_icon = "resource_buildings/porcelain_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } +} + +local_pottery_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ceramics } + NOT = { + has_building_or_higher = ceramics_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_ceramics_production_add = minor_ceramics_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = local_pottery_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +local_pottery_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ceramics } + NOT = { + has_building_or_higher = ceramics_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_ceramics_production_add = minor_ceramics_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ceramics_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ceramics } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_ceramics_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = ceramics_resource_building_2 + type_icon = "district_buildings/pottery_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } +} + +ceramics_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_ceramics_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = ceramics_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +ceramics_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_ceramics_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + next_building = ceramics_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +ceramics_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_ceramics_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + next_building = ceramics_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +ceramics_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_ceramics_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ceramics_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +ceramics_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_ceramics_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ceramics_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +ceramics_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ceramics_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ceramics_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +ceramics_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ceramics_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_salt_ceramics_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need_tribal + } + } + } + + next_building = ceramics_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +ceramics_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ceramics_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_salt_ceramics_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need_tribal + } + } + } + + next_building = ceramics_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +ceramics_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ceramics_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ceramics_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ceramics_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_salt_ceramics_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_salt_artisan_tax_per_need_tribal + } + } + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +fuel_charcoal_burners_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = ceramics_fuel_charcoal_prosperity_tier_1 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_fuel_charcoal_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = fuel_charcoal_burners_2 + type_icon = "resource_buildings/coal_pile.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } +} + +fuel_charcoal_burners_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = ceramics_fuel_charcoal_prosperity_tier_2 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_fuel_charcoal_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = fuel_charcoal_burners_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +fuel_charcoal_burners_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = ceramics_fuel_charcoal_prosperity_tier_3 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_fuel_charcoal_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = fuel_charcoal_burners_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +fuel_charcoal_burners_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = ceramics_fuel_charcoal_prosperity_tier_4 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_fuel_charcoal_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = fuel_charcoal_burners_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +fuel_charcoal_burners_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = ceramics_fuel_charcoal_prosperity_tier_5 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_fuel_charcoal_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_fuel_charcoal_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +ceramics_glazeworks_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = ceramics_glazeworks_prosperity_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_glazeworks_ceramics_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_glazeworks_2 + type_icon = "old_buildings/hospice.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } +} + +ceramics_glazeworks_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = ceramics_glazeworks_prosperity_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_glazeworks_ceramics_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_glazeworks_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ceramics_glazeworks_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = ceramics_glazeworks_prosperity_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_glazeworks_ceramics_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_glazeworks_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ceramics_glazeworks_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = ceramics_glazeworks_prosperity_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_glazeworks_ceramics_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_glazeworks_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +ceramics_glazeworks_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = ceramics_glazeworks_prosperity_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_glazeworks_ceramics_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_glazeworks_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +luxury_ceramics_workshops_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_luxury_building + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = luxury_ceramics_workshops_2 + type_icon = "district_buildings/porcelain_district.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +luxury_ceramics_workshops_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_luxury_building + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = luxury_ceramics_workshops_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +luxury_ceramics_workshops_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_luxury_building + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = luxury_ceramics_workshops_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +luxury_ceramics_workshops_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_luxury_building + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = luxury_ceramics_workshops_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +luxury_ceramics_workshops_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_luxury_building + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +ceramics_dragon_kiln_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_dragon_kiln_buildings } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = ceramics_dragon_kiln_prosperity_tier_1 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_major_basic_building + } + + trade_good_need = { + trade_good = trade_good_wood + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_dragon_kiln_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_2 + type_icon = "duchy_buildings/dragon_kiln.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } +} + +ceramics_dragon_kiln_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_dragon_kiln_buildings } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = ceramics_dragon_kiln_prosperity_tier_2 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_major_basic_building + } + + trade_good_need = { + trade_good = trade_good_wood + amount = major_basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_dragon_kiln_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ceramics_dragon_kiln_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_dragon_kiln_buildings } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = ceramics_dragon_kiln_prosperity_tier_3 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_major_basic_building + } + + trade_good_need = { + trade_good = trade_good_wood + amount = major_basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_dragon_kiln_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ceramics_dragon_kiln_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_dragon_kiln_buildings } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = ceramics_dragon_kiln_prosperity_tier_4 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_major_basic_building + } + + trade_good_need = { + trade_good = trade_good_wood + amount = major_basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_dragon_kiln_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +ceramics_dragon_kiln_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_dragon_kiln_buildings } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = ceramics_dragon_kiln_prosperity_tier_5 + } + + market_modifier = { + trade_good_wood_sell_price_mult = price_major_basic_building + } + + trade_good_need = { + trade_good = trade_good_wood + amount = major_basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_ceramics_production_mult = ceramics_dragon_kiln_ceramics_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ceramics_dragon_kiln_artisan_tax_per_wood_need_tribal + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +ceramic_tile_workshops_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_per_province_size_level = ceramic_tile_workshops_prosperity_per_size_tier_1 + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + modifiers = { + province_modifier = { + urban_housing_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + patrician_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + temple_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + bureaucratic_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + household_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = ceramic_tile_workshops_2 + type_icon = "regular_buildings/tile_workshop.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +ceramic_tile_workshops_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_per_province_size_level = ceramic_tile_workshops_prosperity_per_size_tier_2 + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + urban_housing_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + patrician_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + temple_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + bureaucratic_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + household_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = ceramic_tile_workshops_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ceramic_tile_workshops_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_per_province_size_level = ceramic_tile_workshops_prosperity_per_size_tier_3 + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + urban_housing_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + patrician_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + temple_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + bureaucratic_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + household_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = ceramic_tile_workshops_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ceramic_tile_workshops_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_per_province_size_level = ceramic_tile_workshops_prosperity_per_size_tier_4 + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + urban_housing_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + patrician_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + temple_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + bureaucratic_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + household_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + } + } + } + on_complete = { + + } + + next_building = ceramic_tile_workshops_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +ceramic_tile_workshops_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_per_province_size_level = ceramic_tile_workshops_prosperity_per_size_tier_5 + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + urban_housing_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + patrician_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + temple_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + bureaucratic_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + household_district_district_build_gold_cost = ceramic_tile_workshops_district_cost_per_ceramics_need + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +fritware_workshops_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_glass_production_add = fritware_workshops_glass_output_per_ceramics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + + } + + next_building = fritware_workshops_2 + type_icon = "resource_buildings/vinegar_stores.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_new_building_modifier = yes + } +} + +fritware_workshops_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_glass_production_add = fritware_workshops_glass_output_per_ceramics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + + } + + next_building = fritware_workshops_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +fritware_workshops_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_glass_production_add = fritware_workshops_glass_output_per_ceramics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + + } + + next_building = fritware_workshops_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +fritware_workshops_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_glass_production_add = fritware_workshops_glass_output_per_ceramics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + + } + + next_building = fritware_workshops_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +fritware_workshops_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_ceramics + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_glass_production_add = fritware_workshops_glass_output_per_ceramics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = fritware_workshops_artisan_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +# Uses lower-grade clay to turn one spare building slot into modest tax without adding market needs. +pipe_making_shops_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_1_tribal + } + on_complete = { + + } + next_building = pipe_making_shops_2 + type_icon = "regular_buildings/repair_yards.dds" + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +pipe_making_shops_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_2_tribal + } + on_complete = { + + } + next_building = pipe_making_shops_3 + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +pipe_making_shops_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_3_tribal + } + on_complete = { + + } + next_building = pipe_making_shops_4 + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +pipe_making_shops_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_4_tribal + } + on_complete = { + + } + next_building = pipe_making_shops_5 + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +pipe_making_shops_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = pipe_making_shops_artisan_tax_tier_5_tribal + } + on_complete = { + + } + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/copper_district_buildings.txt b/common/buildings/resource_district_buildings/copper_district_buildings.txt new file mode 100644 index 000000000..1738f3400 --- /dev/null +++ b/common/buildings/resource_district_buildings/copper_district_buildings.txt @@ -0,0 +1,1134 @@ +copper_freeminers_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_copper } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_copper_production_add = minor_copper_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = copper_freeminers_2 + type_icon = "resource_buildings/copper_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_copper } + ai_resource_new_building_modifier = yes + } + +} + +copper_freeminers_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_copper } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_copper_production_add = minor_copper_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = copper_freeminers_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_copper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +copper_freeminers_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_copper } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_copper_production_add = minor_copper_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_copper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Main Building is Mine_1 + +bronze_artisan_workshop_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bronze_artisan_workshop_2 + type_icon = "resource_buildings/bronze_artisan_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +bronze_artisan_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bronze_artisan_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +bronze_artisan_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bronze_artisan_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +bronze_artisan_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_6_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bronze_artisan_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +bronze_artisan_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_7_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +bell_foundry_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bell_foundry_2 + type_icon = "resource_buildings/bell_foundry.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +bell_foundry_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = bell_foundry_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +bell_foundry_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + has_building_or_higher = mine_tier_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_copper + amount = metal_resource_need + modifiers = { + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Cannons + +artillery_works_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + building_gunpowder_trigger = yes + OR = { + has_building_or_higher = bell_foundry_3 + has_building_or_higher = powder_mills_3 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + #Cannons & Cannon Balls + trade_good_need = { + trade_good = trade_good_copper + amount = massive_metal_need + modifiers = { + province_modifier = { + stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_1 + } + } + } + on_complete = { + } + next_building = artillery_works_2 + type_icon = "resource_buildings/artillery_works.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +artillery_works_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + building_gunpowder_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + #Cannons + trade_good_need = { + trade_good = trade_good_copper + amount = massive_metal_need + modifiers = { + province_modifier = { + stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_2 + } + } + } + on_complete = { + } + next_building = artillery_works_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +artillery_works_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + building_gunpowder_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + #Cannons + trade_good_need = { + trade_good = trade_good_copper + amount = massive_metal_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_3 + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Mint + +#Copper, Silver or Gold + +mint_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + } + } + can_construct_showing_failures_only = { + mint_building_unlock_early_medieval_trigger = yes + custom_tooltip = { + text = only_one_mint_tt + NOT = { has_building_or_higher = bureaucratic_mint_1 } + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = 0.01 + } + #Copper Coins + trade_good_need = { + trade_good = trade_good_copper + amount = metal_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = normal_building_maa_maintenance_tier_1 + } + } + } + #Silver Coins + trade_good_need = { + trade_good = trade_good_silver + amount = metal_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_high_modifier = normal_building_maa_maintenance_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_silver + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_silver_tribal + } + } + } + #Gold Coins + trade_good_need = { + trade_good = trade_good_gold + amount = metal_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_gold + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_gold_tribal + } + } + } + on_complete = { + } + next_building = mint_2 + type_icon = "duchy_buildings/tax_assessor.dds" + ai_value = { + base = 10.7 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +mint_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_currency_03 } + custom_tooltip = { + text = only_one_mint_tt + NOT = { has_building_or_higher = bureaucratic_mint_1 } + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = 0.02 + } + #Copper Coins + trade_good_need = { + trade_good = trade_good_copper + amount = metal_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = normal_building_maa_maintenance_tier_1 + } + } + } + #Silver Coins + trade_good_need = { + trade_good = trade_good_silver + amount = metal_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_maintenance_high_modifier = normal_building_maa_maintenance_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_silver + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_silver_tribal + } + } + } + #Gold Coins + trade_good_need = { + trade_good = trade_good_gold + amount = metal_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_gold + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_gold_tribal + } + } + } + on_complete = { + } + next_building = mint_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +mint_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_currency_03 } + custom_tooltip = { + text = only_one_mint_tt + NOT = { has_building_or_higher = bureaucratic_mint_1 } + } + } + show_disabled = yes + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = 0.03 + } + #Copper Coins + trade_good_need = { + trade_good = trade_good_copper + amount = metal_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = normal_building_maa_maintenance_tier_1 + } + } + } + #Silver Coins + trade_good_need = { + trade_good = trade_good_silver + amount = metal_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_maintenance_high_modifier = normal_building_maa_maintenance_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_silver + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_silver_tribal + } + } + } + #Gold Coins + trade_good_need = { + trade_good = trade_good_gold + amount = metal_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_gold + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_gold_tribal + } + } + } + on_complete = { + } + next_building = mint_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +mint_4 = { + + construction_time = construction_time_2_years + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + building_commerce_late_medieval_trigger = yes + custom_tooltip = { + text = only_one_mint_tt + NOT = { has_building_or_higher = bureaucratic_mint_1 } + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = 0.04 + } + #Copper Coins + trade_good_need = { + trade_good = trade_good_copper + amount = metal_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = normal_building_maa_maintenance_tier_1 + } + } + } + #Silver Coins + trade_good_need = { + trade_good = trade_good_silver + amount = metal_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_maintenance_high_modifier = normal_building_maa_maintenance_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_silver + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_silver_tribal + } + } + } + #Gold Coins + trade_good_need = { + trade_good = trade_good_gold + amount = metal_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_gold + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_gold_tribal + } + } + } + on_complete = { + } + next_building = mint_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +mint_5 = { + + construction_time = construction_time_3_years + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + building_commerce_late_medieval_trigger = yes + custom_tooltip = { + text = only_one_mint_tt + NOT = { has_building_or_higher = bureaucratic_mint_1 } + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = 0.05 + } + #Copper Coins + trade_good_need = { + trade_good = trade_good_copper + amount = metal_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = normal_building_maa_maintenance_tier_1 + } + } + } + #Silver Coins + trade_good_need = { + trade_good = trade_good_silver + amount = metal_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_maintenance_high_modifier = normal_building_maa_maintenance_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_silver + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_silver_tribal + } + } + } + #Gold Coins + trade_good_need = { + trade_good = trade_good_gold + amount = metal_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = tax_per_gold + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = tax_per_gold_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/cotton_district_buildings.txt b/common/buildings/resource_district_buildings/cotton_district_buildings.txt new file mode 100644 index 000000000..d83a326ed --- /dev/null +++ b/common/buildings/resource_district_buildings/cotton_district_buildings.txt @@ -0,0 +1,2424 @@ +minor_cotton_fields_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + NOT = { + has_building_or_higher = cotton_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_cotton_production_add = minor_cotton_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = minor_cotton_fields_2 + type_icon = "resource_buildings/cotton_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_new_building_modifier = yes + } +} + +minor_cotton_fields_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + NOT = { + has_building_or_higher = cotton_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_cotton_production_add = minor_cotton_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = minor_cotton_fields_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +minor_cotton_fields_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + NOT = { + has_building_or_higher = cotton_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_cotton_production_add = minor_cotton_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +cotton_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_cotton_production_add = cotton_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = cotton_resource_building_2 + type_icon = "district_buildings/cotton_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_new_building_modifier = yes + } +} + +cotton_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_cotton_production_add = cotton_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = cotton_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +cotton_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_cotton_production_add = cotton_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = cotton_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +cotton_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_cotton_production_add = cotton_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = cotton_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +cotton_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_cotton_production_add = cotton_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = cotton_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +cotton_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_cotton_production_add = cotton_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = cotton_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +cotton_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cotton_production_add = cotton_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = cotton_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +cotton_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cotton_production_add = cotton_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = cotton_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +cotton_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cotton_production_add = cotton_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = cotton_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +cotton_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_cotton } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_cotton_production_add = cotton_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_cotton_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_cotton_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +textiles_cotton_building_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1_tribal + } + + market_modifier = { + trade_good_cotton_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_cotton_building_2 + + type_icon = "resource_buildings/textile_weavery.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +textiles_cotton_building_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2_tribal + } + + market_modifier = { + trade_good_cotton_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_cotton_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +textiles_cotton_building_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3_tribal + } + + market_modifier = { + trade_good_cotton_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_cotton_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +textiles_cotton_building_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4_tribal + } + + market_modifier = { + trade_good_cotton_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_cotton_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +textiles_cotton_building_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5_tribal + } + + market_modifier = { + trade_good_cotton_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +wickmaker_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = wickmaker_2 + type_icon = "resource_buildings/wickmaker.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +wickmaker_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = wickmaker_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +wickmaker_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = wickmaker_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +wickmaker_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = wickmaker_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +wickmaker_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wickmaker_artisan_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +quilting_workshop_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } + on_complete = { + } + next_building = quilting_workshop_2 + type_icon = "resource_buildings/quilting_workshop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +quilting_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } + on_complete = { + } + next_building = quilting_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +quilting_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } + on_complete = { + } + next_building = quilting_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +quilting_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } + on_complete = { + } + next_building = quilting_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +quilting_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = quilting_workshop_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +cottonseed_mill_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_cotton_production_mult = cottonseed_mill_cotton_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = cottonseed_mill_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_new_building_modifier = yes + } + +} + +cottonseed_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_cotton_production_mult = cottonseed_mill_cotton_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = cottonseed_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cottonseed_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_cotton_production_mult = cottonseed_mill_cotton_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = cottonseed_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cottonseed_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_cotton_production_mult = cottonseed_mill_cotton_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + next_building = cottonseed_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cottonseed_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_cotton_production_mult = cottonseed_mill_cotton_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = cottonseed_mill_agricultural_tax_per_cotton_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +mixed_fabric_weaver_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_textiles_production_mult = mixed_fabric_weaver_textiles_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } + on_complete = { + } + next_building = mixed_fabric_weaver_2 + type_icon = "resource_buildings/leather_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } + +} + +mixed_fabric_weaver_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_textiles_production_mult = mixed_fabric_weaver_textiles_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } + on_complete = { + } + next_building = mixed_fabric_weaver_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +mixed_fabric_weaver_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_textiles_production_mult = mixed_fabric_weaver_textiles_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } + on_complete = { + } + next_building = mixed_fabric_weaver_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +mixed_fabric_weaver_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_textiles_production_mult = mixed_fabric_weaver_textiles_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } + on_complete = { + } + next_building = mixed_fabric_weaver_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +mixed_fabric_weaver_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_textiles_production_mult = mixed_fabric_weaver_textiles_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/dyes_district_buildings.txt b/common/buildings/resource_district_buildings/dyes_district_buildings.txt new file mode 100644 index 000000000..aee59e43c --- /dev/null +++ b/common/buildings/resource_district_buildings/dyes_district_buildings.txt @@ -0,0 +1,1939 @@ +dyes_local_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_dyes } + NOT = { + has_building_or_higher = dyes_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_dyes_production_add = minor_dyes_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = dyes_local_2 + type_icon = "regular_buildings/local_dyes.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_new_building_modifier = yes + } +} + +dyes_local_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_dyes } + NOT = { + has_building_or_higher = dyes_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_dyes_production_add = minor_dyes_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = dyes_local_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +dyes_local_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_dyes } + NOT = { + has_building_or_higher = dyes_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_dyes_production_add = minor_dyes_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + + +dyes_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_dyes } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_dyes_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = dyes_resource_building_2 + type_icon = "district_buildings/dyes_district.dds" + + ai_value = { + base = 9 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_new_building_modifier = yes + } +} + +dyes_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_dyes_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = dyes_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +dyes_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_dyes_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = dyes_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +dyes_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_dyes_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = dyes_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +dyes_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_dyes_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = dyes_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +dyes_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_dyes_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = dyes_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +dyes_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_dyes_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = dyes_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +dyes_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_dyes_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = dyes_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +dyes_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_dyes_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = dyes_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +dyes_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_dyes_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_dyes_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_dyes_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +lake_pigment_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_books_paper_production_mult = lake_pigment_books_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + artisan_tax_mult = lake_pigment_artisan_tax_mult_per_alum_need + } + } + } + on_complete = { + } + next_building = lake_pigment_workshop_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +lake_pigment_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_books_paper_production_mult = lake_pigment_books_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + artisan_tax_mult = lake_pigment_artisan_tax_mult_per_alum_need + } + } + } + on_complete = { + } + next_building = lake_pigment_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +lake_pigment_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_books_paper_production_mult = lake_pigment_books_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + artisan_tax_mult = lake_pigment_artisan_tax_mult_per_alum_need + } + } + } + on_complete = { + } + next_building = lake_pigment_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +lake_pigment_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_books_paper_production_mult = lake_pigment_books_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + artisan_tax_mult = lake_pigment_artisan_tax_mult_per_alum_need + } + } + } + on_complete = { + } + next_building = lake_pigment_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +lake_pigment_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_books_paper_production_mult = lake_pigment_books_mult_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = lake_pigment_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + artisan_tax_mult = lake_pigment_artisan_tax_mult_per_alum_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +dyeing_pits_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_add = dyeing_pits_textiles_output_per_fabrics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyeing_pits_textiles_mult_per_alum_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need_tribal + } + } + } + on_complete = { + } + next_building = dyeing_pits_2 + type_icon = "resource_buildings/dyes_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } + +} + +dyeing_pits_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = dyeing_pits_textiles_output_per_fabrics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyeing_pits_textiles_mult_per_alum_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need_tribal + } + } + } + on_complete = { + } + next_building = dyeing_pits_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +dyeing_pits_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = dyeing_pits_textiles_output_per_fabrics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyeing_pits_textiles_mult_per_alum_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need_tribal + } + } + } + on_complete = { + } + next_building = dyeing_pits_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +dyeing_pits_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = dyeing_pits_textiles_output_per_fabrics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyeing_pits_textiles_mult_per_alum_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need_tribal + } + } + } + on_complete = { + } + next_building = dyeing_pits_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +dyeing_pits_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_dyes_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = dyeing_pits_textiles_output_per_fabrics_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyeing_pits_textiles_mult_per_alum_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyeing_pits_artisan_tax_per_alum_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +dyes_packing_warehouse_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_1_tribal + } + market_modifier = { + trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_dyes_production_mult = dyes_packing_warehouse_dyes_mult_per_hemp_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need_tribal + } + } + } + on_complete = { + } + next_building = dyes_packing_warehouse_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_new_building_modifier = yes + } + +} + +dyes_packing_warehouse_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_2_tribal + } + market_modifier = { + trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_2 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_dyes_production_mult = dyes_packing_warehouse_dyes_mult_per_hemp_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need_tribal + } + } + } + on_complete = { + } + next_building = dyes_packing_warehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +dyes_packing_warehouse_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_3_tribal + } + market_modifier = { + trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_3 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_dyes_production_mult = dyes_packing_warehouse_dyes_mult_per_hemp_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need_tribal + } + } + } + on_complete = { + } + next_building = dyes_packing_warehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +dyes_packing_warehouse_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_4_tribal + } + market_modifier = { + trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_4 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_dyes_production_mult = dyes_packing_warehouse_dyes_mult_per_hemp_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need_tribal + } + } + } + on_complete = { + } + next_building = dyes_packing_warehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +dyes_packing_warehouse_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_tier_5_tribal + } + market_modifier = { + trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_5 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_dyes_production_mult = dyes_packing_warehouse_dyes_mult_per_hemp_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = dyes_packing_warehouse_agricultural_tax_per_hemp_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +illumination_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + character_modifier = { + monthly_prestige = illumination_workshop_prestige_tier_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = illumination_workshop_books_output_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + } + next_building = illumination_workshop_2 + type_icon = "duchy_buildings/examination_hall.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + +} + +illumination_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + character_modifier = { + monthly_prestige = illumination_workshop_prestige_tier_2 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = illumination_workshop_books_output_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + } + next_building = illumination_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +illumination_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + character_modifier = { + monthly_prestige = illumination_workshop_prestige_tier_3 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = illumination_workshop_books_output_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + } + next_building = illumination_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +illumination_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + character_modifier = { + monthly_prestige = illumination_workshop_prestige_tier_4 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = illumination_workshop_books_output_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + } + next_building = illumination_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +illumination_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + character_modifier = { + monthly_prestige = illumination_workshop_prestige_tier_5 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = illumination_workshop_books_output_per_dyes_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = illumination_workshop_artisan_tax_per_dyes_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/fish_district_buildings.txt b/common/buildings/resource_district_buildings/fish_district_buildings.txt new file mode 100644 index 000000000..338291816 --- /dev/null +++ b/common/buildings/resource_district_buildings/fish_district_buildings.txt @@ -0,0 +1,2562 @@ +fishing_villages_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fish } + NOT = { + has_building_or_higher = fish_resource_building_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_fish_production_add = minor_fish_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_1_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + on_complete = { + } + next_building = fishing_villages_2 + type_icon = "resource_buildings/fishing_villages.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +fishing_villages_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fish } + NOT = { + has_building_or_higher = fish_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_maritime_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_fish_production_add = minor_fish_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_2_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + on_complete = { + } + next_building = fishing_villages_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +fishing_villages_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fish } + NOT = { + has_building_or_higher = fish_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_maritime_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_fish_production_add = minor_fish_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = secondary_resource_building_income_3_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +fish_resource_building_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fish } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_1_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_1_tradition_tax_bonus + } + + on_complete = { + } + next_building = fish_resource_building_2 + type_icon = "district_buildings/fishery_district.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +fish_resource_building_2 = { + + construction_time = construction_time_9_months + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_2_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_2_tradition_tax_bonus + } + + next_building = fish_resource_building_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + +} + +fish_resource_building_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fish } + } + can_construct_showing_failures_only = { + building_maritime_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + building_slots_for_host_district = 2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_3_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_3_tradition_tax_bonus + } + + next_building = fish_resource_building_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + +} + +fish_resource_building_4 = { + + construction_time = construction_time_2_years + can_construct_showing_failures_only = { + building_maritime_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + show_disabled = yes + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_4_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_4_tradition_tax_bonus + } + + next_building = fish_resource_building_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + +} + +fish_resource_building_5 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_5_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_5_tradition_tax_bonus + } + + next_building = fish_resource_building_6 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + +} + +fish_resource_building_6 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_6_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_6_tradition_tax_bonus + } + + next_building = fish_resource_building_7 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + +} + +fish_resource_building_7 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_7_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_7_tradition_tax_bonus + } + + next_building = fish_resource_building_8 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + +} + +fish_resource_building_8 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_8_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_8_tradition_tax_bonus + } + + next_building = fish_resource_building_9 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + +} + +fish_resource_building_9 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_9_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_9_tradition_tax_bonus + } + + next_building = fish_resource_building_10 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + +} + +fish_resource_building_10 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_maritime_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fish_production_mult = 0.25 + } + #Fish + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + trade_good_fish_production_add = tier_10_main_resource + } + market_terrain_modifier = { + terrain = taiga + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + market_culture_modifier = { + parameter = northern_salt_curing + trade_good_salt_sell_price_mult = northern_fish_salt_price_mult + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fish_production_mult = 0.1 + trade_good_gems_production_mult = 0.1 + monthly_maritime_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = fishermen_productivity_bonus + monthly_maritime_tax = fishermen_tier_10_tradition_tax_bonus + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + +} + +#Preserving - Fermenting, Lutefisk, etc + +#Salthouse + +#Pearl Diving Specialization + +# + +#Fishmarket + +fish_saltery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_1_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = fish_saltery_2 + type_icon = "regular_buildings/victualing_depots.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +fish_saltery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_2_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = fish_saltery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +fish_saltery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_3_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = fish_saltery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +fish_saltery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_4_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = fish_saltery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +fish_saltery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_saltery_income_tier_5_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +netmakers_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_1_tribal + } + market_modifier = { + trade_good_hemp_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = netmakers_fish_mult_per_fibre_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need_tribal + } + } + } + on_complete = { + } + next_building = netmakers_2 + type_icon = "regular_buildings/netmakers.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +netmakers_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_2_tribal + } + market_modifier = { + trade_good_hemp_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = netmakers_fish_mult_per_fibre_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need_tribal + } + } + } + on_complete = { + } + next_building = netmakers_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +netmakers_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_3_tribal + } + market_modifier = { + trade_good_hemp_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = netmakers_fish_mult_per_fibre_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need_tribal + } + } + } + on_complete = { + } + next_building = netmakers_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +netmakers_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_4_tribal + } + market_modifier = { + trade_good_hemp_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = netmakers_fish_mult_per_fibre_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need_tribal + } + } + } + on_complete = { + } + next_building = netmakers_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +netmakers_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_income_tier_5_tribal + } + market_modifier = { + trade_good_hemp_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = netmakers_fish_mult_per_fibre_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = netmakers_maritime_tax_per_fibre_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +fish_oil_vats_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = fish_oil_vats_2 + type_icon = "resource_buildings/fish_oil_vats.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +fish_oil_vats_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 4 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = fish_oil_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +fish_oil_vats_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = fish_oil_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +fish_oil_vats_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = fish_oil_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +fish_oil_vats_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = fish_oil_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +glue_cauldrons_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_category_books_production_mult = glue_cauldrons_production_mult_tier_1 + trade_category_carpentry_supplies_production_mult = glue_cauldrons_production_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = glue_cauldrons_2 + type_icon = "resource_buildings/glue_cauldrons.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +glue_cauldrons_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_category_books_production_mult = glue_cauldrons_production_mult_tier_2 + trade_category_carpentry_supplies_production_mult = glue_cauldrons_production_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = glue_cauldrons_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +glue_cauldrons_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_category_books_production_mult = glue_cauldrons_production_mult_tier_3 + trade_category_carpentry_supplies_production_mult = glue_cauldrons_production_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = glue_cauldrons_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +glue_cauldrons_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_category_books_production_mult = glue_cauldrons_production_mult_tier_4 + trade_category_carpentry_supplies_production_mult = glue_cauldrons_production_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = glue_cauldrons_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +glue_cauldrons_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_category_books_production_mult = glue_cauldrons_production_mult_tier_5 + trade_category_carpentry_supplies_production_mult = glue_cauldrons_production_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_cauldrons_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = glue_maritime_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +garum_vats_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_pillar = heritage_byzantine } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + character_modifier = { + monthly_prestige = garum_prestige_tier_1 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = garum_vats_2 + type_icon = "district_buildings/fishery_district.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +garum_vats_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 6 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_pillar = heritage_byzantine } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + character_modifier = { + monthly_prestige = garum_prestige_tier_2 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = garum_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +garum_vats_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_pillar = heritage_byzantine } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + character_modifier = { + monthly_prestige = garum_prestige_tier_3 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = garum_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +garum_vats_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 8 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_pillar = heritage_byzantine } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + character_modifier = { + monthly_prestige = garum_prestige_tier_4 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + next_building = garum_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +garum_vats_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_pillar = heritage_byzantine } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + character_modifier = { + monthly_prestige = garum_prestige_tier_5 + } + trade_good_need = { + trade_good = trade_good_fish + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garum_artisan_tax_per_fish_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +pearl_fishery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + county = { pearl_fishing_banks_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_gems_production_add = pearl_fishery_gems_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_1_tribal + } + on_complete = { + } + next_building = pearl_fishery_2 + type_icon = "resource_buildings/jeweller.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_income_production_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_new_building_modifier = yes + } + +} + +pearl_fishery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { pearl_fishing_banks_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_gems_production_add = pearl_fishery_gems_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_2_tribal + } + on_complete = { + } + next_building = pearl_fishery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_income_production_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +pearl_fishery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { pearl_fishing_banks_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_gems_production_add = pearl_fishery_gems_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_3_tribal + } + on_complete = { + } + next_building = pearl_fishery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_income_production_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +pearl_fishery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { pearl_fishing_banks_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_gems_production_add = pearl_fishery_gems_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_4_tribal + } + on_complete = { + } + next_building = pearl_fishery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_income_production_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +pearl_fishery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { pearl_fishing_banks_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_gems_production_add = pearl_fishery_gems_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = pearl_fishery_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_income_production_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/flax_district_buildings.txt b/common/buildings/resource_district_buildings/flax_district_buildings.txt new file mode 100644 index 000000000..b73a2024b --- /dev/null +++ b/common/buildings/resource_district_buildings/flax_district_buildings.txt @@ -0,0 +1,1908 @@ +local_flax_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + NOT = { + has_building_or_higher = flax_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_flax_production_add = minor_flax_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = local_flax_2 + type_icon = "regular_buildings/local_flax.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_new_building_modifier = yes + } +} + +local_flax_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + NOT = { + has_building_or_higher = flax_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_flax_production_add = minor_flax_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = local_flax_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +local_flax_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + NOT = { + has_building_or_higher = flax_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_flax_production_add = minor_flax_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +flax_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_flax_production_add = flax_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = flax_resource_building_2 + type_icon = "district_buildings/flax_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_new_building_modifier = yes + } +} + +flax_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_flax_production_add = flax_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = flax_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +flax_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_flax_production_add = flax_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = flax_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +flax_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_flax_production_add = flax_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = flax_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +flax_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_flax_production_add = flax_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = flax_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +flax_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_flax_production_add = flax_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = flax_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +flax_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_flax_production_add = flax_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = flax_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +flax_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_flax_production_add = flax_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = flax_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +flax_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_flax_production_add = flax_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = flax_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +flax_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_flax } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_flax_production_add = flax_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_flax_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_flax_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_flax } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +textiles_flax_building_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1_tribal + } + + market_modifier = { + trade_good_flax_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_flax_building_2 + + type_icon = "resource_buildings/textile_weavery.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +textiles_flax_building_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2_tribal + } + + market_modifier = { + trade_good_flax_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_flax_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +textiles_flax_building_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3_tribal + } + + market_modifier = { + trade_good_flax_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_flax_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +textiles_flax_building_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4_tribal + } + + market_modifier = { + trade_good_flax_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_flax_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +textiles_flax_building_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5_tribal + } + + market_modifier = { + trade_good_flax_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +linseed_oil_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + + trade_good_need = { #Raw Material + trade_good = trade_good_flax + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_cattle_production_mult = linseed_oil_cattle_mult_per_flax_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + } + } + + next_building = linseed_oil_2 + type_icon = "resource_buildings/breaking_mill.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } +} +linseed_oil_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + + trade_good_need = { #Raw Material + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_cattle_production_mult = linseed_oil_cattle_mult_per_flax_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + } + } + + next_building = linseed_oil_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +linseed_oil_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + + trade_good_need = { #Raw Material + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cattle_production_mult = linseed_oil_cattle_mult_per_flax_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + } + } + + next_building = linseed_oil_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +linseed_oil_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + + trade_good_need = { #Raw Material + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_cattle_production_mult = linseed_oil_cattle_mult_per_flax_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + } + } + + next_building = linseed_oil_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +linseed_oil_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + + trade_good_need = { #Raw Material + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_cattle_production_mult = linseed_oil_cattle_mult_per_flax_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + } + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +varnishing_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = linseed_oil_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need_tribal + } + } + } + on_complete = { + } + next_building = varnishing_workshop_2 + type_icon = "resource_buildings/lacquerware_workshop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +varnishing_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = linseed_oil_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need_tribal + } + } + } + on_complete = { + } + next_building = varnishing_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +varnishing_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = linseed_oil_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need_tribal + } + } + } + on_complete = { + } + next_building = varnishing_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +varnishing_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = linseed_oil_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need_tribal + } + } + } + on_complete = { + } + next_building = varnishing_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +varnishing_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = linseed_oil_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = varnishing_workshop_artisan_tax_per_carpentry_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + diff --git a/common/buildings/resource_district_buildings/fruit_district_buildings.txt b/common/buildings/resource_district_buildings/fruit_district_buildings.txt new file mode 100644 index 000000000..cfd9186c8 --- /dev/null +++ b/common/buildings/resource_district_buildings/fruit_district_buildings.txt @@ -0,0 +1,2117 @@ +fruit_gardens_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fruit } + NOT = { + has_building_or_higher = fruit_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_fruit_production_add = minor_fruit_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = fruit_gardens_2 + type_icon = "resource_buildings/fruit_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +fruit_distillery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = fruit_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +fruit_distillery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = fruit_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +fruit_distillery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = fruit_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +fruit_distillery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = fruit_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +fruit_distillery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +fruit_gardens_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fruit } + NOT = { + has_building_or_higher = fruit_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_fruit_production_add = minor_fruit_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = fruit_gardens_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +fruit_gardens_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fruit } + NOT = { + has_building_or_higher = fruit_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_fruit_production_add = minor_fruit_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +fruit_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_fruit } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_fruit_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = fruit_resource_building_2 + type_icon = "district_buildings/fruit_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +fruit_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_fruit_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = fruit_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +fruit_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_fruit_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = fruit_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +fruit_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_fruit_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = fruit_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +fruit_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_fruit_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = fruit_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +fruit_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_fruit_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = fruit_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +fruit_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_fruit_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = fruit_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +fruit_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_fruit_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = fruit_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +fruit_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_fruit_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = fruit_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +fruit_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_fruit_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_fruit_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_fruit_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +cider_brewery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 1 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 1 + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = cider_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + +} + +cider_brewery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 2 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 2 + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = cider_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cider_brewery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 3 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 3 + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = cider_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cider_brewery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 4 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 4 + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = cider_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cider_brewery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 5 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 5 + } + market_modifier = { + trade_good_fruit_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +drying_terraces_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_fruit_production_mult = drying_terraces_fruit_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_1_tribal + } + market_modifier = { + trade_good_fruit_buy_price_mult = low_buy_price_reduction_tier_1 + } + on_complete = { + } + next_building = drying_terraces_2 + type_icon = "regular_buildings/hill_farms.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +drying_terraces_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_fruit_production_mult = drying_terraces_fruit_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_2_tribal + } + market_modifier = { + trade_good_fruit_buy_price_mult = low_buy_price_reduction_tier_2 + } + on_complete = { + } + next_building = drying_terraces_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +drying_terraces_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_fruit_production_mult = drying_terraces_fruit_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_3_tribal + } + market_modifier = { + trade_good_fruit_buy_price_mult = low_buy_price_reduction_tier_3 + } + on_complete = { + } + next_building = drying_terraces_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +drying_terraces_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_fruit_production_mult = drying_terraces_fruit_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_4_tribal + } + market_modifier = { + trade_good_fruit_buy_price_mult = low_buy_price_reduction_tier_4 + } + on_complete = { + } + next_building = drying_terraces_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +drying_terraces_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_fruit_production_mult = drying_terraces_fruit_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = drying_terraces_agricultural_tax_tier_5_tribal + } + market_modifier = { + trade_good_fruit_buy_price_mult = low_buy_price_reduction_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +preserved_fruit_workshops_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + modifiers = { + province_modifier = { + food_supply_add = preserved_fruit_food_supply_per_fruit_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need_tribal + } + } + } + on_complete = { + } + next_building = preserved_fruit_workshops_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +preserved_fruit_workshops_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + food_supply_add = preserved_fruit_food_supply_per_fruit_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need_tribal + } + } + } + on_complete = { + } + next_building = preserved_fruit_workshops_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +preserved_fruit_workshops_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + food_supply_add = preserved_fruit_food_supply_per_fruit_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need_tribal + } + } + } + on_complete = { + } + next_building = preserved_fruit_workshops_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +preserved_fruit_workshops_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + food_supply_add = preserved_fruit_food_supply_per_fruit_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need_tribal + } + } + } + on_complete = { + } + next_building = preserved_fruit_workshops_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +preserved_fruit_workshops_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_workshops_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + food_supply_add = preserved_fruit_food_supply_per_fruit_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = preserved_fruit_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = preserved_fruit_artisan_tax_per_sugar_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +syrup_boiling_vats_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + potential_trade_good = trade_good_fruit + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + potential_trade_good = trade_good_wine + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = syrup_boiling_vats_2 + type_icon = "resource_buildings/glue_cauldrons.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +syrup_boiling_vats_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + potential_trade_good = trade_good_fruit + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + potential_trade_good = trade_good_wine + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = syrup_boiling_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +syrup_boiling_vats_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + potential_trade_good = trade_good_fruit + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + potential_trade_good = trade_good_wine + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = syrup_boiling_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +syrup_boiling_vats_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + potential_trade_good = trade_good_fruit + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + potential_trade_good = trade_good_wine + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = syrup_boiling_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +syrup_boiling_vats_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_fruit + amount = basic_resource_need + potential_trade_good = trade_good_fruit + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_fruit_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + potential_trade_good = trade_good_wine + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = syrup_boiling_vats_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/furs_district_buildings.txt b/common/buildings/resource_district_buildings/furs_district_buildings.txt new file mode 100644 index 000000000..8f20a89e4 --- /dev/null +++ b/common/buildings/resource_district_buildings/furs_district_buildings.txt @@ -0,0 +1,2127 @@ +trappers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_furs } + NOT = { + has_building_or_higher = furs_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_furs_production_add = minor_furs_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = trappers_2 + type_icon = "regular_buildings/trappers.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_new_building_modifier = yes + } +} + +trappers_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_furs } + NOT = { + has_building_or_higher = furs_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_furs_production_add = minor_furs_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = trappers_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +trappers_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_furs } + NOT = { + has_building_or_higher = furs_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_furs_production_add = minor_furs_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +furs_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_furs } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_furs_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = furs_resource_building_2 + type_icon = "district_buildings/furs_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_new_building_modifier = yes + } +} + +furs_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_furs_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = furs_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +furs_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_furs_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = furs_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +furs_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_furs_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = furs_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +furs_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_furs_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = furs_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +furs_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_furs_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = furs_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +furs_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_furs_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = furs_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +furs_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_furs_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = furs_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +furs_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_furs_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + next_building = furs_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +furs_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_furs_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_furs_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_furs_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +furriers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } + + on_complete = { + + } + + next_building = furriers_2 + type_icon = "resource_buildings/furriers.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +furriers_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } + + on_complete = { + + } + + next_building = furriers_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +furriers_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } + + on_complete = { + + } + + next_building = furriers_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +furriers_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } + + on_complete = { + + } + + next_building = furriers_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +furriers_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +furs_trade_post_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_1_tribal + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = furs_trade_post_2 + type_icon = "regular_buildings/manor_buying_agent.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_new_building_modifier = yes + } + +} + +furs_trade_post_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_2_tribal + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = furs_trade_post_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +furs_trade_post_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_3_tribal + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silver + amount = precious_metals_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = furs_trade_post_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +furs_trade_post_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_4_tribal + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silver + amount = precious_metals_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = furs_trade_post_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +furs_trade_post_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_income_tier_5_tribal + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silver + amount = precious_metals_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_furs_production_mult = furs_trade_post_furs_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = furs_trade_post_woodland_tax_per_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +musk_processing_shop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_incense_production_add = musk_processing_shop_incense_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need_tribal + } + } + } + on_complete = { + } + next_building = musk_processing_shop_2 + type_icon = "resource_buildings/apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + +} + +musk_processing_shop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_incense_production_add = musk_processing_shop_incense_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need_tribal + } + } + } + on_complete = { + } + next_building = musk_processing_shop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +musk_processing_shop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_incense_production_add = musk_processing_shop_incense_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need_tribal + } + } + } + on_complete = { + } + next_building = musk_processing_shop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +musk_processing_shop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_incense_production_add = musk_processing_shop_incense_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need_tribal + } + } + } + on_complete = { + } + next_building = musk_processing_shop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +musk_processing_shop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_incense_production_add = musk_processing_shop_incense_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = musk_processing_shop_woodland_tax_per_furs_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +smokehouse_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_add = smokehouse_meat_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_mult = smokehouse_meat_mult_per_salt_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = smokehouse_2 + type_icon = "resource_buildings/meat_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + +} + +smokehouse_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_meat_production_add = smokehouse_meat_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_meat_production_mult = smokehouse_meat_mult_per_salt_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = smokehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +smokehouse_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_meat_production_add = smokehouse_meat_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_meat_production_mult = smokehouse_meat_mult_per_salt_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = smokehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +smokehouse_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_meat_production_add = smokehouse_meat_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_meat_production_mult = smokehouse_meat_mult_per_salt_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = smokehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +smokehouse_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_meat_production_add = smokehouse_meat_output_per_furs_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_furs_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_meat_production_mult = smokehouse_meat_mult_per_salt_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = smokehouse_woodland_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +noble_hunting_lodges_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_tier_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } + on_complete = { + } + next_building = noble_hunting_lodges_2 + type_icon = "duchy_buildings/royal_hunting_grounds.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +noble_hunting_lodges_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_tier_2 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } + on_complete = { + } + next_building = noble_hunting_lodges_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +noble_hunting_lodges_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_tier_3 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } + on_complete = { + } + next_building = noble_hunting_lodges_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +noble_hunting_lodges_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_tier_4 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } + on_complete = { + } + next_building = noble_hunting_lodges_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +noble_hunting_lodges_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_tier_5 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/gems_district_buildings.txt b/common/buildings/resource_district_buildings/gems_district_buildings.txt new file mode 100644 index 000000000..1057451cd --- /dev/null +++ b/common/buildings/resource_district_buildings/gems_district_buildings.txt @@ -0,0 +1,155 @@ +gem_freeminers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_gems_production_add = minor_gems_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = gem_freeminers_2 + type_icon = "resource_buildings/gems_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_new_building_modifier = yes + } +} + +gem_freeminers_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_gems_production_add = minor_gems_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = gem_freeminers_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +gem_freeminers_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_gems_production_add = minor_gems_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gems } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + diff --git a/common/buildings/resource_district_buildings/gold_district_buildings.txt b/common/buildings/resource_district_buildings/gold_district_buildings.txt new file mode 100644 index 000000000..18937773b --- /dev/null +++ b/common/buildings/resource_district_buildings/gold_district_buildings.txt @@ -0,0 +1,155 @@ +gold_freeminers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_gold_production_add = minor_gold_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = gold_freeminers_2 + type_icon = "resource_buildings/gold_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gold } + ai_resource_new_building_modifier = yes + } +} + +gold_freeminers_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_gold_production_add = minor_gold_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = gold_freeminers_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gold } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +gold_freeminers_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_gold_production_add = minor_gold_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_gold } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + diff --git a/common/buildings/resource_district_buildings/grain_district_buildings.txt b/common/buildings/resource_district_buildings/grain_district_buildings.txt new file mode 100644 index 000000000..25cfe3d7f --- /dev/null +++ b/common/buildings/resource_district_buildings/grain_district_buildings.txt @@ -0,0 +1,2998 @@ +#Mults: + +#Qanat: Up to 50% + +#Monsoon Water Management: Up to 50% + +#Wells + +#Secondary Resource grain Line - grain potential but other main building + +minor_grain_farms_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_grain } + NOT = { + has_building_or_higher = grain_resource_building_1 + } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_crop_rotation } + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_grain_production_add = minor_grain_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = minor_grain_farms_2 + type_icon = "resource_buildings/grain_buildings.dds" + ai_value = { + base = 10.3 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +minor_grain_farms_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_grain } + NOT = { + has_building_or_higher = grain_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_grain_production_add = minor_grain_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = minor_grain_farms_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +minor_grain_farms_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_grain } + NOT = { + has_building_or_higher = grain_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_grain_production_add = minor_grain_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Main Resource grain Line + +grain_resource_building_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_grain } + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_grain_production_add = grain_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_good_cattle_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + #No needs on first level + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + next_building = grain_resource_building_2 + type_icon = "district_buildings/grain_district.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +grain_resource_building_2 = { + + construction_time = construction_time_9_months + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + + province_modifier = { #Base increase + trade_good_grain_production_add = grain_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_2_main_income_tribal + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_good_cattle_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + next_building = grain_resource_building_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + +} + +grain_resource_building_3 = { + + construction_time = construction_time_1_year + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + + province_modifier = { #Base increase + trade_good_grain_production_add = grain_tier_3_main_resource #Up because of Crop Rotation + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_3_main_income_tribal + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_good_cattle_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 2 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 2 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_4 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + +} + +grain_resource_building_4 = { + + construction_time = construction_time_2_years + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_grain_production_add = grain_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 2 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 2 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_5 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + +} + +grain_resource_building_5 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_grain_production_add = grain_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_6 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + +} + +grain_resource_building_6 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_grain_production_add = grain_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_7 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + +} + +grain_resource_building_7 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_grain_production_add = grain_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 4 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 4 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_8 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + +} + +grain_resource_building_8 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_grain_production_add = grain_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 4 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 4 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_9 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + +} + +grain_resource_building_9 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_grain_production_add = grain_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { #First Need Fulfillment + trade_good = trade_good_iron #Heavy Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 5 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 5 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = grain_resource_building_10 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + +} + +grain_resource_building_10 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_grain_production_add = grain_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_grain_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_grain_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_iron #Plows + amount = metal_resource_need + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_iron_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_cattle #Oxen - Pulling the Plows + amount = low_resource_district_need + can_be_filled_multiple_times = 5 + not_culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden #Oxen or Horses, once we have the Heavy Plow + amount = low_resource_district_need + can_be_filled_multiple_times = 5 + culture_parameter = heavy_plow + modifiers = { + province_modifier = { + trade_good_grain_production_mult = grain_multiplier_per_beast_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + +} + +beer_brewery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 1 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 1 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = beer_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + +} + +beer_brewery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 2 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 2 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = beer_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +beer_brewery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 3 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 3 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = beer_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +beer_brewery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 4 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 4 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = beer_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +beer_brewery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 5 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 5 + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +grain_distillery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = grain_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +grain_distillery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = grain_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +grain_distillery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = grain_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +grain_distillery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = grain_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +grain_distillery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + market_modifier = { + trade_good_grain_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +biscuit_bakery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_1 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } + on_complete = { + } + next_building = biscuit_bakery_2 + type_icon = "regular_buildings/victualing_quarter.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +biscuit_bakery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_2 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } + on_complete = { + } + next_building = biscuit_bakery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +biscuit_bakery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_3 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } + on_complete = { + } + next_building = biscuit_bakery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +biscuit_bakery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_4 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } + on_complete = { + } + next_building = biscuit_bakery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +biscuit_bakery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_5 + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +straw_weavery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } + on_complete = { + } + next_building = straw_weavery_2 + type_icon = "resource_buildings/hemp_thatching.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +straw_weavery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } + on_complete = { + } + next_building = straw_weavery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +straw_weavery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } + on_complete = { + } + next_building = straw_weavery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +straw_weavery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } + on_complete = { + } + next_building = straw_weavery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +straw_weavery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = straw_weavery_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +pasta_mill_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_pasta_region = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_grain_production_mult = pasta_mill_grain_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_1_tribal + } + on_complete = { + } + next_building = pasta_mill_2 + type_icon = "old_buildings/watermills.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +pasta_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_pasta_region = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_grain_production_mult = pasta_mill_grain_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_2_tribal + } + on_complete = { + } + next_building = pasta_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +pasta_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_pasta_region = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_grain_production_mult = pasta_mill_grain_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_3_tribal + } + on_complete = { + } + next_building = pasta_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +pasta_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_pasta_region = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_grain_production_mult = pasta_mill_grain_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_4_tribal + } + on_complete = { + } + next_building = pasta_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +pasta_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_pasta_region = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_grain_production_mult = pasta_mill_grain_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = pasta_mill_agricultural_tax_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +bran_mill_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_grain_production_mult = bran_mill_grain_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_1_tribal + } + market_modifier = { + trade_good_grain_buy_price_mult = low_buy_price_reduction_tier_1 + } + on_complete = { + } + next_building = bran_mill_2 + type_icon = "old_buildings/windmills.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +bran_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_grain_production_mult = bran_mill_grain_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_2_tribal + } + market_modifier = { + trade_good_grain_buy_price_mult = low_buy_price_reduction_tier_2 + } + on_complete = { + } + next_building = bran_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +bran_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_grain_production_mult = bran_mill_grain_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_3_tribal + } + market_modifier = { + trade_good_grain_buy_price_mult = low_buy_price_reduction_tier_3 + } + on_complete = { + } + next_building = bran_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +bran_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_grain_production_mult = bran_mill_grain_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_4_tribal + } + market_modifier = { + trade_good_grain_buy_price_mult = low_buy_price_reduction_tier_4 + } + on_complete = { + } + next_building = bran_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +bran_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_grain_production_mult = bran_mill_grain_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = bran_mill_agricultural_tax_tier_5_tribal + } + market_modifier = { + trade_good_grain_buy_price_mult = low_buy_price_reduction_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +grain_stores_1 = { + + construction_time = construction_time_6_months + triggered_name = { + trigger = { + building_requirement_winter_region = yes + } + reference = "winter_stores_1" + } + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } + on_complete = { + } + next_building = grain_stores_2 + type_icon = "resource_buildings/fodder_stores.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +grain_stores_2 = { + + construction_time = construction_time_9_months + triggered_name = { + trigger = { + building_requirement_winter_region = yes + } + reference = "winter_stores_2" + } + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } + on_complete = { + } + next_building = grain_stores_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +grain_stores_3 = { + + construction_time = construction_time_1_year + triggered_name = { + trigger = { + building_requirement_winter_region = yes + } + reference = "winter_stores_3" + } + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } + on_complete = { + } + next_building = grain_stores_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +grain_stores_4 = { + + construction_time = construction_time_2_years + triggered_name = { + trigger = { + building_requirement_winter_region = yes + } + reference = "winter_stores_4" + } + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } + on_complete = { + } + next_building = grain_stores_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +grain_stores_5 = { + + construction_time = construction_time_3_years + triggered_name = { + trigger = { + building_requirement_winter_region = yes + } + reference = "winter_stores_5" + } + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = grain_stores_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +communal_bread_ovens_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = communal_bread_ovens_size_change_tier_1 + monthly_province_size_change_when_above_baseline_add = communal_bread_ovens_size_change_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } + on_complete = { + } + next_building = communal_bread_ovens_2 + type_icon = "resource_buildings/communal_bread_ovens.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +communal_bread_ovens_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = communal_bread_ovens_size_change_tier_2 + monthly_province_size_change_when_above_baseline_add = communal_bread_ovens_size_change_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } + on_complete = { + } + next_building = communal_bread_ovens_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +communal_bread_ovens_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = communal_bread_ovens_size_change_tier_3 + monthly_province_size_change_when_above_baseline_add = communal_bread_ovens_size_change_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } + on_complete = { + } + next_building = communal_bread_ovens_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +communal_bread_ovens_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = communal_bread_ovens_size_change_tier_4 + monthly_province_size_change_when_above_baseline_add = communal_bread_ovens_size_change_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } + on_complete = { + } + next_building = communal_bread_ovens_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +communal_bread_ovens_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = communal_bread_ovens_size_change_tier_5 + monthly_province_size_change_when_above_baseline_add = communal_bread_ovens_size_change_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = communal_bread_ovens_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + + #Granaries + #Popular Opinion for Grain diff --git a/common/buildings/resource_district_buildings/hemp_district_buildings.txt b/common/buildings/resource_district_buildings/hemp_district_buildings.txt new file mode 100644 index 000000000..26ada4d60 --- /dev/null +++ b/common/buildings/resource_district_buildings/hemp_district_buildings.txt @@ -0,0 +1,1919 @@ +local_hemp_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_hemp } + NOT = { + has_building_or_higher = hemp_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_hemp_production_add = minor_hemp_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = local_hemp_2 + type_icon = "resource_buildings/hemp_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_new_building_modifier = yes + } +} + +local_hemp_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_hemp } + NOT = { + has_building_or_higher = hemp_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_hemp_production_add = minor_hemp_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = local_hemp_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +local_hemp_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_hemp } + NOT = { + has_building_or_higher = hemp_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_hemp_production_add = minor_hemp_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +hemp_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_hemp } + } + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_hemp_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = hemp_resource_building_2 + type_icon = "district_buildings/hemp_district.dds" + + ai_value = { + base = 9 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_new_building_modifier = yes + } +} + +hemp_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_hemp_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = hemp_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +hemp_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_hemp_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = hemp_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +hemp_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_hemp_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = hemp_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +hemp_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_hemp_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = hemp_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +hemp_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_hemp_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = hemp_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +hemp_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_hemp_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = hemp_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +hemp_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_hemp_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = hemp_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +hemp_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_hemp_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = hemp_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +hemp_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_hemp_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_hemp_production_mult = 0.25 + } + + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_hemp_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +hemp_thatching_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_thatching_2 + type_icon = "resource_buildings/hemp_thatching.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +hemp_thatching_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_thatching_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +hemp_thatching_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_thatching_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +hemp_thatching_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_thatching_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +hemp_thatching_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +ropeworks_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_1_tribal + } + + market_modifier = { + trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need_tribal + } + } + } + on_complete = { + + } + + next_building = ropeworks_2 + type_icon = "resource_buildings/ropeworks.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +ropeworks_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_2_tribal + } + + market_modifier = { + trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need_tribal + } + } + } + on_complete = { + + } + + next_building = ropeworks_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ropeworks_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_3_tribal + } + + market_modifier = { + trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need_tribal + } + } + } + on_complete = { + + } + + next_building = ropeworks_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ropeworks_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_4_tribal + } + + market_modifier = { + trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need_tribal + } + } + } + on_complete = { + + } + + next_building = ropeworks_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +ropeworks_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_income_tier_5_tribal + } + + market_modifier = { + trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction + } + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ropeworks_artisan_tax_per_hemp_need_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +hemp_weaving_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_add = hemp_weaving_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + + } + + next_building = hemp_weaving_2 + type_icon = "resource_buildings/textile_weavery.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +hemp_weaving_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = hemp_weaving_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + + } + + next_building = hemp_weaving_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +hemp_weaving_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = hemp_weaving_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + + } + + next_building = hemp_weaving_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +hemp_weaving_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = hemp_weaving_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + + } + + next_building = hemp_weaving_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +hemp_weaving_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = hemp_weaving_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +hemp_naval_supplies_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_naval_supplies_2 + type_icon = "old_buildings/tradeport.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +hemp_naval_supplies_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_naval_supplies_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +hemp_naval_supplies_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_naval_supplies_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +hemp_naval_supplies_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } + on_complete = { + + } + + next_building = hemp_naval_supplies_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +hemp_naval_supplies_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + + + + + + + + + + + +breaking_mill_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_hemp_production_mult = breaking_mill_hemp_mult_tier_1 + agricultural_tax_mult = breaking_mill_agricultural_tax_mult_tier_1 + } + on_complete = { + + } + + next_building = breaking_mill_2 + type_icon = "resource_buildings/breaking_mill.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_new_building_modifier = yes + } +} + +breaking_mill_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + trade_good_hemp_production_mult = breaking_mill_hemp_mult_tier_2 + agricultural_tax_mult = breaking_mill_agricultural_tax_mult_tier_2 + } + on_complete = { + + } + + next_building = breaking_mill_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +breaking_mill_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + trade_good_hemp_production_mult = breaking_mill_hemp_mult_tier_3 + agricultural_tax_mult = breaking_mill_agricultural_tax_mult_tier_3 + } + on_complete = { + + } + + next_building = breaking_mill_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +breaking_mill_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + trade_good_hemp_production_mult = breaking_mill_hemp_mult_tier_4 + agricultural_tax_mult = breaking_mill_agricultural_tax_mult_tier_4 + } + on_complete = { + + } + + next_building = breaking_mill_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +breaking_mill_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + trade_good_hemp_production_mult = breaking_mill_hemp_mult_tier_5 + agricultural_tax_mult = breaking_mill_agricultural_tax_mult_tier_5 + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_hemp } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/honey_district_buildings.txt b/common/buildings/resource_district_buildings/honey_district_buildings.txt new file mode 100644 index 000000000..97b728325 --- /dev/null +++ b/common/buildings/resource_district_buildings/honey_district_buildings.txt @@ -0,0 +1,1580 @@ + +beehives_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_honey } + NOT = { + has_building_or_higher = honey_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_honey_production_add = minor_honey_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = beehives_2 + type_icon = "regular_buildings/beehives.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +beehives_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_honey } + NOT = { + has_building_or_higher = honey_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_honey_production_add = minor_honey_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = beehives_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +beehives_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_honey } + NOT = { + has_building_or_higher = honey_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_honey_production_add = minor_honey_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +honey_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_honey } + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_honey_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = honey_resource_building_2 + type_icon = "district_buildings/honey_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +honey_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_honey_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = honey_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +honey_resource_building_3 = { + construction_time = construction_time_1_year + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_honey_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = honey_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +honey_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_honey_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = honey_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +honey_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_honey_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = honey_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +honey_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_honey_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = honey_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +honey_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_honey_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = honey_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +honey_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_honey_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = honey_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +honey_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_honey_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = honey_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +honey_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_honey_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_honey_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_honey_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +#Honey Apothecaries +#Turns Honey into Medicaments +honey_apothecary_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_apothecary_2 + + type_icon = "resource_buildings/ointment_maker.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } +} + +honey_apothecary_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_apothecary_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +honey_apothecary_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_apothecary_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +honey_apothecary_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_apothecary_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +honey_apothecary_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_apothecary_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +honey_waxworks_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_1 + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_waxworks_2 + type_icon = "resource_buildings/wickmaker.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +honey_waxworks_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_2 + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_waxworks_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +honey_waxworks_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_3 + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_waxworks_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +honey_waxworks_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_4 + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need_tribal + } + } + } + + on_complete = { + + } + + next_building = honey_waxworks_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +honey_waxworks_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_5 + } + + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = honey_wax_artisan_income_per_honey_need_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +mead_brewery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + culture = { has_cultural_parameter = unlocks_mead_brewery } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_1_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 1 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 1 + } + market_modifier = { + trade_good_honey_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = mead_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + +} + +mead_brewery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + culture = { has_cultural_parameter = unlocks_mead_brewery } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_2_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 2 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 2 + } + market_modifier = { + trade_good_honey_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = mead_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +mead_brewery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + culture = { has_cultural_parameter = unlocks_mead_brewery } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_3_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 3 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 3 + } + market_modifier = { + trade_good_honey_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = mead_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +mead_brewery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + culture = { has_cultural_parameter = unlocks_mead_brewery } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_4_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 4 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 4 + } + market_modifier = { + trade_good_honey_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + next_building = mead_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +mead_brewery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + culture = { has_cultural_parameter = unlocks_mead_brewery } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = brewery_income_tier_5_tribal + } + province_culture_modifier = { + parameter = brewery_popular_opinion + popular_opinion_add = 5 + } + province_rite_modifier = { + parameter = ritual_brewing_popular_opinion + popular_opinion_add = 5 + } + market_modifier = { + trade_good_honey_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = brewery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_beer_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/horse_district_buildings.txt b/common/buildings/resource_district_buildings/horse_district_buildings.txt new file mode 100644 index 000000000..463dbb58c --- /dev/null +++ b/common/buildings/resource_district_buildings/horse_district_buildings.txt @@ -0,0 +1,1363 @@ +horse_grazing_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_horses } + NOT = { + has_building_or_higher = horses_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_horses_production_add = minor_horses_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = horse_grazing_2 + type_icon = "old_buildings/hillside_grazing.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } +} + +horse_grazing_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_horses } + NOT = { + has_building_or_higher = horses_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_horses_production_add = minor_horses_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = horse_grazing_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +horse_grazing_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_horses } + NOT = { + has_building_or_higher = horses_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_horses_production_add = minor_horses_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +horses_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_horses } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_horses_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.01 + levy_size = 0.01 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_1_tradition_tax_bonus + } + + on_complete = { + + } + + next_building = horses_resource_building_2 + type_icon = "district_buildings/horses_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } +} + +horses_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_horses_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.02 + levy_size = 0.02 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_2_tradition_tax_bonus + } + + next_building = horses_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +horses_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_horses_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.03 + levy_size = 0.03 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_3_tradition_tax_bonus + } + + next_building = horses_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +horses_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_horses_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.04 + levy_size = 0.04 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_4_tradition_tax_bonus + } + + next_building = horses_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +horses_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_horses_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.05 + levy_size = 0.05 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_5_tradition_tax_bonus + } + + next_building = horses_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +horses_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_horses_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.06 + levy_size = 0.06 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_6_tradition_tax_bonus + } + + next_building = horses_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +horses_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_horses_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.07 + levy_size = 0.07 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_7_tradition_tax_bonus + } + + next_building = horses_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +horses_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_horses_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.08 + levy_size = 0.08 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_8_tradition_tax_bonus + } + + next_building = horses_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +horses_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + + show_disabled = yes + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_horses_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.09 + levy_size = 0.09 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_9_tradition_tax_bonus + } + + next_building = horses_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +horses_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_horses_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_horses_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_horses_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.1 + levy_size = 0.1 + } + + province_culture_modifier = { + parameter = horse_breeder_productivity_bonus + monthly_agricultural_tax = horse_breeder_tier_10_tradition_tax_bonus + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +warhorse_training_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = warhorse_training_2 + type_icon = "duchy_buildings/jousting_lists.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +warhorse_training_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = warhorse_training_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +warhorse_training_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = warhorse_training_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +warhorse_training_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = warhorse_training_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +warhorse_training_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = warhorse_training_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +horse_studfarm_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + + } + + next_building = horse_studfarm_2 + type_icon = "resource_buildings/horse_studfarm.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } +} + +horse_studfarm_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + + } + + next_building = horse_studfarm_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +horse_studfarm_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + + } + + next_building = horse_studfarm_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +horse_studfarm_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + + } + + next_building = horse_studfarm_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +horse_studfarm_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/incense_district_buildings.txt b/common/buildings/resource_district_buildings/incense_district_buildings.txt new file mode 100644 index 000000000..b5b84af4e --- /dev/null +++ b/common/buildings/resource_district_buildings/incense_district_buildings.txt @@ -0,0 +1,1935 @@ +incense_harvester_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_incense } + NOT = { + has_building_or_higher = incense_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_incense_production_add = minor_incense_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = incense_harvester_2 + type_icon = "resource_buildings/incense_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } +} + +incense_harvester_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_incense } + NOT = { + has_building_or_higher = incense_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_incense_production_add = minor_incense_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = incense_harvester_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +incense_harvester_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_incense } + NOT = { + has_building_or_higher = incense_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_incense_production_add = minor_incense_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +incense_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_incense } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_incense_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = incense_resource_building_2 + type_icon = "district_buildings/incense_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } +} + +incense_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_incense_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = incense_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +incense_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_incense_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = incense_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +incense_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_incense_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = incense_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +incense_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_incense_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = incense_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +incense_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_incense_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = incense_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +incense_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_incense_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = incense_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +incense_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_incense_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = incense_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +incense_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_incense_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = incense_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +incense_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + #Potential for incense + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_incense_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_incense_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_incense_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +compound_perfumery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = compound_perfumery_2 + type_icon = "resource_buildings/apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +compound_perfumery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = compound_perfumery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +compound_perfumery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = compound_perfumery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +compound_perfumery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = compound_perfumery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +compound_perfumery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = compound_perfumery_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +incense_warehouse_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_incense_production_mult = incense_warehouse_incense_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_1_tribal + } + on_complete = { + } + next_building = incense_warehouse_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + +} + +incense_warehouse_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_incense_production_mult = incense_warehouse_incense_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_2_tribal + } + on_complete = { + } + next_building = incense_warehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +incense_warehouse_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_incense_production_mult = incense_warehouse_incense_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_3_tribal + } + on_complete = { + } + next_building = incense_warehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +incense_warehouse_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_incense_production_mult = incense_warehouse_incense_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_4_tribal + } + on_complete = { + } + next_building = incense_warehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +incense_warehouse_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_incense_production_mult = incense_warehouse_incense_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = incense_warehouse_agricultural_tax_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +incense_distillation_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_incense_production_mult = incense_distillation_incense_mult_per_spices_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_glass + amount = luxury_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need_tribal + } + } + } + on_complete = { + } + next_building = incense_distillation_workshop_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + +} + +incense_distillation_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_incense_production_mult = incense_distillation_incense_mult_per_spices_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_glass + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need_tribal + } + } + } + on_complete = { + } + next_building = incense_distillation_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +incense_distillation_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_incense_production_mult = incense_distillation_incense_mult_per_spices_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_glass + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need_tribal + } + } + } + on_complete = { + } + next_building = incense_distillation_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +incense_distillation_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_incense_production_mult = incense_distillation_incense_mult_per_spices_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_glass + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need_tribal + } + } + } + on_complete = { + } + next_building = incense_distillation_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +incense_distillation_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_incense_production_mult = incense_distillation_incense_mult_per_spices_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_spices_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_glass + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = incense_distillation_artisan_tax_per_glass_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +cosmetic_shop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = cosmetic_shop_2 + type_icon = "resource_buildings/cosmetic_shop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +cosmetic_shop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = cosmetic_shop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cosmetic_shop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = cosmetic_shop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cosmetic_shop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + next_building = cosmetic_shop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cosmetic_shop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cosmetic_shop_artisan_tax_per_incense_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/iron_district_buildings.txt b/common/buildings/resource_district_buildings/iron_district_buildings.txt new file mode 100644 index 000000000..1803beda1 --- /dev/null +++ b/common/buildings/resource_district_buildings/iron_district_buildings.txt @@ -0,0 +1,1162 @@ +iron_freeminers_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_iron_production_add = minor_iron_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = iron_freeminers_2 + type_icon = "resource_buildings/iron_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_new_building_modifier = yes + } + +} + +iron_freeminers_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_iron_production_add = minor_iron_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = iron_freeminers_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +iron_freeminers_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_iron_production_add = minor_iron_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Iron Side Buildings: + +blast_furnace_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 6 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_blast_furnaces } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_6_cost + province_modifier = { + trade_good_iron_production_mult = 0.2 #Increased output, Osmonds + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_1_tribal + } + on_complete = { + } + next_building = blast_furnace_2 + type_icon = "resource_buildings/blast_furnace.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_new_building_modifier = yes + } + +} + +blast_furnace_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_blast_furnaces } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_7_cost + province_modifier = { + trade_good_iron_production_mult = 0.4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_2_tribal + } + on_complete = { + } + next_building = blast_furnace_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +blast_furnace_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 8 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_blast_furnaces } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_8_cost + province_modifier = { + trade_good_iron_production_mult = 0.6 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_3_tribal + } + on_complete = { + } + next_building = blast_furnace_4 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +blast_furnace_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_blast_furnaces } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_9_cost + province_modifier = { + trade_good_iron_production_mult = 0.8 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_4_tribal + } + on_complete = { + } + next_building = blast_furnace_5 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +blast_furnace_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 10 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_blast_furnaces } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_10_cost + province_modifier = { + trade_good_iron_production_mult = 1.0 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Alternative to blast furnace, local - available earlier + +wind_furnace_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_wootz_steel } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_6_cost + province_modifier = { + trade_good_iron_production_mult = 0.2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_1_tribal + } + on_complete = { + } + next_building = wind_furnace_2 + type_icon = "old_buildings/wind_furnaces.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_new_building_modifier = yes + } + +} + +wind_furnace_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 4 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_wootz_steel } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_7_cost + province_modifier = { + trade_good_iron_production_mult = 0.4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_2_tribal + } + on_complete = { + } + next_building = wind_furnace_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +wind_furnace_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 6 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_wootz_steel } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_8_cost + province_modifier = { + trade_good_iron_production_mult = 0.6 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_3_tribal + } + on_complete = { + } + next_building = wind_furnace_4 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +wind_furnace_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 8 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_wootz_steel } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_9_cost + province_modifier = { + trade_good_iron_production_mult = 0.8 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_4_tribal + } + on_complete = { + } + next_building = wind_furnace_5 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +wind_furnace_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 10 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_10_cost + province_modifier = { + trade_good_iron_production_mult = 1.0 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = blast_furnace_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Iron into Gold, local modifiers from tools + +tool_smith_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + #Tools + market_modifier = { + trade_category_base_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_base_metals + amount = metal_resource_need + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = tool_smith_2 + type_icon = "regular_buildings/civic_projects.dds" + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +tool_smith_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income_tribal + } + #Tools + market_modifier = { + trade_category_base_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_base_metals + amount = metal_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = tool_smith_3 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +tool_smith_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income_tribal + } + #Tools + market_modifier = { + trade_category_base_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_base_metals + amount = metal_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = tool_smith_4 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +tool_smith_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income_tribal + } + #Tools + market_modifier = { + trade_category_base_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_base_metals + amount = metal_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = tool_smith_5 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +tool_smith_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income_tribal + } + #Tools + market_modifier = { + trade_category_base_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_base_metals + amount = metal_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Iron + +weapon_armor_smith_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + #Weapons + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = weapon_armor_smith_2 + type_icon = "resource_buildings/weapon_armor_smith.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +weapon_armor_smith_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income_tribal + } + #Weapons + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = weapon_armor_smith_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +weapon_armor_smith_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income_tribal + } + #Weapons + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = weapon_armor_smith_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +weapon_armor_smith_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income_tribal + } + #Weapons + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + next_building = weapon_armor_smith_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +weapon_armor_smith_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income_tribal + } + #Weapons + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_maa_damage_mult = normal_maa_damage_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/ivory_district_buildings.txt b/common/buildings/resource_district_buildings/ivory_district_buildings.txt new file mode 100644 index 000000000..ffd4965b1 --- /dev/null +++ b/common/buildings/resource_district_buildings/ivory_district_buildings.txt @@ -0,0 +1,1796 @@ +ivory_camp_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ivory } + NOT = { + has_building_or_higher = ivory_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_ivory_production_add = minor_ivory_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = ivory_camp_2 + type_icon = "resource_buildings/ivory_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_new_building_modifier = yes + } +} + +ivory_camp_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ivory } + NOT = { + has_building_or_higher = ivory_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_ivory_production_add = minor_ivory_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = ivory_camp_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ivory_camp_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ivory } + NOT = { + has_building_or_higher = ivory_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_ivory_production_add = minor_ivory_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ivory_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_ivory } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_ivory_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = ivory_resource_building_2 + type_icon = "district_buildings/ivory_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_new_building_modifier = yes + } +} + +ivory_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_ivory_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = ivory_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +ivory_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_ivory_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = ivory_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +ivory_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_ivory_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + next_building = ivory_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +ivory_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_ivory_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ivory_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +ivory_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_ivory_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ivory_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +ivory_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ivory_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ivory_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +ivory_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ivory_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + next_building = ivory_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +ivory_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ivory_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + next_building = ivory_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +ivory_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_ivory_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_ivory_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_ivory_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +#Temple Elephant Compound +#Uses Ivory to produce monthly piety +sacred_elephant_compound_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } + + on_complete = { + + } + + next_building = sacred_elephant_compound_2 + type_icon = "resource_buildings/sacred_elephant_compound.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +sacred_elephant_compound_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } + + on_complete = { + + } + + next_building = sacred_elephant_compound_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +sacred_elephant_compound_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } + + on_complete = { + + } + + next_building = sacred_elephant_compound_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +sacred_elephant_compound_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } + + on_complete = { + + } + + next_building = sacred_elephant_compound_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +sacred_elephant_compound_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + OR = { + county.faith.religion = religion:hinduism_religion + county.faith.religion = religion:buddhism_religion + county.faith.religion = religion:jainism_religion + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_religious_tax = sacred_elephant_compound_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#Military Elephant Compound +#Uses Ivory to reduce stationed elephant cavalry maintenance +military_elephant_compound_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = military_elephant_compound_2 + type_icon = "old_buildings/elephant_pens.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +military_elephant_compound_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = military_elephant_compound_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +military_elephant_compound_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = military_elephant_compound_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +military_elephant_compound_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + next_building = military_elephant_compound_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +military_elephant_compound_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = military_elephant_compound_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#Labor Elephants +#Uses Ivory to reduce district build costs in the county +ivory_labor_elephants_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } + + on_complete = { + + } + + next_building = ivory_labor_elephants_2 + type_icon = "resource_buildings/stone_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +ivory_labor_elephants_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } + + on_complete = { + + } + next_building = ivory_labor_elephants_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +ivory_labor_elephants_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } + + on_complete = { + + } + next_building = ivory_labor_elephants_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +ivory_labor_elephants_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } + + on_complete = { + + } + next_building = ivory_labor_elephants_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +ivory_labor_elephants_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = ivory_labor_elephants_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } + + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} +ivory_carvers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } + on_complete = { + + } + + next_building = ivory_carvers_2 + type_icon = "old_buildings/workshops.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +ivory_carvers_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } + on_complete = { + + } + + next_building = ivory_carvers_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +ivory_carvers_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } + on_complete = { + + } + + next_building = ivory_carvers_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +ivory_carvers_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } + on_complete = { + + } + + next_building = ivory_carvers_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +ivory_carvers_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = ivory_carvers_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/jade_district_buildings.txt b/common/buildings/resource_district_buildings/jade_district_buildings.txt new file mode 100644 index 000000000..a22e67160 --- /dev/null +++ b/common/buildings/resource_district_buildings/jade_district_buildings.txt @@ -0,0 +1,155 @@ +minor_jade_mine_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_jade_production_add = minor_jade_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = minor_jade_mine_2 + type_icon = "resource_buildings/jade_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jade } + ai_resource_new_building_modifier = yes + } +} + +minor_jade_mine_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_jade_production_add = minor_jade_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = minor_jade_mine_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jade } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +minor_jade_mine_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_jade_production_add = minor_jade_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jade } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + diff --git a/common/buildings/resource_district_buildings/medicaments_district_buildings.txt b/common/buildings/resource_district_buildings/medicaments_district_buildings.txt new file mode 100644 index 000000000..72f46f0a2 --- /dev/null +++ b/common/buildings/resource_district_buildings/medicaments_district_buildings.txt @@ -0,0 +1,2467 @@ +herb_gardens_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + culture = { has_cultural_parameter = medicinal_plants_herb_gardens_unlock } + } + NOT = { + has_building_or_higher = medicaments_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_medicaments_production_add = minor_medicaments_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = herb_gardens_2 + type_icon = "resource_buildings/medicaments_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_cultural_unlock_building_modifier = { PARAMETER = medicinal_plants_herb_gardens_unlock } + ai_resource_new_building_modifier = yes + } +} + +herb_gardens_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + culture = { has_cultural_parameter = medicinal_plants_herb_gardens_unlock } + } + NOT = { + has_building_or_higher = medicaments_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_medicaments_production_add = minor_medicaments_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = herb_gardens_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_cultural_unlock_building_modifier = { PARAMETER = medicinal_plants_herb_gardens_unlock } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +herb_gardens_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + culture = { has_cultural_parameter = medicinal_plants_herb_gardens_unlock } + } + NOT = { + has_building_or_higher = medicaments_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_medicaments_production_add = minor_medicaments_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_cultural_unlock_building_modifier = { PARAMETER = medicinal_plants_herb_gardens_unlock } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + + +medicaments_resource_building_1 = { + construction_time = construction_time_6_months + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_1_coffee" + } + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_medicaments_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = medicaments_resource_building_2 + type_icon = "resource_buildings/medicaments_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } +} + +medicaments_resource_building_2 = { + construction_time = construction_time_9_months + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_2_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_medicaments_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = medicaments_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +medicaments_resource_building_3 = { + construction_time = construction_time_1_year + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_3_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_medicaments_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = medicaments_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +medicaments_resource_building_4 = { + construction_time = construction_time_2_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_4_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_medicaments_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = medicaments_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +medicaments_resource_building_5 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_5_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_medicaments_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = medicaments_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +medicaments_resource_building_6 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_6_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_medicaments_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = medicaments_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +medicaments_resource_building_7 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_7_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_medicaments_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = medicaments_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +medicaments_resource_building_8 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_8_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_medicaments_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = medicaments_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +medicaments_resource_building_9 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_9_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_medicaments_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = medicaments_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +medicaments_resource_building_10 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { + OR = { + county.duchy = title:d_kaffa + county.duchy = title:d_sharka + } + } + reference = "medicaments_resource_building_10_coffee" + } + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_medicaments } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_medicaments_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_medicaments_production_mult = 0.25 + } + province_culture_modifier = { + parameter = medicinal_plants_medicaments_district_tax + artisan_tax_mult = 0.1 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_medicaments_production_mult = 0.1 + monthly_artisan_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +local_hospital_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + epidemic_resistance = local_hospital_epidemic_resistance_tier_1 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } + on_complete = { + + } + + next_building = local_hospital_2 + type_icon = "resource_buildings/local_hospital.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +local_hospital_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + epidemic_resistance = local_hospital_epidemic_resistance_tier_2 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } + on_complete = { + + } + + next_building = local_hospital_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +local_hospital_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + epidemic_resistance = local_hospital_epidemic_resistance_tier_3 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } + on_complete = { + + } + + next_building = local_hospital_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +local_hospital_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + epidemic_resistance = local_hospital_epidemic_resistance_tier_4 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } + on_complete = { + + } + + next_building = local_hospital_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +local_hospital_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + epidemic_resistance = local_hospital_epidemic_resistance_tier_5 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +apothecary_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = apothecary_prosperity_tier_1 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + + } + + next_building = apothecary_2 + type_icon = "resource_buildings/apothecary.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +apothecary_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = apothecary_prosperity_tier_2 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + + } + + next_building = apothecary_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +apothecary_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = apothecary_prosperity_tier_3 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + + } + + next_building = apothecary_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +apothecary_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = apothecary_prosperity_tier_4 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + + } + + next_building = apothecary_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +apothecary_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = apothecary_prosperity_tier_5 + } + + + + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +theriac_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + market_modifier = { + trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_1 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = theriac_workshop_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + +} + +theriac_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + market_modifier = { + trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_2 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = theriac_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +theriac_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + market_modifier = { + trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_3 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = theriac_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +theriac_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + market_modifier = { + trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_4 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + on_complete = { + } + next_building = theriac_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +theriac_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + market_modifier = { + trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_5 + } + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_mult = theriac_workshop_medicaments_mult_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = theriac_workshop_artisan_tax_per_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +perfumery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_incense_production_add = perfumery_incense_output_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = perfumery_2 + type_icon = "resource_buildings/cosmetic_shop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + +} + +perfumery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_incense_production_add = perfumery_incense_output_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = perfumery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +perfumery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_incense_production_add = perfumery_incense_output_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = perfumery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +perfumery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_incense_production_add = perfumery_incense_output_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = perfumery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +perfumery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_incense_production_add = perfumery_incense_output_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = perfumery_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +stupefactives_apothecary_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + modifiers = { + province_modifier = { + popular_opinion_add = stupefactives_apothecary_popular_opinion_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = stupefactives_apothecary_2 + type_icon = "resource_buildings/stupefactives_apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +stupefactives_apothecary_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = stupefactives_apothecary_popular_opinion_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = stupefactives_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +stupefactives_apothecary_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = stupefactives_apothecary_popular_opinion_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = stupefactives_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +stupefactives_apothecary_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + popular_opinion_add = stupefactives_apothecary_popular_opinion_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + next_building = stupefactives_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +stupefactives_apothecary_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + popular_opinion_add = stupefactives_apothecary_popular_opinion_per_medicaments_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = stupefactives_apothecary_artisan_tax_per_medicaments_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/millet_district_buildings.txt b/common/buildings/resource_district_buildings/millet_district_buildings.txt new file mode 100644 index 000000000..5430b84d1 --- /dev/null +++ b/common/buildings/resource_district_buildings/millet_district_buildings.txt @@ -0,0 +1,2393 @@ +millet_fields_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_millet } + NOT = { + has_building_or_higher = millet_resource_building_1 + } + } + + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_crop_rotation } + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_millet_production_add = minor_millet_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = millet_fields_2 + type_icon = "resource_buildings/millet_buildings.dds" + + ai_value = { + base = 10 #Always try to feed yourself + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } +} + +millet_fields_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_millet } + NOT = { + has_building_or_higher = millet_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_millet_production_add = minor_millet_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = millet_fields_3 + + ai_value = { + base = 10 #Always try to feed yourself + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +millet_fields_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_millet } + NOT = { + has_building_or_higher = millet_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_millet_production_add = minor_millet_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 #Always try to feed yourself + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +millet_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_millet } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_millet_production_add = tier_1_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = millet_resource_building_2 + type_icon = "district_buildings/millet_district.dds" + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } +} + +millet_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_millet } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_millet_production_add = tier_2_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = millet_resource_building_3 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +millet_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_millet_production_add = tier_3_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = millet_resource_building_4 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +millet_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_millet_production_add = tier_4_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = millet_resource_building_5 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +millet_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_millet_production_add = tier_5_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = millet_resource_building_6 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +millet_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_millet_production_add = tier_6_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = millet_resource_building_7 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +millet_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_millet_production_add = tier_7_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = millet_resource_building_8 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +millet_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_millet_production_add = tier_8_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = millet_resource_building_9 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +millet_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_millet_production_add = tier_9_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = millet_resource_building_10 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +millet_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_millet_production_add = tier_10_millet_food_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_millet_production_mult = 0.25 + } + + + flag = agricultural_district_building + flag = food_district_building + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_millet_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +double_cropping_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_cotton_production_mult = double_cropping_potential_crop_mult_tier_1 + trade_good_sugar_production_mult = double_cropping_potential_crop_mult_tier_1 + trade_good_grain_production_mult = double_cropping_potential_crop_mult_tier_1 + trade_good_fruit_production_mult = double_cropping_potential_crop_mult_tier_1 + trade_good_rice_production_mult = double_cropping_potential_crop_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_1_tribal + } + on_complete = { + + } + + next_building = double_cropping_2 + type_icon = "resource_buildings/double_cropping.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } +} + +double_cropping_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + trade_good_cotton_production_mult = double_cropping_potential_crop_mult_tier_2 + trade_good_sugar_production_mult = double_cropping_potential_crop_mult_tier_2 + trade_good_grain_production_mult = double_cropping_potential_crop_mult_tier_2 + trade_good_fruit_production_mult = double_cropping_potential_crop_mult_tier_2 + trade_good_rice_production_mult = double_cropping_potential_crop_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_2_tribal + } + on_complete = { + + } + + next_building = double_cropping_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +double_cropping_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + trade_good_cotton_production_mult = double_cropping_potential_crop_mult_tier_3 + trade_good_sugar_production_mult = double_cropping_potential_crop_mult_tier_3 + trade_good_grain_production_mult = double_cropping_potential_crop_mult_tier_3 + trade_good_fruit_production_mult = double_cropping_potential_crop_mult_tier_3 + trade_good_rice_production_mult = double_cropping_potential_crop_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_3_tribal + } + on_complete = { + + } + + next_building = double_cropping_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +double_cropping_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + trade_good_cotton_production_mult = double_cropping_potential_crop_mult_tier_4 + trade_good_sugar_production_mult = double_cropping_potential_crop_mult_tier_4 + trade_good_grain_production_mult = double_cropping_potential_crop_mult_tier_4 + trade_good_fruit_production_mult = double_cropping_potential_crop_mult_tier_4 + trade_good_rice_production_mult = double_cropping_potential_crop_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_4_tribal + } + on_complete = { + + } + + next_building = double_cropping_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +double_cropping_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + trade_good_cotton_production_mult = double_cropping_potential_crop_mult_tier_5 + trade_good_sugar_production_mult = double_cropping_potential_crop_mult_tier_5 + trade_good_grain_production_mult = double_cropping_potential_crop_mult_tier_5 + trade_good_fruit_production_mult = double_cropping_potential_crop_mult_tier_5 + trade_good_rice_production_mult = double_cropping_potential_crop_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = double_cropping_agricultural_tax_tier_5_tribal + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +sorghum_stalk_builder_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_1_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } + on_complete = { + + } + + next_building = sorghum_stalk_builder_2 + type_icon = "resource_buildings/sorghum_stalk_builder.dds" + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_new_building_modifier = yes + } +} + +sorghum_stalk_builder_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_2_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } + on_complete = { + + } + + next_building = sorghum_stalk_builder_3 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +sorghum_stalk_builder_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_3_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } + on_complete = { + + } + + next_building = sorghum_stalk_builder_4 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +sorghum_stalk_builder_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_4_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } + on_complete = { + + } + + next_building = sorghum_stalk_builder_5 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +sorghum_stalk_builder_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = sorghum_stalk_builder_woodland_tax_tier_5_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +millet_distillery_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_1_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need_tribal + } + } + } + on_complete = { + + } + + next_building = millet_distillery_2 + type_icon = "resource_buildings/distillery.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +millet_distillery_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_2_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need_tribal + } + } + } + on_complete = { + + } + + next_building = millet_distillery_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +millet_distillery_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_3_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need_tribal + } + } + } + on_complete = { + + } + + next_building = millet_distillery_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +millet_distillery_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_4_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need_tribal + } + } + } + on_complete = { + + } + + next_building = millet_distillery_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +millet_distillery_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_tier_5_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_distillery_income_per_millet_need_tribal + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +fodder_stores_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_1_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + on_complete = { + + } + + next_building = fodder_stores_2 + type_icon = "resource_buildings/fodder_stores.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +fodder_stores_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_2_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + on_complete = { + + } + + next_building = fodder_stores_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +fodder_stores_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_3_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + on_complete = { + + } + + next_building = fodder_stores_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +fodder_stores_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_4_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + on_complete = { + + } + + next_building = fodder_stores_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +fodder_stores_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fodder_stores_agricultural_tax_tier_5_tribal + } + + + + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +millet_brewery_1 = { + + construction_time = construction_time_6_months + triggered_name = { + trigger = { + geographical_region = world_middle_east + } + reference = "boza_brewery_1" + } + triggered_name = { + trigger = { + geographical_region = world_europe_east + } + reference = "braga_brewery_1" + } + triggered_name = { + trigger = { + geographical_region = world_asia_east + } + reference = "jiu_brewery_1" + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = millet_brewery_beer_output_per_millet_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need_tribal + } + } + } + on_complete = { + } + next_building = millet_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + +} + +millet_brewery_2 = { + + construction_time = construction_time_9_months + triggered_name = { + trigger = { + geographical_region = world_middle_east + } + reference = "boza_brewery_2" + } + triggered_name = { + trigger = { + geographical_region = world_europe_east + } + reference = "braga_brewery_2" + } + triggered_name = { + trigger = { + geographical_region = world_asia_east + } + reference = "jiu_brewery_2" + } + district_level_requirement = 2 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_beer_production_add = millet_brewery_beer_output_per_millet_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need_tribal + } + } + } + on_complete = { + } + next_building = millet_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +millet_brewery_3 = { + + construction_time = construction_time_1_year + triggered_name = { + trigger = { + geographical_region = world_middle_east + } + reference = "boza_brewery_3" + } + triggered_name = { + trigger = { + geographical_region = world_europe_east + } + reference = "braga_brewery_3" + } + triggered_name = { + trigger = { + geographical_region = world_asia_east + } + reference = "jiu_brewery_3" + } + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_beer_production_add = millet_brewery_beer_output_per_millet_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need_tribal + } + } + } + on_complete = { + } + next_building = millet_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +millet_brewery_4 = { + + construction_time = construction_time_2_years + triggered_name = { + trigger = { + geographical_region = world_middle_east + } + reference = "boza_brewery_4" + } + triggered_name = { + trigger = { + geographical_region = world_europe_east + } + reference = "braga_brewery_4" + } + triggered_name = { + trigger = { + geographical_region = world_asia_east + } + reference = "jiu_brewery_4" + } + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_beer_production_add = millet_brewery_beer_output_per_millet_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need_tribal + } + } + } + on_complete = { + } + next_building = millet_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +millet_brewery_5 = { + + construction_time = construction_time_3_years + triggered_name = { + trigger = { + geographical_region = world_middle_east + } + reference = "boza_brewery_5" + } + triggered_name = { + trigger = { + geographical_region = world_europe_east + } + reference = "braga_brewery_5" + } + triggered_name = { + trigger = { + geographical_region = world_asia_east + } + reference = "jiu_brewery_5" + } + district_level_requirement = 9 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = millet_brewery_beer_output_per_millet_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = millet_brewery_agricultural_tax_per_millet_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +millet_granaries_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_1 + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } + on_complete = { + } + next_building = millet_granaries_2 + type_icon = "old_buildings/stilted_granaries.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +millet_granaries_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_2 + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } + on_complete = { + } + next_building = millet_granaries_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +millet_granaries_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_3 + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } + on_complete = { + } + next_building = millet_granaries_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +millet_granaries_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_4 + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } + on_complete = { + } + next_building = millet_granaries_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +millet_granaries_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + supply_limit = small_building_supply_limit_tier_5 + } + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/mine_district_buildings.txt b/common/buildings/resource_district_buildings/mine_district_buildings.txt new file mode 100644 index 000000000..0213331ca --- /dev/null +++ b/common/buildings/resource_district_buildings/mine_district_buildings.txt @@ -0,0 +1,1449 @@ +#Mining Building Line + +#Used by multiple resources: +#Iron +#Gold +#Silver +#Copper +#Alum +#Gems +#Jade +#Salt + +#Shared side buildings go here, and buildings for one trade good go in that good's file + +mine_tier_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + county = { has_potential_for_trade_good = trade_good_type:trade_good_copper } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_alum } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + county = { + has_potential_for_trade_good = trade_good_type:trade_good_salt + any_county_province = { has_building_with_flag = special_mine_salt } + } + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_1_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_1_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_1_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_1_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_1_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_1_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_1_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_1_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_1_main_resource + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + } + next_building = mine_tier_2 + type_icon = "district_buildings/mine_district.dds" + ai_value = { + base = 10 #Mining districts are rare and important + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + county = { + any_county_province = { + has_building_with_flag = special_mine + } + } + factor = 2 + } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_new_building_modifier = yes + } + +} + +mine_tier_2 = { + + construction_time = construction_time_9_months + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_2_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_2_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_2_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_2_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_2_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_2_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_2_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_2_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_2_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + +} + +mine_tier_3 = { + + construction_time = construction_time_1_year + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + building_slots_for_host_district = 2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_3_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_3_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_3_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_3_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_3_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_3_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_3_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_3_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_3_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_4 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + +} + +mine_tier_4 = { + + construction_time = construction_time_2_years + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_4_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_4_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_4_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_4_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_4_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_4_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_4_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_4_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_4_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_5 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + +} + +mine_tier_5 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_5_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_5_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_5_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_5_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_5_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_5_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_5_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_5_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_5_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_6 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + +} + +mine_tier_6 = { + + construction_time = construction_time_3_years + triggered_name = { + trigger = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + reference = "mine_tier_6_iron" + } + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_6_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_6_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_6_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_6_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_6_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_6_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_6_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_6_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_6_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_7 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + +} + +mine_tier_7 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_7_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_7_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_7_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_7_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_7_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_7_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_7_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_7_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_7_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_8 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + +} + +mine_tier_8 = { + + construction_time = construction_time_3_years + triggered_name = { + trigger = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_iron } + } + reference = "mine_tier_8_iron" + } + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_8_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_8_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_8_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_8_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_8_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_8_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_8_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_8_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_8_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_9 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + +} + +mine_tier_9 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_9_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_9_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_9_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_9_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_9_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_9_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_9_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_9_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_9_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = mine_tier_10 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + +} + +mine_tier_10 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = mine_resource_tier_10_main_income_tribal + } + #Iron + province_potential_trade_good_modifier = { + trade_good = trade_good_iron + trade_good_iron_production_add = iron_mine_tier_10_main_resource + } + #Copper + province_potential_trade_good_modifier = { + trade_good = trade_good_copper + trade_good_copper_production_add = copper_mine_tier_10_main_resource + } + #Gold + province_potential_trade_good_modifier = { + trade_good = trade_good_gold + trade_good_gold_production_add = precious_mine_tier_10_main_resource + } + #Silver + province_potential_trade_good_modifier = { + trade_good = trade_good_silver + trade_good_silver_production_add = precious_mine_tier_10_main_resource + } + #Gems + province_potential_trade_good_modifier = { + trade_good = trade_good_gems + trade_good_gems_production_add = precious_mine_tier_10_main_resource + } + #Jade + province_potential_trade_good_modifier = { + trade_good = trade_good_jade + trade_good_jade_production_add = jade_mine_tier_10_main_resource + } + #Alum + province_potential_trade_good_modifier = { + trade_good = trade_good_alum + trade_good_alum_production_add = mine_tier_10_main_resource + } + #Salt + province_potential_trade_good_modifier = { + trade_good = trade_good_salt + trade_good_salt_production_add = mine_tier_10_main_resource + } + #Beasts of Burden + market_modifier = { + trade_category_beasts_of_burden_sell_price_mult = price_basic_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_category_minerals_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + +} +# Jewellers' Workshops +jewellers_workshop_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + } + } + can_construct_showing_failures_only = { + } + can_construct = { + } + show_disabled = yes + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = medium_prosperity_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + market_modifier = { + trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 + trade_category_precious_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = guild_precious_stones_resource_need + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = guild_precious_metals_resource_need + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = jewellers_workshop_2 + + type_icon = "resource_buildings/jeweller.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_new_building_modifier = yes + } +} + +# Jewellers' Workshops +jewellers_workshop_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + } + } + can_construct_showing_failures_only = { + } + can_construct = { + } + show_disabled = yes + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = medium_prosperity_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + market_modifier = { + trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 + trade_category_precious_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = guild_precious_stones_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = guild_precious_metals_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = jewellers_workshop_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +# Jewellers' Workshops +jewellers_workshop_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + } + } + can_construct_showing_failures_only = { + } + can_construct = { + } + show_disabled = yes + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = medium_prosperity_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + market_modifier = { + trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 + trade_category_precious_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = guild_precious_stones_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = guild_precious_metals_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = jewellers_workshop_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +# Jewellers' Workshops +jewellers_workshop_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + } + } + can_construct_showing_failures_only = { + } + can_construct = { + } + show_disabled = yes + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = medium_prosperity_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 + trade_category_precious_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = guild_precious_stones_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = guild_precious_metals_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + next_building = jewellers_workshop_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +# Jewellers' Workshops +jewellers_workshop_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_gold } + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + county = { has_potential_for_trade_good = trade_good_type:trade_good_gems } + county = { has_potential_for_trade_good = trade_good_type:trade_good_jade } + } + } + can_construct_showing_failures_only = { + } + can_construct = { + } + show_disabled = yes + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = medium_prosperity_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + market_modifier = { + trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 + trade_category_precious_metals_sell_price_mult = price_metal_building_1 + } + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = guild_precious_stones_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = guild_precious_metals_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_jewelry_production_add = jewelry_outpout_per_need_mines + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + diff --git a/common/buildings/resource_district_buildings/oil_district_buildings.txt b/common/buildings/resource_district_buildings/oil_district_buildings.txt new file mode 100644 index 000000000..7ca5da725 --- /dev/null +++ b/common/buildings/resource_district_buildings/oil_district_buildings.txt @@ -0,0 +1,1525 @@ +olive_groves_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_oil } + NOT = { + has_building_or_higher = oil_resource_building_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_oil_production_add = minor_oil_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = olive_groves_2 + type_icon = "resource_buildings/oil_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +olive_groves_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_oil } + NOT = { + has_building_or_higher = oil_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_oil_production_add = minor_oil_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = olive_groves_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +olive_groves_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_oil } + NOT = { + has_building_or_higher = oil_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_oil_production_add = minor_oil_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +oil_resource_building_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_oil } + } + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_oil_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + } + next_building = oil_resource_building_2 + type_icon = "district_buildings/olive_oil_district.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +oil_resource_building_2 = { + + construction_time = construction_time_9_months + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + show_disabled = yes + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_oil_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = oil_resource_building_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + +} + +oil_resource_building_3 = { + + construction_time = construction_time_1_year + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_oil_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = oil_resource_building_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + +} + +oil_resource_building_4 = { + + construction_time = construction_time_2_years + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_oil_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = oil_resource_building_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + +} + +oil_resource_building_5 = { + + construction_time = construction_time_3_years + can_construct_potential = { + #Potential for oil + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_oil_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = oil_resource_building_6 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + +} + +oil_resource_building_6 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_oil_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = oil_resource_building_7 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + +} + +oil_resource_building_7 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_oil_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = oil_resource_building_8 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + +} + +oil_resource_building_8 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_oil_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = oil_resource_building_9 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + +} + +oil_resource_building_9 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_oil_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = oil_resource_building_10 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + +} + +oil_resource_building_10 = { + + construction_time = construction_time_3_years + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_oil_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_oil_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_oil_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + +} + +oil_soapworks_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + county_modifier = { + epidemic_resistance = soap_epidemic_resistance_tier_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_soapworks_2 + type_icon = "resource_buildings/monsoon_water_management.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +oil_soapworks_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + county_modifier = { + epidemic_resistance = soap_epidemic_resistance_tier_2 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_soapworks_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +oil_soapworks_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + county_modifier = { + epidemic_resistance = soap_epidemic_resistance_tier_3 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_soapworks_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +oil_soapworks_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + county_modifier = { + epidemic_resistance = soap_epidemic_resistance_tier_4 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_soapworks_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +oil_soapworks_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + county_modifier = { + epidemic_resistance = soap_epidemic_resistance_tier_5 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = soap_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +olive_mill_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + agricultural_tax_mult = olive_mill_agri_tax_mult_tier_1 + } + market_modifier = { + trade_good_stone_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = olive_mill_2 + type_icon = "district_buildings/olive_oil_district.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + +} + +olive_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + agricultural_tax_mult = olive_mill_agri_tax_mult_tier_2 + } + market_modifier = { + trade_good_stone_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = olive_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +olive_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + agricultural_tax_mult = olive_mill_agri_tax_mult_tier_3 + } + market_modifier = { + trade_good_stone_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = olive_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +olive_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + agricultural_tax_mult = olive_mill_agri_tax_mult_tier_4 + } + market_modifier = { + trade_good_stone_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = olive_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +olive_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + agricultural_tax_mult = olive_mill_agri_tax_mult_tier_5 + } + market_modifier = { + trade_good_stone_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +oil_apothecary_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_oil_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level_tribal + } + } + } + on_complete = { + } + next_building = oil_apothecary_2 + type_icon = "resource_buildings/ointment_maker.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + +} + +oil_apothecary_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_oil_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level_tribal + } + } + } + on_complete = { + } + next_building = oil_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +oil_apothecary_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_oil_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level_tribal + } + } + } + on_complete = { + } + next_building = oil_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +oil_apothecary_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_oil_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level_tribal + } + } + } + on_complete = { + } + next_building = oil_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +oil_apothecary_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = oil_apothecary_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_oil_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_oil_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +oil_waxworks_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_waxworks_2 + type_icon = "resource_buildings/wickmaker.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +oil_waxworks_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_2 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_waxworks_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +oil_waxworks_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_3 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_waxworks_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +oil_waxworks_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_4 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + next_building = oil_waxworks_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +oil_waxworks_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_5 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wax_artisan_income_per_oil_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/rice_district_buildings.txt b/common/buildings/resource_district_buildings/rice_district_buildings.txt new file mode 100644 index 000000000..f25f1817a --- /dev/null +++ b/common/buildings/resource_district_buildings/rice_district_buildings.txt @@ -0,0 +1,2667 @@ +small_rice_paddies_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_rice } + NOT = { + has_building_or_higher = rice_resource_building_1 + } + } + + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_crop_rotation } + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_rice_production_add = minor_rice_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = small_rice_paddies_2 + type_icon = "resource_buildings/rice_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } +} + +small_rice_paddies_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_rice } + NOT = { + has_building_or_higher = rice_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_rice_production_add = minor_rice_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = small_rice_paddies_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +small_rice_paddies_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_rice } + NOT = { + has_building_or_higher = rice_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_rice_production_add = minor_rice_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + + +rice_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_rice } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_rice_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + on_complete = { + + } + + flag = agricultural_district_building + flag = food_district_building + + next_building = rice_resource_building_2 + type_icon = "district_buildings/rice_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } +} + +rice_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_rice_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_3 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 11 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +rice_resource_building_3 = { #Unlock Rice Winery + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + NOT = { culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } } + } + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_rice_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_4 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +rice_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + NOT = { culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } } + } + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_rice_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_5 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +rice_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + trigger_else = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + } + + + show_disabled = yes + + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_rice_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_6 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +rice_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + trigger_else = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + } + + show_disabled = yes + + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_rice_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_7 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +rice_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + trigger_else = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_rice_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_8 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +rice_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + trigger_else = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_rice_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_9 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +rice_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + trigger_else = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_rice_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + next_building = rice_resource_building_10 + + flag = agricultural_district_building + flag = food_district_building + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +rice_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + trigger_if = { + limit = { + culture = { has_cultural_parameter = rice_cultivators_next_level_paddy_fields } + } + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + trigger_else = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_rice_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_rice_production_mult = 0.25 + } + + + flag = agricultural_district_building + flag = food_district_building + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_rice_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = rice_cultivators_rice_district_bonuses + prosperity_growth_factor = 0.1 + trade_good_rice_production_mult = 0.5 + } + + province_terrain_modifier = { + parameter = champa_rice_building_bonuses + terrain = wetlands + prosperity_growth_factor = 0.05 + trade_good_rice_production_mult = 0.15 + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + + +#rice_winery +#Turns Rice into Wine +rice_winery_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_1_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + on_complete = { + + } + + next_building = rice_winery_2 + + type_icon = "resource_buildings/rice_wine.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } +} + +rice_winery_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_2_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + on_complete = { + + } + + next_building = rice_winery_3 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +rice_winery_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_3_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + on_complete = { + + } + + next_building = rice_winery_4 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +rice_winery_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + has_building_or_higher = grain_resource_building_1 + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_4_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + on_complete = { + + } + + next_building = rice_winery_5 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +rice_winery_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + has_building_or_higher = grain_resource_building_1 + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_winery_income_tier_5_tribal + } + + market_modifier = { + trade_good_ceramics_sell_price_mult = price_basic_building_1 + } + + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#rice_straw_weaving +#Turns Rice Straw into Textiles +rice_straw_weaving_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_add = rice_straw_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = rice_straw_weaving_2 + type_icon = "old_buildings/rice.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +rice_straw_weaving_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = rice_straw_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = rice_straw_weaving_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +rice_straw_weaving_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = rice_straw_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = rice_straw_weaving_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +rice_straw_weaving_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = rice_straw_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = rice_straw_weaving_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +rice_straw_weaving_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = rice_straw_textiles_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#rice_thatching +#Uses Rice Straw to reduce rural district construction cost +rice_thatching_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } + + on_complete = { + + } + + next_building = rice_thatching_2 + type_icon = "old_buildings/wantilan.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +rice_thatching_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } + + on_complete = { + + } + + next_building = rice_thatching_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +rice_thatching_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } + + on_complete = { + + } + + next_building = rice_thatching_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +rice_thatching_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } + + on_complete = { + + } + + next_building = rice_thatching_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +rice_thatching_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +rice_bran_mill_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_rice_production_mult = rice_bran_mill_rice_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_1_tribal + } + market_modifier = { + trade_good_rice_buy_price_mult = low_buy_price_reduction_tier_1 + } + on_complete = { + } + next_building = rice_bran_mill_2 + type_icon = "old_buildings/windmills.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +rice_bran_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_rice_production_mult = rice_bran_mill_rice_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_2_tribal + } + market_modifier = { + trade_good_rice_buy_price_mult = low_buy_price_reduction_tier_2 + } + on_complete = { + } + next_building = rice_bran_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +rice_bran_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_rice_production_mult = rice_bran_mill_rice_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_3_tribal + } + market_modifier = { + trade_good_rice_buy_price_mult = low_buy_price_reduction_tier_3 + } + on_complete = { + } + next_building = rice_bran_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +rice_bran_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_rice_production_mult = rice_bran_mill_rice_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_4_tribal + } + market_modifier = { + trade_good_rice_buy_price_mult = low_buy_price_reduction_tier_4 + } + on_complete = { + } + next_building = rice_bran_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +rice_bran_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_rice_production_mult = rice_bran_mill_rice_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = rice_bran_mill_agricultural_tax_tier_5_tribal + } + market_modifier = { + trade_good_rice_buy_price_mult = low_buy_price_reduction_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +# Husks are burned as fuel, which larger settlements need to keep growing +husk_warehouse_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = husk_warehouse_size_change_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_1_tribal + } + on_complete = { + } + next_building = husk_warehouse_2 + type_icon = "regular_buildings/wholesale_market.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + +} + +husk_warehouse_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = husk_warehouse_size_change_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_2_tribal + } + on_complete = { + } + next_building = husk_warehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +husk_warehouse_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = husk_warehouse_size_change_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_3_tribal + } + on_complete = { + } + next_building = husk_warehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +husk_warehouse_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = husk_warehouse_size_change_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_4_tribal + } + on_complete = { + } + next_building = husk_warehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +husk_warehouse_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + monthly_province_size_change_when_below_baseline_add = husk_warehouse_size_change_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = husk_warehouse_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +fine_flour_mills_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = fine_flour_mills_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +fine_flour_mills_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = fine_flour_mills_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +fine_flour_mills_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = fine_flour_mills_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +fine_flour_mills_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = fine_flour_mills_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +fine_flour_mills_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = fine_flour_mills_agricultural_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +rice_confectionary_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = rice_confectionary_2 + type_icon = "resource_buildings/sugar_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +rice_confectionary_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = rice_confectionary_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +rice_confectionary_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = rice_confectionary_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +rice_confectionary_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + next_building = rice_confectionary_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +rice_confectionary_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_artisan_tax_per_rice_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/salt_district_buildings.txt b/common/buildings/resource_district_buildings/salt_district_buildings.txt new file mode 100644 index 000000000..250ef57b7 --- /dev/null +++ b/common/buildings/resource_district_buildings/salt_district_buildings.txt @@ -0,0 +1,1560 @@ + +salt_collectors_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_salt } + NOR = { + has_building_or_higher = mine_tier_1 + has_building_or_higher = salt_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_salt_production_add = minor_salt_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = salt_collectors_2 + type_icon = "resource_buildings/salt_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_new_building_modifier = yes + } +} + +salt_collectors_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + has_building_or_higher = salt_resource_building_5 + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_salt_production_add = minor_salt_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = salt_collectors_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +salt_collectors_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + has_building_or_higher = salt_resource_building_9 + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_salt_production_add = minor_salt_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +salt_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_salt } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_salt_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = salt_resource_building_2 + type_icon = "district_buildings/salt_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_new_building_modifier = yes + } +} + +salt_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_salt_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +salt_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_salt_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +salt_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_salt_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +salt_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_salt_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +salt_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_salt_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_6_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +salt_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_salt_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_7_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +salt_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_salt_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_8_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +salt_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_salt_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_9_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = salt_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +salt_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_salt_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_10_main_income_tribal + } + market_modifier = { + trade_good_salt_buy_price_mult = salt_district_buy_price_mult + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_salt_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_salt_production_mult = 0.1 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +# Pan-smiths +# Salt pans were often made with lead, but maintaining them still demanded iron tools. +pan_smith_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = pan_smith_2 + type_icon = "old_buildings/smiths.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_new_building_modifier = yes + } +} +pan_smith_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = pan_smith_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +pan_smith_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = pan_smith_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +pan_smith_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = pan_smith_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +pan_smith_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = pan_smith_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} +# Sack & Basket Weavers +sack_basket_weavers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_tier_1 + } + market_modifier = { + trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } + on_complete = { + } + next_building = sack_basket_weavers_2 + type_icon = "regular_buildings/wholesale_market.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} +sack_basket_weavers_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_tier_2 + } + market_modifier = { + trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } + on_complete = { + } + next_building = sack_basket_weavers_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +sack_basket_weavers_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_tier_3 + } + market_modifier = { + trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } + on_complete = { + } + next_building = sack_basket_weavers_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +sack_basket_weavers_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_tier_4 + } + market_modifier = { + trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } + on_complete = { + } + next_building = sack_basket_weavers_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +sack_basket_weavers_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_tier_5 + } + market_modifier = { + trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} +# Salt Taxation Office +salt_taxation_office_1 = { + construction_time = construction_time_6_months + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_frankish } } + reference = "salt_taxation_office_gabelle" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_latin } } + reference = "salt_taxation_office_camera_salis" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_iberian } } + reference = "salt_taxation_office_afolies" + } + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = salt_taxation_office_2 + type_icon = "regular_buildings/camera_salis.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} +salt_taxation_office_2 = { + construction_time = construction_time_9_months + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_frankish } } + reference = "salt_taxation_office_gabelle" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_latin } } + reference = "salt_taxation_office_camera_salis" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_iberian } } + reference = "salt_taxation_office_afolies" + } + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = salt_taxation_office_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +salt_taxation_office_3 = { + construction_time = construction_time_1_year + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_frankish } } + reference = "salt_taxation_office_gabelle" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_latin } } + reference = "salt_taxation_office_camera_salis" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_iberian } } + reference = "salt_taxation_office_afolies" + } + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = salt_taxation_office_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +salt_taxation_office_4 = { + construction_time = construction_time_2_years + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_frankish } } + reference = "salt_taxation_office_gabelle" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_latin } } + reference = "salt_taxation_office_camera_salis" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_iberian } } + reference = "salt_taxation_office_afolies" + } + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + next_building = salt_taxation_office_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +salt_taxation_office_5 = { + construction_time = construction_time_3_years + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_frankish } } + reference = "salt_taxation_office_gabelle" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_latin } } + reference = "salt_taxation_office_camera_salis" + } + triggered_name = { + trigger = { culture = { has_cultural_pillar = heritage_iberian } } + reference = "salt_taxation_office_afolies" + } + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_civic_tax = salt_taxation_office_civic_tax_per_salt_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt b/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt new file mode 100644 index 000000000..3cdfa99aa --- /dev/null +++ b/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt @@ -0,0 +1,4829 @@ +#Buildings shared between multiple different resource districts + +#Water Management Lines + +#Things that supply water to irrigation dependent crops +#If tweaking these also keep in mind the underlying terrain penalties/bonuses + +qanat_system_1 = { #Cisterns + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlocks_qanat_building } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + NOR = { + terrain = floodplains + terrain = wetlands + terrain = taiga + terrain = forest + terrain = jungle + } + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = 0.02 + trade_category_cereals_production_mult = 0.25 + trade_good_cotton_production_mult = 0.25 + trade_good_flax_production_mult = 0.25 + trade_good_sugar_production_mult = 0.25 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.02 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.01 + } + on_complete = { + } + next_building = qanat_system_2 + type_icon = "resource_buildings/qanats.dds" + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlocks_qanat_building } + ai_resource_new_building_modifier = yes + } + +} + +qanat_system_2 = { #Qanats + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlocks_qanat_building } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + NOR = { + terrain = floodplains + terrain = wetlands + terrain = taiga + terrain = forest + terrain = jungle + } + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = 0.04 + trade_category_cereals_production_mult = 0.3 + trade_good_cotton_production_mult = 0.3 + trade_good_flax_production_mult = 0.3 + trade_good_sugar_production_mult = 0.3 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.04 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.02 + } + on_complete = { + } + next_building = qanat_system_3 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlocks_qanat_building } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +qanat_system_3 = { #Windcatchers + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlocks_qanat_building } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + NOR = { + terrain = floodplains + terrain = wetlands + terrain = taiga + terrain = forest + terrain = jungle + } + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = 0.05 + trade_category_cereals_production_mult = 0.4 + trade_good_cotton_production_mult = 0.4 + trade_good_flax_production_mult = 0.4 + trade_good_sugar_production_mult = 0.4 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.06 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.03 + } + on_complete = { + } + next_building = qanat_system_4 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlocks_qanat_building } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +qanat_system_4 = { #Large Qanat Complex + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlocks_qanat_building } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + NOR = { + terrain = floodplains + terrain = wetlands + terrain = taiga + terrain = forest + terrain = jungle + } + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = 0.06 + trade_category_cereals_production_mult = 0.45 + trade_good_cotton_production_mult = 0.45 + trade_good_flax_production_mult = 0.45 + trade_good_sugar_production_mult = 0.45 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.08 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.04 + } + on_complete = { + } + next_building = qanat_system_5 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlocks_qanat_building } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +qanat_system_5 = { #Massive Qanat System + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlocks_qanat_building } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + NOR = { + terrain = floodplains + terrain = wetlands + terrain = taiga + terrain = forest + terrain = jungle + } + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = 0.08 + trade_category_cereals_production_mult = 0.5 + trade_good_cotton_production_mult = 0.5 + trade_good_flax_production_mult = 0.5 + trade_good_sugar_production_mult = 0.5 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.1 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.05 + } + on_complete = { + } + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlocks_qanat_building } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Irrigation Networks for cultures without Qanat access +irrigation_network_1 = { #Irrigation Ditches + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { culture = { has_cultural_parameter = unlocks_qanat_building } } + OR = { + terrain = desert + terrain = drylands + terrain = desert_mountains + } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = 0.01 + trade_category_cereals_production_mult = 0.125 + trade_good_cotton_production_mult = 0.125 + trade_good_flax_production_mult = 0.125 + trade_good_sugar_production_mult = 0.125 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.02 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.01 + } + on_complete = { + } + next_building = irrigation_network_2 + type_icon = "resource_buildings/irrigation_network.dds" + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +irrigation_network_2 = { #Irrigation Canals + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { culture = { has_cultural_parameter = unlocks_qanat_building } } + OR = { + terrain = desert + terrain = drylands + terrain = desert_mountains + } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = 0.02 + trade_category_cereals_production_mult = 0.15 + trade_good_cotton_production_mult = 0.15 + trade_good_flax_production_mult = 0.15 + trade_good_sugar_production_mult = 0.15 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.04 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.02 + } + on_complete = { + } + next_building = irrigation_network_3 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +irrigation_network_3 = { #Flood Basins + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { culture = { has_cultural_parameter = unlocks_qanat_building } } + OR = { + terrain = desert + terrain = drylands + terrain = desert_mountains + } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = 0.03 + trade_category_cereals_production_mult = 0.2 + trade_good_cotton_production_mult = 0.2 + trade_good_flax_production_mult = 0.2 + trade_good_sugar_production_mult = 0.2 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.06 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.03 + } + on_complete = { + } + next_building = irrigation_network_4 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +irrigation_network_4 = { #Great Irrigation Works + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { culture = { has_cultural_parameter = unlocks_qanat_building } } + OR = { + terrain = desert + terrain = drylands + terrain = desert_mountains + } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = 0.04 + trade_category_cereals_production_mult = 0.225 + trade_good_cotton_production_mult = 0.225 + trade_good_flax_production_mult = 0.225 + trade_good_sugar_production_mult = 0.225 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.08 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.04 + } + on_complete = { + } + next_building = irrigation_network_5 + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +irrigation_network_5 = { #Vast Irrigation Network + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { culture = { has_cultural_parameter = unlocks_qanat_building } } + OR = { + terrain = desert + terrain = drylands + terrain = desert_mountains + } + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = 0.05 + trade_category_cereals_production_mult = 0.25 + trade_good_cotton_production_mult = 0.25 + trade_good_flax_production_mult = 0.25 + trade_good_sugar_production_mult = 0.25 + } + province_culture_modifier = { + parameter = dryland_dwellers_irrigation_network_bonuses + agricultural_tax_mult = 0.1 + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_camel_cavalry_maintenance_low_modifier = -0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.05 + } + on_complete = { + } + ai_value = { + base = 10 + modifier = { + add = 1 + OR = { + #Counters penalties in regions with evaporation + terrain = mountains + terrain = desert_mountains + terrain = desert + terrain = drylands + terrain = steppe + } + } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +monsoon_water_management_1 = { #Reservoirs and Cisterns + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + tropical_seasons_region_trigger = yes + } + show_disabled = yes + can_construct = { + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = 0.02 + trade_category_cereals_production_mult = 0.25 + trade_good_cotton_production_mult = 0.25 + trade_good_flax_production_mult = 0.25 + trade_good_sugar_production_mult = 0.25 + } + province_culture_modifier = { + parameter = hydraulic_builders_monsoon_bonuses + agricultural_tax_mult = 0.02 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.01 + } + on_complete = { + } + next_building = monsoon_water_management_2 + type_icon = "resource_buildings/monsoon_water_management.dds" + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +monsoon_water_management_2 = { #Stepwell + + construction_time = construction_time_9_months + show_disabled = yes + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = 0.04 + trade_category_cereals_production_mult = 0.3 + trade_good_cotton_production_mult = 0.3 + trade_good_flax_production_mult = 0.3 + trade_good_sugar_production_mult = 0.3 + } + province_culture_modifier = { + parameter = hydraulic_builders_monsoon_bonuses + agricultural_tax_mult = 0.04 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.02 + } + on_complete = { + } + next_building = monsoon_water_management_3 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +monsoon_water_management_3 = { #Level Canals + + construction_time = construction_time_1_year + show_disabled = yes + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = 0.05 + trade_category_cereals_production_mult = 0.4 + trade_good_cotton_production_mult = 0.4 + trade_good_flax_production_mult = 0.4 + trade_good_sugar_production_mult = 0.4 + } + province_culture_modifier = { + parameter = hydraulic_builders_monsoon_bonuses + agricultural_tax_mult = 0.06 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.03 + } + on_complete = { + } + next_building = monsoon_water_management_4 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +monsoon_water_management_4 = { #Greater Cisterns + + construction_time = construction_time_2_years + show_disabled = yes + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = 0.06 + trade_category_cereals_production_mult = 0.45 + trade_good_cotton_production_mult = 0.45 + trade_good_flax_production_mult = 0.45 + trade_good_sugar_production_mult = 0.45 + } + province_culture_modifier = { + parameter = hydraulic_builders_monsoon_bonuses + agricultural_tax_mult = 0.08 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.04 + } + on_complete = { + } + next_building = monsoon_water_management_5 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +monsoon_water_management_5 = { #Grand Waterworks + + construction_time = construction_time_3_years + show_disabled = yes + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = 0.08 + trade_category_cereals_production_mult = 0.5 + trade_good_cotton_production_mult = 0.5 + trade_good_flax_production_mult = 0.5 + trade_good_sugar_production_mult = 0.5 + } + province_culture_modifier = { + parameter = hydraulic_builders_monsoon_bonuses + agricultural_tax_mult = 0.1 + } + province_culture_modifier = { + parameter = waterworks_agricultural_bonuses + agricultural_tax_mult = 0.05 + } + on_complete = { + } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Cooper Workshop + +#Uses Wood to improve storage/transport for Wine, Beer, Fish and Oil + +cooper_workshop_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + OR = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_beer + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_1_tribal + } + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_wine_production_mult = cooper_multiplier_per_wood_need + trade_good_beer_production_mult = cooper_multiplier_per_wood_need + trade_good_fish_production_mult = cooper_multiplier_per_wood_need + trade_good_oil_production_mult = cooper_multiplier_per_wood_need + trade_good_honey_production_mult = cooper_multiplier_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cooper_workshop_2 + type_icon = "old_buildings/workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +cooper_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_2_tribal + } + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_wine_production_mult = cooper_multiplier_per_wood_need + trade_good_beer_production_mult = cooper_multiplier_per_wood_need + trade_good_fish_production_mult = cooper_multiplier_per_wood_need + trade_good_oil_production_mult = cooper_multiplier_per_wood_need + trade_good_honey_production_mult = cooper_multiplier_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cooper_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cooper_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_3_tribal + } + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + trade_good_wine_production_mult = cooper_multiplier_per_wood_need + trade_good_beer_production_mult = cooper_multiplier_per_wood_need + trade_good_fish_production_mult = cooper_multiplier_per_wood_need + trade_good_oil_production_mult = cooper_multiplier_per_wood_need + trade_good_honey_production_mult = cooper_multiplier_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cooper_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cooper_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_4_tribal + } + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + trade_good_wine_production_mult = cooper_multiplier_per_wood_need + trade_good_beer_production_mult = cooper_multiplier_per_wood_need + trade_good_fish_production_mult = cooper_multiplier_per_wood_need + trade_good_oil_production_mult = cooper_multiplier_per_wood_need + trade_good_honey_production_mult = cooper_multiplier_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cooper_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cooper_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cooper_income_tier_5_tribal + } + market_modifier = { + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + trade_good_wine_production_mult = cooper_multiplier_per_wood_need + trade_good_beer_production_mult = cooper_multiplier_per_wood_need + trade_good_fish_production_mult = cooper_multiplier_per_wood_need + trade_good_oil_production_mult = cooper_multiplier_per_wood_need + trade_good_honey_production_mult = cooper_multiplier_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Tanneries + +#Consumes district-specific hide resources for Leather + +#Output doubled with access to salt and alum + +#Cattle Tannery + +cattle_tannery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1_tribal + } + market_modifier = { + trade_good_cattle_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cattle_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + +} + +cattle_tannery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2_tribal + } + market_modifier = { + trade_good_cattle_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cattle_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cattle_tannery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3_tribal + } + market_modifier = { + trade_good_cattle_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cattle_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cattle_tannery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4_tribal + } + market_modifier = { + trade_good_cattle_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = cattle_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cattle_tannery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5_tribal + } + market_modifier = { + trade_good_cattle_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_cattle + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Wool Tannery + +wool_tannery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = wool_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + +} + +wool_tannery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = wool_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +wool_tannery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = wool_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +wool_tannery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = wool_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +wool_tannery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Furs Tannery + +furs_tannery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_1_tribal + } + market_modifier = { + trade_good_furs_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = furs_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + +} + +furs_tannery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_2_tribal + } + market_modifier = { + trade_good_furs_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = furs_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +furs_tannery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_3_tribal + } + market_modifier = { + trade_good_furs_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = furs_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +furs_tannery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_4_tribal + } + market_modifier = { + trade_good_furs_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = furs_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +furs_tannery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = leather_income_tier_5_tribal + } + market_modifier = { + trade_good_furs_sell_price_mult = price_basic_building_1 + trade_good_salt_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + trade_good_wood_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_leather_production_add = tannery_leather_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = 0.5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_leather_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_leather_production_mult = tanning_leather_mult_per_wood_need + artisan_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Paper Mill + +paper_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { + target = trade_good_type:trade_good_textiles #Lump/Rag Paper + value > 0 + } + } + can_construct_showing_failures_only = { + #Papermaking Innovation + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_1_tribal + } + market_modifier = { + trade_good_textiles_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = paper_workshop_paper_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level_tribal + } + } + } + on_complete = { + } + next_building = paper_workshop_2 + type_icon = "resource_buildings/paper_buildings.dds" + ai_value = { + base = 10.7 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + +} + +paper_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + #Papermaking Innovation + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_2_tribal + } + market_modifier = { + trade_good_textiles_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = paper_workshop_paper_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level_tribal + } + } + } + on_complete = { + } + next_building = paper_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +paper_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + #Papermaking Innovation + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_3_tribal + } + market_modifier = { + trade_good_textiles_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = paper_workshop_paper_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level_tribal + } + } + } + on_complete = { + } + next_building = paper_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +paper_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + #Papermaking Innovation + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_4_tribal + } + market_modifier = { + trade_good_textiles_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = paper_workshop_paper_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level_tribal + } + } + } + on_complete = { + } + next_building = paper_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +paper_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + #Papermaking Innovation + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = paper_income_tier_5_tribal + } + market_modifier = { + trade_good_textiles_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = paper_workshop_paper_output_per_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_paper_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +dyehouse_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { target = trade_good_type:trade_good_textiles value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_1_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + on_complete = { + } + next_building = dyehouse_2 + type_icon = "resource_buildings/dyes_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +dyehouse_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { target = trade_good_type:trade_good_textiles value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_2_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + on_complete = { + } + next_building = dyehouse_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +dyehouse_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { target = trade_good_type:trade_good_textiles value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_3_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + on_complete = { + } + next_building = dyehouse_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +dyehouse_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { target = trade_good_type:trade_good_textiles value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_4_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + on_complete = { + } + next_building = dyehouse_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +dyehouse_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + production_of_trade_good_type = { target = trade_good_type:trade_good_textiles value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = dyehouse_income_tier_5_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + trade_good_alum_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +seasonal_labor_shared_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_category_cereals_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_category_fabrics_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_category_luxury_consumption_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_hemp_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_fruit_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_cattle_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_honey_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_wine_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_tea_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_medicaments_production_mult = seasonal_labor_shared_agri_mult_tier_1 + trade_good_incense_production_mult = seasonal_labor_shared_agri_mult_tier_1 + monthly_province_size_change_when_below_baseline_add = seasonal_labor_size_growth_tier_1 + agricultural_tax_mult = seasonal_labor_shared_agri_tax_mult_tier_1 + } + on_complete = { + } + next_building = seasonal_labor_shared_2 + type_icon = "regular_buildings/seasonal_labor_quarters.dds" + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +seasonal_labor_shared_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_category_cereals_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_category_fabrics_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_category_luxury_consumption_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_hemp_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_fruit_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_cattle_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_honey_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_wine_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_tea_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_medicaments_production_mult = seasonal_labor_shared_agri_mult_tier_2 + trade_good_incense_production_mult = seasonal_labor_shared_agri_mult_tier_2 + monthly_province_size_change_when_below_baseline_add = seasonal_labor_size_growth_tier_2 + agricultural_tax_mult = seasonal_labor_shared_agri_tax_mult_tier_2 + } + on_complete = { + } + next_building = seasonal_labor_shared_3 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +seasonal_labor_shared_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_category_cereals_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_category_fabrics_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_category_luxury_consumption_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_hemp_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_fruit_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_cattle_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_honey_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_wine_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_tea_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_medicaments_production_mult = seasonal_labor_shared_agri_mult_tier_3 + trade_good_incense_production_mult = seasonal_labor_shared_agri_mult_tier_3 + monthly_province_size_change_when_below_baseline_add = seasonal_labor_size_growth_tier_3 + agricultural_tax_mult = seasonal_labor_shared_agri_tax_mult_tier_3 + } + on_complete = { + } + next_building = seasonal_labor_shared_4 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +seasonal_labor_shared_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_category_cereals_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_category_fabrics_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_category_luxury_consumption_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_hemp_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_fruit_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_cattle_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_honey_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_wine_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_tea_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_medicaments_production_mult = seasonal_labor_shared_agri_mult_tier_4 + trade_good_incense_production_mult = seasonal_labor_shared_agri_mult_tier_4 + monthly_province_size_change_when_below_baseline_add = seasonal_labor_size_growth_tier_4 + agricultural_tax_mult = seasonal_labor_shared_agri_tax_mult_tier_4 + } + on_complete = { + } + next_building = seasonal_labor_shared_5 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +seasonal_labor_shared_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_category_cereals_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_category_fabrics_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_category_luxury_consumption_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_hemp_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_fruit_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_cattle_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_honey_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_wine_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_tea_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_medicaments_production_mult = seasonal_labor_shared_agri_mult_tier_5 + trade_good_incense_production_mult = seasonal_labor_shared_agri_mult_tier_5 + monthly_province_size_change_when_below_baseline_add = seasonal_labor_size_growth_tier_5 + agricultural_tax_mult = seasonal_labor_shared_agri_tax_mult_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +cordwainers_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_leather_production_mult = cordwainers_leather_output_mult_tier_1 + monthly_province_size_change_when_below_baseline_add = cordwainers_size_growth_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_1_tribal + } + on_complete = { + } + next_building = cordwainers_2 + type_icon = "resource_buildings/cordwainers.dds" + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +cordwainers_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_leather_production_mult = cordwainers_leather_output_mult_tier_2 + monthly_province_size_change_when_below_baseline_add = cordwainers_size_growth_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_2_tribal + } + on_complete = { + } + next_building = cordwainers_3 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +cordwainers_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_leather_production_mult = cordwainers_leather_output_mult_tier_3 + monthly_province_size_change_when_below_baseline_add = cordwainers_size_growth_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_3_tribal + } + on_complete = { + } + next_building = cordwainers_4 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +cordwainers_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_leather_production_mult = cordwainers_leather_output_mult_tier_4 + monthly_province_size_change_when_below_baseline_add = cordwainers_size_growth_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_4_tribal + } + on_complete = { + } + next_building = cordwainers_5 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +cordwainers_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_leather_production_mult = cordwainers_leather_output_mult_tier_5 + monthly_province_size_change_when_below_baseline_add = cordwainers_size_growth_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = cordwainers_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +saddlers_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_1_tribal + } + market_rite_modifier = { + parameter = leather_permitted + trade_good_leather_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_leather + amount = basic_resource_need + not_rite_parameter = leather_forbidden + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need_tribal + } + } + } + on_complete = { + } + next_building = saddlers_2 + type_icon = "resource_buildings/saddlers.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +saddlers_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_2_tribal + } + market_rite_modifier = { + parameter = leather_permitted + trade_good_leather_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_leather + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + not_rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need_tribal + } + } + } + on_complete = { + } + next_building = saddlers_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +saddlers_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_3_tribal + } + market_rite_modifier = { + parameter = leather_permitted + trade_good_leather_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_leather + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + not_rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need_tribal + } + } + } + on_complete = { + } + next_building = saddlers_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +saddlers_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_4_tribal + } + market_rite_modifier = { + parameter = leather_permitted + trade_good_leather_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_leather + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + not_rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need_tribal + } + } + } + on_complete = { + } + next_building = saddlers_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +saddlers_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = leather_forbidden } } + production_of_trade_good_type = { target = trade_good_type:trade_good_leather value > 0 } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_income_tier_5_tribal + } + market_rite_modifier = { + parameter = leather_permitted + trade_good_leather_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_leather + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + not_rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = saddlers_artisan_income_per_leather_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +#Small Mining Pit - unlocked by the Ancient Miners tradition +small_mining_pit_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = ancient_miners_pit_mines } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_1_tribal + } + on_complete = { + } + next_building = small_mining_pit_2 + type_icon = "resource_buildings/mines.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_cultural_unlock_building_modifier = { PARAMETER = ancient_miners_pit_mines } + ai_resource_new_building_modifier = yes + } + +} + +small_mining_pit_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = ancient_miners_pit_mines } + } + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_2_tribal + } + on_complete = { + } + next_building = small_mining_pit_3 + type_icon = "resource_buildings/mines.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_cultural_unlock_building_modifier = { PARAMETER = ancient_miners_pit_mines } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +small_mining_pit_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = ancient_miners_pit_mines } + } + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = normal_building_tax_tier_3_tribal + } + on_complete = { + } + type_icon = "resource_buildings/mines.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_cultural_unlock_building_modifier = { PARAMETER = ancient_miners_pit_mines } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +#Murex Fisheries - harvested for Tyrian purple along the Mediterranean coast +murex_fisheries_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_murex_fisheries_requirement_trigger = yes + } + can_construct_showing_failures_only = { + county = { NOT = { has_county_modifier = backwater_county_modifier } } + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_dyes_production_add = murex_dyes_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_1_tribal + } + character_government_modifier = { + parameter = government_is_administrative + monthly_influence = murex_influence_tier_1 + } + on_complete = { + } + next_building = murex_fisheries_2 + type_icon = "old_buildings/murex_farms.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_new_building_modifier = yes + } + +} + +murex_fisheries_2 = { + + construction_time = construction_time_9_months + can_construct_potential = { + building_murex_fisheries_requirement_trigger = yes + } + can_construct_showing_failures_only = { + county = { NOT = { has_county_modifier = backwater_county_modifier } } + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_dyes_production_add = murex_dyes_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_2_tribal + } + character_government_modifier = { + parameter = government_is_administrative + monthly_influence = murex_influence_tier_2 + } + on_complete = { + } + next_building = murex_fisheries_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +murex_fisheries_3 = { + + construction_time = construction_time_1_year + can_construct_potential = { + building_murex_fisheries_requirement_trigger = yes + } + can_construct_showing_failures_only = { + county = { NOT = { has_county_modifier = backwater_county_modifier } } + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_dyes_production_add = murex_dyes_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_3_tribal + } + character_government_modifier = { + parameter = government_is_administrative + monthly_influence = murex_influence_tier_3 + } + on_complete = { + } + next_building = murex_fisheries_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +murex_fisheries_4 = { + + construction_time = construction_time_2_years + can_construct_potential = { + building_murex_fisheries_requirement_trigger = yes + } + can_construct_showing_failures_only = { + county = { NOT = { has_county_modifier = backwater_county_modifier } } + building_artisanal_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_dyes_production_add = murex_dyes_output_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_4_tribal + } + character_government_modifier = { + parameter = government_is_administrative + monthly_influence = murex_influence_tier_4 + } + on_complete = { + } + next_building = murex_fisheries_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +murex_fisheries_5 = { + + construction_time = construction_time_3_years + can_construct_potential = { + building_murex_fisheries_requirement_trigger = yes + } + can_construct_showing_failures_only = { + county = { NOT = { has_county_modifier = backwater_county_modifier } } + building_artisanal_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_dyes_production_add = murex_dyes_output_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_maritime_tax = murex_maritime_tax_tier_5_tribal + } + character_government_modifier = { + parameter = government_is_administrative + monthly_influence = murex_influence_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +walrus_hunting_camp_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + county = { walrus_ivory_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_ivory_production_add = walrus_hunting_camp_ivory_tier_1 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + monthly_maritime_tax = walrus_hunting_camp_income_tier_1 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_furs + monthly_woodland_tax = walrus_hunting_camp_income_tier_1 + } + on_complete = { + } + next_building = walrus_hunting_camp_2 + type_icon = "resource_buildings/ivory_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_new_building_modifier = yes + } + +} + +walrus_hunting_camp_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + county = { walrus_ivory_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_ivory_production_add = walrus_hunting_camp_ivory_tier_2 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + monthly_maritime_tax = walrus_hunting_camp_income_tier_2 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_furs + monthly_woodland_tax = walrus_hunting_camp_income_tier_2 + } + on_complete = { + } + next_building = walrus_hunting_camp_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +walrus_hunting_camp_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + county = { walrus_ivory_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_ivory_production_add = walrus_hunting_camp_ivory_tier_3 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + monthly_maritime_tax = walrus_hunting_camp_income_tier_3 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_furs + monthly_woodland_tax = walrus_hunting_camp_income_tier_3 + } + on_complete = { + } + next_building = walrus_hunting_camp_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +walrus_hunting_camp_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + county = { walrus_ivory_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_ivory_production_add = walrus_hunting_camp_ivory_tier_4 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + monthly_maritime_tax = walrus_hunting_camp_income_tier_4 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_furs + monthly_woodland_tax = walrus_hunting_camp_income_tier_4 + } + on_complete = { + } + next_building = walrus_hunting_camp_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +walrus_hunting_camp_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + county = { walrus_ivory_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_ivory_production_add = walrus_hunting_camp_ivory_tier_5 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_fish + monthly_maritime_tax = walrus_hunting_camp_income_tier_5 + } + province_potential_trade_good_modifier = { + trade_good = trade_good_furs + monthly_woodland_tax = walrus_hunting_camp_income_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ivory } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +naphta_pit_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + county = { naphta_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_medicaments_production_add = naphta_pit_medicaments_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_1_tribal + } + on_complete = { + } + next_building = naphta_pit_2 + type_icon = "resource_buildings/naphta_pit.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + +} + +naphta_pit_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { naphta_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_medicaments_production_add = naphta_pit_medicaments_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_2_tribal + } + on_complete = { + } + next_building = naphta_pit_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +naphta_pit_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { naphta_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_medicaments_production_add = naphta_pit_medicaments_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_3_tribal + } + on_complete = { + } + next_building = naphta_pit_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +naphta_pit_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { naphta_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_medicaments_production_add = naphta_pit_medicaments_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_4_tribal + } + on_complete = { + } + next_building = naphta_pit_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +naphta_pit_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { naphta_county_trigger = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_medicaments_production_add = naphta_pit_medicaments_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = naphta_pit_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/silk_district_buildings.txt b/common/buildings/resource_district_buildings/silk_district_buildings.txt new file mode 100644 index 000000000..ae042167e --- /dev/null +++ b/common/buildings/resource_district_buildings/silk_district_buildings.txt @@ -0,0 +1,2472 @@ +minor_silk_plantation_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + NOT = { + has_building_or_higher = silk_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_silk_production_add = minor_silk_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = minor_silk_plantation_2 + type_icon = "resource_buildings/silk_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_new_building_modifier = yes + } +} + +minor_silk_plantation_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + NOT = { + has_building_or_higher = silk_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_silk_production_add = minor_silk_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = minor_silk_plantation_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +minor_silk_plantation_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + NOT = { + has_building_or_higher = silk_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_silk_production_add = minor_silk_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +silk_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_silk_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = silk_resource_building_2 + type_icon = "district_buildings/silk_district.dds" + + ai_value = { + base = 10.7 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_new_building_modifier = yes + } +} + +silk_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_silk_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = silk_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +silk_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_silk_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = silk_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +silk_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_silk_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = silk_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +silk_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_silk_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = silk_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +silk_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_silk_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = silk_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +silk_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_silk_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = silk_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +silk_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_silk_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = silk_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +silk_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_silk_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = silk_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +silk_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silk } + } + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_silk_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_silk_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_silk_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +textiles_silk_building_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_2 + + type_icon = "resource_buildings/textile_weavery.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +textiles_silk_building_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +textiles_silk_building_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +textiles_silk_building_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +textiles_silk_building_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_6 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +textiles_silk_building_6 = { + construction_time = construction_time_3_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_6 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_6_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 6 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_7 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 6 } + } +} + +textiles_silk_building_7 = { + construction_time = construction_time_3_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_7 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_7_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 7 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_8 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 7 } + } +} + +textiles_silk_building_8 = { + construction_time = construction_time_3_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_8 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_8_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 8 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_9 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 8 } + } +} + +textiles_silk_building_9 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_9 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_9_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 9 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + next_building = textiles_silk_building_10 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 9 } + } +} + +textiles_silk_building_10 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_10 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_10_tribal + } + + market_modifier = { + trade_good_silk_sell_price_mult = price_textiles_silk_building + } + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + + can_be_filled_multiple_times = 10 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 10 } + } +} + +mulberry_paper_mill_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = mulberry_paper_output_per_silk_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need_tribal + } + } + } + on_complete = { + } + next_building = mulberry_paper_mill_2 + type_icon = "resource_buildings/mulberry_paper_mill.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + +} + +mulberry_paper_mill_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = mulberry_paper_output_per_silk_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need_tribal + } + } + } + on_complete = { + } + next_building = mulberry_paper_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +mulberry_paper_mill_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = mulberry_paper_output_per_silk_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need_tribal + } + } + } + on_complete = { + } + next_building = mulberry_paper_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +mulberry_paper_mill_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = mulberry_paper_output_per_silk_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need_tribal + } + } + } + on_complete = { + } + next_building = mulberry_paper_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +mulberry_paper_mill_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_mill_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_books_paper_production_add = mulberry_paper_output_per_silk_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mulberry_paper_artisan_tax_per_silk_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +floss_spinnery_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_1_tribal + } + on_complete = { + } + next_building = floss_spinnery_2 + type_icon = "resource_buildings/floss_spinnery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_new_building_modifier = yes + } + +} + +floss_spinnery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_2_tribal + } + on_complete = { + } + next_building = floss_spinnery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +floss_spinnery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_3_tribal + } + on_complete = { + } + next_building = floss_spinnery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +floss_spinnery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_4_tribal + } + on_complete = { + } + next_building = floss_spinnery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +floss_spinnery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = floss_spinnery_income_tier_5_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +pupae_grinder_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + agricultural_tax_mult = pupae_grinder_agri_tax_mult_tier_1 + trade_good_silk_production_mult = pupae_grinder_silk_mult_tier_1 + } + on_complete = { + } + next_building = pupae_grinder_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_new_building_modifier = yes + } + +} + +pupae_grinder_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + agricultural_tax_mult = pupae_grinder_agri_tax_mult_tier_2 + trade_good_silk_production_mult = pupae_grinder_silk_mult_tier_2 + } + on_complete = { + } + next_building = pupae_grinder_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +pupae_grinder_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + agricultural_tax_mult = pupae_grinder_agri_tax_mult_tier_3 + trade_good_silk_production_mult = pupae_grinder_silk_mult_tier_3 + } + on_complete = { + } + next_building = pupae_grinder_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +pupae_grinder_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + agricultural_tax_mult = pupae_grinder_agri_tax_mult_tier_4 + trade_good_silk_production_mult = pupae_grinder_silk_mult_tier_4 + } + on_complete = { + } + next_building = pupae_grinder_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +pupae_grinder_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + agricultural_tax_mult = pupae_grinder_agri_tax_mult_tier_5 + trade_good_silk_production_mult = pupae_grinder_silk_mult_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silk } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +half_silk_weavery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_prestige = half_silk_prestige_per_silk_need + } + } + } + on_complete = { + } + next_building = half_silk_weavery_2 + type_icon = "resource_buildings/leather_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +half_silk_weavery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_prestige = half_silk_prestige_per_silk_need + } + } + } + on_complete = { + } + next_building = half_silk_weavery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +half_silk_weavery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_prestige = half_silk_prestige_per_silk_need + } + } + } + on_complete = { + } + next_building = half_silk_weavery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +half_silk_weavery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_prestige = half_silk_prestige_per_silk_need + } + } + } + on_complete = { + } + next_building = half_silk_weavery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +half_silk_weavery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good_category = trade_category_fabrics + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = half_silk_artisan_tax_per_fabrics_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_prestige = half_silk_prestige_per_silk_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/silver_district_buildings.txt b/common/buildings/resource_district_buildings/silver_district_buildings.txt new file mode 100644 index 000000000..ec21bf480 --- /dev/null +++ b/common/buildings/resource_district_buildings/silver_district_buildings.txt @@ -0,0 +1,155 @@ +silver_freeminers_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_silver_production_add = minor_silver_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = silver_freeminers_2 + type_icon = "resource_buildings/silver_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silver } + ai_resource_new_building_modifier = yes + } +} + +silver_freeminers_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_silver_production_add = minor_silver_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = silver_freeminers_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silver } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +silver_freeminers_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_silver } + NOT = { + has_building_or_higher = mine_tier_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_silver_production_add = minor_silver_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_silver } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + diff --git a/common/buildings/resource_district_buildings/spices_district_buildings.txt b/common/buildings/resource_district_buildings/spices_district_buildings.txt new file mode 100644 index 000000000..42c09464d --- /dev/null +++ b/common/buildings/resource_district_buildings/spices_district_buildings.txt @@ -0,0 +1,1675 @@ +spice_gardens_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_spices } + NOT = { + has_building_or_higher = spices_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_spices_production_add = minor_spices_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = spice_gardens_2 + type_icon = "resource_buildings/spice_gardens.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_new_building_modifier = yes + } +} + +spice_gardens_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_spices } + NOT = { + has_building_or_higher = spices_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_spices_production_add = minor_spices_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = spice_gardens_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +spice_gardens_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_spices } + NOT = { + has_building_or_higher = spices_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_spices_production_add = minor_spices_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +spices_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_spices } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_spices_production_add = precious_crops_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = spices_resource_building_2 + type_icon = "district_buildings/spice_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_new_building_modifier = yes + } +} + +spices_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_spices_production_add = precious_crops_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = spices_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +spices_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_spices_production_add = precious_crops_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = spices_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +spices_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_spices_production_add = precious_crops_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + next_building = spices_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +spices_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_spices_production_add = precious_crops_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = spices_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +spices_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_spices_production_add = precious_crops_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = spices_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +spices_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_spices_production_add = precious_crops_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = spices_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +spices_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_spices_production_add = precious_crops_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + next_building = spices_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +spices_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_spices_production_add = precious_crops_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + next_building = spices_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +spices_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_spices_production_add = precious_crops_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_spices_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_spices_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +#Spice Apothecaries +#Turns Spices into Medicaments +spice_apothecary_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } + + on_complete = { + + } + + next_building = spice_apothecary_2 + + type_icon = "resource_buildings/spice_apothecary.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } +} + +spice_apothecary_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } + + on_complete = { + + } + + next_building = spice_apothecary_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +spice_apothecary_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } + + on_complete = { + + } + + next_building = spice_apothecary_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +spice_apothecary_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } + + on_complete = { + + } + + next_building = spice_apothecary_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +spice_apothecary_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = spice_apothecary_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +compound_powder_grinder_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + trade_good_spices_production_mult = compound_powder_grinder_spices_mult_tier_1 + } + market_modifier = { + trade_good_spices_buy_price_mult = low_buy_price_reduction_tier_1 + } + on_complete = { + } + next_building = compound_powder_grinder_2 + type_icon = "resource_buildings/compound_powder_grinder.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_new_building_modifier = yes + } + +} + +compound_powder_grinder_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + trade_good_spices_production_mult = compound_powder_grinder_spices_mult_tier_2 + } + market_modifier = { + trade_good_spices_buy_price_mult = low_buy_price_reduction_tier_2 + } + on_complete = { + } + next_building = compound_powder_grinder_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +compound_powder_grinder_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + trade_good_spices_production_mult = compound_powder_grinder_spices_mult_tier_3 + } + market_modifier = { + trade_good_spices_buy_price_mult = low_buy_price_reduction_tier_3 + } + on_complete = { + } + next_building = compound_powder_grinder_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +compound_powder_grinder_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + trade_good_spices_production_mult = compound_powder_grinder_spices_mult_tier_4 + } + market_modifier = { + trade_good_spices_buy_price_mult = low_buy_price_reduction_tier_4 + } + on_complete = { + } + next_building = compound_powder_grinder_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +compound_powder_grinder_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + trade_good_spices_production_mult = compound_powder_grinder_spices_mult_tier_5 + } + market_modifier = { + trade_good_spices_buy_price_mult = low_buy_price_reduction_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +comfit_maker_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } + on_complete = { + } + next_building = comfit_maker_2 + type_icon = "old_buildings/spice_plantation.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_new_building_modifier = yes + } + +} + +comfit_maker_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } + on_complete = { + } + next_building = comfit_maker_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +comfit_maker_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } + on_complete = { + } + next_building = comfit_maker_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +comfit_maker_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } + on_complete = { + } + next_building = comfit_maker_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +comfit_maker_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = comfit_maker_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +garbler_office_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_1_tribal + } + market_modifier = { + trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_1 + } + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need_tribal + } + } + } + on_complete = { + } + next_building = garbler_office_2 + type_icon = "regular_buildings/guild_court_of_law.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +garbler_office_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_2_tribal + } + market_modifier = { + trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_2 + } + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need_tribal + } + } + } + on_complete = { + } + next_building = garbler_office_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +garbler_office_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_3_tribal + } + market_modifier = { + trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_3 + } + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need_tribal + } + } + } + on_complete = { + } + next_building = garbler_office_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +garbler_office_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_4_tribal + } + market_modifier = { + trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_4 + } + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need_tribal + } + } + } + on_complete = { + } + next_building = garbler_office_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +garbler_office_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_income_tier_5_tribal + } + market_modifier = { + trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_5 + } + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = garbler_office_artisan_tax_per_spices_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/stone_district_buildings.txt b/common/buildings/resource_district_buildings/stone_district_buildings.txt new file mode 100644 index 000000000..ef6209523 --- /dev/null +++ b/common/buildings/resource_district_buildings/stone_district_buildings.txt @@ -0,0 +1,2502 @@ +stone_cutters_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + NOT = { + has_building_or_higher = stone_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_stone_production_add = minor_stone_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = stone_cutters_2 + type_icon = "resource_buildings/stone_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_new_building_modifier = yes + } +} + +stone_cutters_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + NOT = { + has_building_or_higher = stone_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_stone_production_add = minor_stone_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = stone_cutters_3 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +stone_cutters_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + NOT = { + has_building_or_higher = stone_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_stone_production_add = minor_stone_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +stone_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_stone_production_add = stone_mine_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = stone_resource_building_2 + type_icon = "district_buildings/stone_district.dds" + + ai_value = { + base = 9.7 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_new_building_modifier = yes + } +} + +stone_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_stone_production_add = stone_mine_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = stone_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +stone_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_stone_production_add = stone_mine_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = stone_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +stone_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_stone_production_add = stone_mine_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = stone_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +stone_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_stone_production_add = stone_mine_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = stone_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +stone_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_stone_production_add = stone_mine_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = stone_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +stone_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_stone_production_add = stone_mine_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = stone_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +stone_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_stone_production_add = stone_mine_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = stone_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +stone_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_stone_production_add = stone_mine_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = stone_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +stone_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_stone } + } + + can_construct_showing_failures_only = { + building_mineral_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_stone_production_add = stone_mine_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_stone_production_mult = 0.4 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_stone_production_mult = 0.2 + monthly_mining_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +#Stone Masons +#Uses Stone to reduce district construction cost for walls, temples, and border forts +stone_masons_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } + + on_complete = { + + } + + next_building = stone_masons_2 + type_icon = "resource_buildings/stone_masons.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +stone_masons_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } + + on_complete = { + + } + + next_building = stone_masons_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +stone_masons_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } + + on_complete = { + + } + + next_building = stone_masons_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +stone_masons_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } + + on_complete = { + + } + + next_building = stone_masons_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +stone_masons_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_masons_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#Stone Statue Workshops +#Uses Stone to produce monthly prestige +stone_statue_workshop_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } + + on_complete = { + + } + + next_building = stone_statue_workshop_2 + type_icon = "special_buildings/legendary_statue.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +stone_statue_workshop_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } + + on_complete = { + + } + + next_building = stone_statue_workshop_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +stone_statue_workshop_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } + + on_complete = { + + } + + next_building = stone_statue_workshop_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +stone_statue_workshop_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } + + on_complete = { + + } + + next_building = stone_statue_workshop_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +stone_statue_workshop_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = stone_statue_workshop_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +millstone_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + mining_tax_mult = millstone_workshop_mining_tax_mult_tier_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = millstone_workshop_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +millstone_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + mining_tax_mult = millstone_workshop_mining_tax_mult_tier_2 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = millstone_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +millstone_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + mining_tax_mult = millstone_workshop_mining_tax_mult_tier_3 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = millstone_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +millstone_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + mining_tax_mult = millstone_workshop_mining_tax_mult_tier_4 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = millstone_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +millstone_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + mining_tax_mult = millstone_workshop_mining_tax_mult_tier_5 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = millstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +whetstone_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = whetstone_workshop_2 + type_icon = "resource_buildings/tool_smith.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +whetstone_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = whetstone_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +whetstone_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = whetstone_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +whetstone_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + next_building = whetstone_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +whetstone_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = whetstone_workshop_mining_tax_per_stone_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +mortar_workshop_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } + on_complete = { + } + next_building = mortar_workshop_2 + type_icon = "old_buildings/quarries.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +mortar_workshop_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_2 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } + on_complete = { + } + next_building = mortar_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +mortar_workshop_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_3 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } + on_complete = { + } + next_building = mortar_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +mortar_workshop_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_4 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } + on_complete = { + } + next_building = mortar_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +mortar_workshop_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = low_prosperity_tier_5 + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +quarry_port_1 = { + + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + county = { is_coastal_county = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_stone_production_mult = quarry_port_stone_mult_tier_1 + prosperity_growth = low_prosperity_tier_1 + } + market_modifier = { + trade_good_stone_buy_price_mult = low_buy_price_reduction_tier_1 + } + on_complete = { + } + next_building = quarry_port_2 + type_icon = "regular_buildings/tradeport.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_new_building_modifier = yes + } + +} + +quarry_port_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { is_coastal_county = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_stone_production_mult = quarry_port_stone_mult_tier_2 + prosperity_growth = low_prosperity_tier_2 + } + market_modifier = { + trade_good_stone_buy_price_mult = low_buy_price_reduction_tier_2 + } + on_complete = { + } + next_building = quarry_port_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +quarry_port_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { is_coastal_county = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_stone_production_mult = quarry_port_stone_mult_tier_3 + prosperity_growth = low_prosperity_tier_3 + } + market_modifier = { + trade_good_stone_buy_price_mult = low_buy_price_reduction_tier_3 + } + on_complete = { + } + next_building = quarry_port_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +quarry_port_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { is_coastal_county = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + trade_good_stone_production_mult = quarry_port_stone_mult_tier_4 + prosperity_growth = low_prosperity_tier_4 + } + market_modifier = { + trade_good_stone_buy_price_mult = low_buy_price_reduction_tier_4 + } + on_complete = { + } + next_building = quarry_port_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +quarry_port_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + county = { is_coastal_county = yes } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + trade_good_stone_production_mult = quarry_port_stone_mult_tier_5 + prosperity_growth = low_prosperity_tier_5 + } + market_modifier = { + trade_good_stone_buy_price_mult = low_buy_price_reduction_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_stone } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +grindstone_maker_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } + on_complete = { + } + next_building = grindstone_maker_2 + type_icon = "resource_buildings/grindstone_maker.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +grindstone_maker_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } + on_complete = { + } + next_building = grindstone_maker_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +grindstone_maker_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } + on_complete = { + } + next_building = grindstone_maker_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +grindstone_maker_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } + on_complete = { + } + next_building = grindstone_maker_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +grindstone_maker_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_mining_tax = grindstone_maker_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/sugar_district_buildings.txt b/common/buildings/resource_district_buildings/sugar_district_buildings.txt new file mode 100644 index 000000000..04cd8d42b --- /dev/null +++ b/common/buildings/resource_district_buildings/sugar_district_buildings.txt @@ -0,0 +1,1487 @@ + + +small_sugar_plantations_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + NOT = { + has_building_or_higher = sugar_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_sugar_production_add = minor_sugar_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = small_sugar_plantations_2 + type_icon = "district_buildings/sugar_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_new_building_modifier = yes + } +} + +sugar_distillery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_1_main_income_tribal + } + market_modifier = { + trade_good_sugar_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = sugar_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +sugar_distillery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + market_modifier = { + trade_good_sugar_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = sugar_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +sugar_distillery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_3_main_income_tribal + } + market_modifier = { + trade_good_sugar_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = sugar_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +sugar_distillery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_good_sugar_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + next_building = sugar_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +sugar_distillery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_5_main_income_tribal + } + market_modifier = { + trade_good_sugar_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = resource_tier_2_main_income_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +small_sugar_plantations_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + NOT = { + has_building_or_higher = sugar_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_sugar_production_add = minor_sugar_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = small_sugar_plantations_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +small_sugar_plantations_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + NOT = { + has_building_or_higher = sugar_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_sugar_production_add = minor_sugar_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +sugar_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_sugar_production_add = precious_crops_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = sugar_resource_building_2 + type_icon = "district_buildings/sugar_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_new_building_modifier = yes + } +} + +sugar_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_sugar_production_add = precious_crops_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = sugar_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +sugar_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_sugar_production_add = precious_crops_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = sugar_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +sugar_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_sugar_production_add = precious_crops_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = sugar_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +sugar_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_sugar_production_add = precious_crops_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = sugar_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +sugar_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_sugar_production_add = precious_crops_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = sugar_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +sugar_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_sugar_production_add = precious_crops_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = sugar_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +sugar_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_sugar_production_add = precious_crops_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + on_complete = { + + } + + next_building = sugar_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +sugar_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_sugar_production_add = precious_crops_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + next_building = sugar_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +sugar_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_sugar } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_sugar_production_add = precious_crops_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = luxuries_resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_sugar_production_mult = 0.25 + } + + province_terrain_modifier = { + + } + + county_modifier = { + + } + + county_holder_character_modifier = { + + } + + character_modifier = { + + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_sugar_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_sugar } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +confectionary_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_1_tribal + } + + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } + + on_complete = { + + } + + next_building = confectionary_2 + type_icon = "resource_buildings/sugar_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +confectionary_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_2_tribal + } + + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } + + on_complete = { + + } + + next_building = confectionary_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +confectionary_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_3_tribal + } + + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } + + on_complete = { + + } + + next_building = confectionary_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +confectionary_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_4_tribal + } + + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } + + on_complete = { + + } + + next_building = confectionary_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +confectionary_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = rice_confectionary_income_tier_5_tribal + } + + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/tea_district_buildings.txt b/common/buildings/resource_district_buildings/tea_district_buildings.txt new file mode 100644 index 000000000..fb7839b80 --- /dev/null +++ b/common/buildings/resource_district_buildings/tea_district_buildings.txt @@ -0,0 +1,1528 @@ +tea_gardens_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_tea } + NOT = { + has_building_or_higher = tea_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_tea_production_add = minor_tea_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + on_complete = { + + } + + next_building = tea_gardens_2 + type_icon = "resource_buildings/tea_gardens.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +tea_gardens_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + NOT = { + has_building_or_higher = tea_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_tea_production_add = minor_tea_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + on_complete = { + + } + + next_building = tea_gardens_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +tea_gardens_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + NOT = { + has_building_or_higher = tea_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_tea_production_add = minor_tea_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +tea_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_tea } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_tea_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + + } + + next_building = tea_resource_building_2 + type_icon = "resource_buildings/tea_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +tea_resource_building_2 = { + construction_time = construction_time_9_months + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_tea_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +tea_resource_building_3 = { + construction_time = construction_time_1_year + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_tea_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +tea_resource_building_4 = { + construction_time = construction_time_2_years + + can_construct_showing_failures_only = { + building_artisanal_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_tea_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +tea_resource_building_5 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_tea_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +tea_resource_building_6 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_tea_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +tea_resource_building_7 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_tea_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +tea_resource_building_8 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_tea_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +tea_resource_building_9 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_tea_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + next_building = tea_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +tea_resource_building_10 = { + construction_time = construction_time_3_years + + can_construct_showing_failures_only = { + building_artisanal_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_tea_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_tea_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_tea_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +# Tea Charcoal Burners +tea_charcoal_burners_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_charcoal_burners_tea_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = tea_charcoal_burners_2 + type_icon = "resource_buildings/coal_pile.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} +tea_charcoal_burners_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_charcoal_burners_tea_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = tea_charcoal_burners_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +tea_charcoal_burners_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_charcoal_burners_tea_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = tea_charcoal_burners_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +tea_charcoal_burners_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_charcoal_burners_tea_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = tea_charcoal_burners_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +tea_charcoal_burners_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_charcoal_burners_tea_mult_per_wood_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = tea_charcoal_burners_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +# Local Tea Houses +local_tea_house_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + NOT = { + has_building_or_higher = tea_house_1 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_tier_1 + } + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } + on_complete = { + } + next_building = local_tea_house_2 + type_icon = "resource_buildings/tea_stalls.dds" + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 1 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_new_building_modifier = yes + } +} +local_tea_house_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + NOT = { + has_building_or_higher = tea_house_1 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_tier_2 + } + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } + on_complete = { + } + next_building = local_tea_house_3 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 2 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +local_tea_house_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + NOT = { + has_building_or_higher = tea_house_1 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_tier_3 + } + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } + on_complete = { + } + next_building = local_tea_house_4 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 3 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +local_tea_house_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + NOT = { + has_building_or_higher = tea_house_1 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_tier_4 + } + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } + on_complete = { + } + next_building = local_tea_house_5 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 4 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +local_tea_house_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + NOT = { + has_building_or_higher = tea_house_1 + } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_tier_5 + } + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 5 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +# Jar Packing Workshops +jar_packing_workshops_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = jar_packing_workshops_prosperity_tier_1 + } + market_modifier = { + trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + } + next_building = jar_packing_workshops_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} +jar_packing_workshops_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = jar_packing_workshops_prosperity_tier_2 + } + market_modifier = { + trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + } + next_building = jar_packing_workshops_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} +jar_packing_workshops_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = jar_packing_workshops_prosperity_tier_3 + } + market_modifier = { + trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + } + next_building = jar_packing_workshops_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} +jar_packing_workshops_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = jar_packing_workshops_prosperity_tier_4 + } + market_modifier = { + trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + } + next_building = jar_packing_workshops_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} +jar_packing_workshops_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { + has_building_or_higher = tea_house_1 + } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = jar_packing_workshops_prosperity_tier_5 + } + market_modifier = { + trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + can_be_filled_multiple_times = 5 + + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = jar_packing_workshops_agricultural_tax_per_ceramics_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt b/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt new file mode 100644 index 000000000..c3727502b --- /dev/null +++ b/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt @@ -0,0 +1,10127 @@ +#Wanua Resource Barter Buildings + +# Wanua Wood Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_wood_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_wood_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wood + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wood_barter_2 = { + next_building = wanua_wood_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wood + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wood_barter_3 = { + next_building = wanua_wood_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wood + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wood_barter_4 = { + next_building = wanua_wood_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wood + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wood_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wood + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Grain Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_grain_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_grain_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_grain + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_grain_barter_2 = { + next_building = wanua_grain_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_grain + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_grain_barter_3 = { + next_building = wanua_grain_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_grain + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_grain_barter_4 = { + next_building = wanua_grain_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_grain + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_grain_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_grain + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Wool Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_wool_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_wool_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wool_barter_2 = { + next_building = wanua_wool_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wool_barter_3 = { + next_building = wanua_wool_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wool_barter_4 = { + next_building = wanua_wool_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wool_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_wool + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Cattle Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_cattle_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_cattle_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cattle_barter_2 = { + next_building = wanua_cattle_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cattle_barter_3 = { + next_building = wanua_cattle_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cattle_barter_4 = { + next_building = wanua_cattle_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cattle_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cattle + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Cotton Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_cotton_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_cotton_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cotton + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cotton_barter_2 = { + next_building = wanua_cotton_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cotton + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cotton_barter_3 = { + next_building = wanua_cotton_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cotton + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cotton_barter_4 = { + next_building = wanua_cotton_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cotton + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_cotton_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_cotton + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Stone Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_stone_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_stone_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_stone + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_stone_barter_2 = { + next_building = wanua_stone_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_stone + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_stone_barter_3 = { + next_building = wanua_stone_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_stone + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_stone_barter_4 = { + next_building = wanua_stone_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_stone + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_stone_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_stone + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Fish Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_fish_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_fish_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fish_barter_2 = { + next_building = wanua_fish_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fish_barter_3 = { + next_building = wanua_fish_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fish_barter_4 = { + next_building = wanua_fish_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fish_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fish + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Wine Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_wine_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_wine_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wine_barter_2 = { + next_building = wanua_wine_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wine_barter_3 = { + next_building = wanua_wine_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wine_barter_4 = { + next_building = wanua_wine_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_wine_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + production_of_trade_good_type = { + target = trade_good_type:trade_good_wine + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Oil Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_oil_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_oil_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_oil_barter_2 = { + next_building = wanua_oil_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_oil_barter_3 = { + next_building = wanua_oil_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_oil_barter_4 = { + next_building = wanua_oil_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_oil_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_oil + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Rice Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_rice_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_rice_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_rice + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_rice_barter_2 = { + next_building = wanua_rice_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_rice + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_rice_barter_3 = { + next_building = wanua_rice_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_rice + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_rice_barter_4 = { + next_building = wanua_rice_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_rice + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_rice_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_rice + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Millet Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_millet_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_millet_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_millet + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_millet_barter_2 = { + next_building = wanua_millet_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_millet + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_millet_barter_3 = { + next_building = wanua_millet_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_millet + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_millet_barter_4 = { + next_building = wanua_millet_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_millet + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_millet_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_millet + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Salt Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_salt_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_salt_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_salt_barter_2 = { + next_building = wanua_salt_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_salt_barter_3 = { + next_building = wanua_salt_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_salt_barter_4 = { + next_building = wanua_salt_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_salt_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Amber Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_amber_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_amber_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_amber + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_amber_barter_2 = { + next_building = wanua_amber_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_amber + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_amber_barter_3 = { + next_building = wanua_amber_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_amber + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_amber_barter_4 = { + next_building = wanua_amber_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_amber + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_amber_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_amber + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_amber } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Silk Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_silk_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_silk_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silk + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_silk_barter_2 = { + next_building = wanua_silk_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silk + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_silk_barter_3 = { + next_building = wanua_silk_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silk + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_silk_barter_4 = { + next_building = wanua_silk_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silk + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_silk_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silk + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silk } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Furs Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_furs_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_furs_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_furs_barter_2 = { + next_building = wanua_furs_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_furs_barter_3 = { + next_building = wanua_furs_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_furs_barter_4 = { + next_building = wanua_furs_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_furs_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_furs + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Spices Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_spices_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_spices_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_spices + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_spices_barter_2 = { + next_building = wanua_spices_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_spices + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_spices_barter_3 = { + next_building = wanua_spices_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_spices + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_spices_barter_4 = { + next_building = wanua_spices_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_spices + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_spices_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_spices + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Tea Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_tea_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_tea_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_tea + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_tea_barter_2 = { + next_building = wanua_tea_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_tea + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_tea_barter_3 = { + next_building = wanua_tea_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_tea + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_tea_barter_4 = { + next_building = wanua_tea_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_tea + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_tea_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_tea + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Dyes Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_dyes_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_dyes_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_dyes + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_dyes_barter_2 = { + next_building = wanua_dyes_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_dyes + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_dyes_barter_3 = { + next_building = wanua_dyes_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_dyes + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_dyes_barter_4 = { + next_building = wanua_dyes_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_dyes + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_dyes_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_dyes + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Ivory Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_ivory_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_ivory_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ivory + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ivory_barter_2 = { + next_building = wanua_ivory_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ivory + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ivory_barter_3 = { + next_building = wanua_ivory_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ivory + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ivory_barter_4 = { + next_building = wanua_ivory_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ivory + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ivory_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ivory + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ivory } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Sugar Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_sugar_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_sugar_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_sugar + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_sugar_barter_2 = { + next_building = wanua_sugar_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_sugar + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_sugar_barter_3 = { + next_building = wanua_sugar_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_sugar + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_sugar_barter_4 = { + next_building = wanua_sugar_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_sugar + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_sugar_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_sugar + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_sugar } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Incense Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_incense_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_incense_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_incense + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_incense_barter_2 = { + next_building = wanua_incense_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_incense + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_incense_barter_3 = { + next_building = wanua_incense_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_incense + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_incense_barter_4 = { + next_building = wanua_incense_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_incense + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_incense_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_incense + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Medicaments Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_medicaments_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_medicaments_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_medicaments + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_medicaments_barter_2 = { + next_building = wanua_medicaments_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_medicaments + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_medicaments_barter_3 = { + next_building = wanua_medicaments_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_medicaments + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_medicaments_barter_4 = { + next_building = wanua_medicaments_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_medicaments + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_medicaments_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_medicaments + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Ceramics Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_ceramics_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_ceramics_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ceramics + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ceramics_barter_2 = { + next_building = wanua_ceramics_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ceramics + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ceramics_barter_3 = { + next_building = wanua_ceramics_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ceramics + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ceramics_barter_4 = { + next_building = wanua_ceramics_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ceramics + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_ceramics_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_ceramics + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Hemp Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_hemp_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_hemp_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_hemp + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_hemp_barter_2 = { + next_building = wanua_hemp_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_hemp + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_hemp_barter_3 = { + next_building = wanua_hemp_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_hemp + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_hemp_barter_4 = { + next_building = wanua_hemp_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_hemp + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_hemp_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_hemp + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_hemp } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Flax Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_flax_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_flax_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_flax + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_flax_barter_2 = { + next_building = wanua_flax_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_flax + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_flax_barter_3 = { + next_building = wanua_flax_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_flax + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_flax_barter_4 = { + next_building = wanua_flax_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_flax + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_flax_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_flax + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_flax } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Honey Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_honey_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_honey_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_honey + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_honey_barter_2 = { + next_building = wanua_honey_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_honey + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_honey_barter_3 = { + next_building = wanua_honey_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_honey + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_honey_barter_4 = { + next_building = wanua_honey_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_honey + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_honey_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_honey + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Fruit Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_fruit_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_fruit_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fruit + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fruit_barter_2 = { + next_building = wanua_fruit_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fruit + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fruit_barter_3 = { + next_building = wanua_fruit_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fruit + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fruit_barter_4 = { + next_building = wanua_fruit_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fruit + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_fruit_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_fruit + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Horses Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_horses_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_horses_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_horses + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_horses_barter_2 = { + next_building = wanua_horses_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_horses + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_horses_barter_3 = { + next_building = wanua_horses_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_horses + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_horses_barter_4 = { + next_building = wanua_horses_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_horses + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_horses_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_horses + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Iron Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_iron_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_iron_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_iron_barter_2 = { + next_building = wanua_mine_iron_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_iron_barter_3 = { + next_building = wanua_mine_iron_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_iron_barter_4 = { + next_building = wanua_mine_iron_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_iron_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_iron + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Copper Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_copper_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_copper_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_copper_barter_2 = { + next_building = wanua_mine_copper_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_copper_barter_3 = { + next_building = wanua_mine_copper_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_copper_barter_4 = { + next_building = wanua_mine_copper_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_copper_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_copper + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_copper } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Gold Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_gold_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_gold_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gold_barter_2 = { + next_building = wanua_mine_gold_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gold_barter_3 = { + next_building = wanua_mine_gold_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gold_barter_4 = { + next_building = wanua_mine_gold_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gold_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gold + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gold } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Silver Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_silver_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_silver_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_silver_barter_2 = { + next_building = wanua_mine_silver_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_silver_barter_3 = { + next_building = wanua_mine_silver_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_silver_barter_4 = { + next_building = wanua_mine_silver_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_silver_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_silver + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_silver } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Gems Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_gems_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_gems_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gems + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gems_barter_2 = { + next_building = wanua_mine_gems_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gems + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gems_barter_3 = { + next_building = wanua_mine_gems_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gems + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gems_barter_4 = { + next_building = wanua_mine_gems_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gems + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_gems_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_gems + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_gems } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Alum Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_alum_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_alum_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_alum_barter_2 = { + next_building = wanua_mine_alum_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_alum_barter_3 = { + next_building = wanua_mine_alum_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_alum_barter_4 = { + next_building = wanua_mine_alum_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_alum_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_alum + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Jade Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_jade_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_jade_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_jade + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_jade_barter_2 = { + next_building = wanua_mine_jade_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_jade + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_jade_barter_3 = { + next_building = wanua_mine_jade_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_jade + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_jade_barter_4 = { + next_building = wanua_mine_jade_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_jade + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_jade_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_jade + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jade } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +# Wanua Salt Mine Barter +# Gives monthly_barter_goods from Wanua barter needs. + +wanua_mine_salt_barter_1 = { + type_icon = regular_buildings/barter_warehouses.dds + next_building = wanua_mine_salt_barter_2 + cost_gold = resource_district_normal_tier_1_cost + construction_time = construction_time_6_months + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_salt_barter_2 = { + next_building = wanua_mine_salt_barter_3 + cost_gold = resource_district_normal_tier_2_cost + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_salt_barter_3 = { + next_building = wanua_mine_salt_barter_4 + cost_gold = resource_district_normal_tier_3_cost + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_salt_barter_4 = { + next_building = wanua_mine_salt_barter_5 + cost_gold = resource_district_normal_tier_4_cost + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} + +wanua_mine_salt_barter_5 = { + cost_gold = resource_district_normal_tier_5_cost + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct = { + } + can_construct_potential = { + production_of_trade_good_type = { + target = trade_good_type:trade_good_salt + value > 0 + } + scope:holder = { + government_has_flag = government_is_wanua + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + building_requirement_wanua = yes + } + province_modifier = { + } + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + modifier = { + add = 12 + scope:holder = { + government_has_flag = government_is_wanua + } + } + modifier = { + factor = 0 + NOT = { + scope:holder = { + government_has_flag = government_is_wanua + } + } + } + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + } +} diff --git a/common/buildings/resource_district_buildings/wine_district_buildings.txt b/common/buildings/resource_district_buildings/wine_district_buildings.txt new file mode 100644 index 000000000..bf42d33ba --- /dev/null +++ b/common/buildings/resource_district_buildings/wine_district_buildings.txt @@ -0,0 +1,2061 @@ +small_winery_1 = { + construction_time = construction_time_6_months + + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + county = { has_potential_for_trade_good = trade_good_type:trade_good_wine } + NOT = { + has_building_or_higher = wine_resource_building_1 + } + } + + can_construct_showing_failures_only = { + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_wine_production_add = minor_wine_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.15 + } + + on_complete = { + + } + + next_building = small_winery_2 + type_icon = "resource_buildings/wine_buildings.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } +} + +small_winery_2 = { + construction_time = construction_time_9_months + + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + county = { has_potential_for_trade_good = trade_good_type:trade_good_wine } + NOT = { + has_building_or_higher = wine_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { #Base increase + trade_good_wine_production_add = minor_wine_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.3 + monthly_prestige_gain_mult = 0.01 + } + + on_complete = { + + } + + next_building = small_winery_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +small_winery_3 = { + construction_time = construction_time_1_year + + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + county = { has_potential_for_trade_good = trade_good_type:trade_good_wine } + NOT = { + has_building_or_higher = wine_resource_building_1 + } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { #Base increase + trade_good_wine_production_add = minor_wine_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.5 + monthly_prestige_gain_mult = 0.01 + } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +wine_resource_building_1 = { + construction_time = construction_time_6_months + + + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + county = { has_potential_for_trade_good = trade_good_type:trade_good_wine } + } + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wine_production_add = tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.1 + monthly_prestige_gain_mult = 0.01 + } + + on_complete = { + + } + + next_building = wine_resource_building_2 + type_icon = "district_buildings/wine_district.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } +} + +wine_resource_building_2 = { + construction_time = construction_time_9_months + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wine_production_add = tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.2 + monthly_prestige_gain_mult = 0.02 + } + + next_building = wine_resource_building_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +wine_resource_building_3 = { + construction_time = construction_time_1_year + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wine_production_add = tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.3 + monthly_prestige_gain_mult = 0.03 + } + + next_building = wine_resource_building_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +wine_resource_building_4 = { + construction_time = construction_time_2_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + + is_enabled = { + + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wine_production_add = tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.4 + monthly_prestige_gain_mult = 0.04 + } + + next_building = wine_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +wine_resource_building_5 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wine_production_add = tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.5 + monthly_prestige_gain_mult = 0.05 + } + + next_building = wine_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +wine_resource_building_6 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_6_cost + + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wine_production_add = tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.6 + monthly_prestige_gain_mult = 0.06 + } + + next_building = wine_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +wine_resource_building_7 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_7_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wine_production_add = tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.7 + monthly_prestige_gain_mult = 0.07 + } + + next_building = wine_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +wine_resource_building_8 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_8_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wine_production_add = tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.8 + monthly_prestige_gain_mult = 0.08 + } + + next_building = wine_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +wine_resource_building_9 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_9_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wine_production_add = tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 0.9 + monthly_prestige_gain_mult = 0.09 + } + + next_building = wine_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +wine_resource_building_10 = { + construction_time = construction_time_3_years + can_construct_potential = { + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_10_cost + + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wine_production_add = tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wine_production_mult = 0.25 + } + + + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wine_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + character_culture_modifier = { + parameter = wine_prestige_boost + monthly_prestige = 1 + monthly_prestige_gain_mult = 0.1 + } + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +beam_press_1 = { + construction_time = construction_time_6_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + trade_good_wine_production_mult = beam_press_wine_mult_tier_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_1_tribal + } + on_complete = { + + } + + next_building = beam_press_2 + type_icon = "resource_buildings/beam_press.dds" + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } +} + +beam_press_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + trade_good_wine_production_mult = beam_press_wine_mult_tier_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_2_tribal + } + on_complete = { + + } + + next_building = beam_press_3 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +beam_press_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + trade_good_wine_production_mult = beam_press_wine_mult_tier_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_3_tribal + } + on_complete = { + + } + + next_building = beam_press_4 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +beam_press_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + trade_good_wine_production_mult = beam_press_wine_mult_tier_4 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_4_tribal + } + on_complete = { + + } + + next_building = beam_press_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +beam_press_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + trade_good_wine_production_mult = beam_press_wine_mult_tier_5 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = beam_press_agricultural_tax_tier_5_tribal + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +long_term_wine_storage_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_1_cost + + province_modifier = { + prosperity_growth = long_term_wine_storage_prosperity_tier_1 + } + + + + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } + on_complete = { + + } + + next_building = long_term_wine_storage_2 + type_icon = "resource_buildings/long_term_wine_storage.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +long_term_wine_storage_2 = { + construction_time = construction_time_9_months + + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_2_cost + + province_modifier = { + prosperity_growth = long_term_wine_storage_prosperity_tier_2 + } + + + + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } + on_complete = { + + } + + next_building = long_term_wine_storage_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +long_term_wine_storage_3 = { + construction_time = construction_time_1_year + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_3_cost + + province_modifier = { + prosperity_growth = long_term_wine_storage_prosperity_tier_3 + } + + + + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } + on_complete = { + + } + + next_building = long_term_wine_storage_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +long_term_wine_storage_4 = { + construction_time = construction_time_2_years + + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_4_cost + + province_modifier = { + prosperity_growth = long_term_wine_storage_prosperity_tier_4 + } + + + + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } + on_complete = { + + } + + next_building = long_term_wine_storage_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +long_term_wine_storage_5 = { + construction_time = construction_time_3_years + + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + + can_construct_showing_failures_only = { + } + + show_disabled = yes + + can_construct = { + } + + cost_gold = resource_district_normal_tier_5_cost + + province_modifier = { + prosperity_growth = long_term_wine_storage_prosperity_tier_5 + } + + + + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +vinegar_stores_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = vinegar_stores_2 + type_icon = "resource_buildings/vinegar_stores.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + +} + +vinegar_stores_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 3 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = vinegar_stores_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +vinegar_stores_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = vinegar_stores_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +vinegar_stores_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = vinegar_stores_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +vinegar_stores_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = vinegar_stores_agricultural_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +wine_distillery_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = wine_distillery_medicaments_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = wine_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + +} + +wine_distillery_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 7 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = wine_distillery_medicaments_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = wine_distillery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +wine_distillery_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = wine_distillery_medicaments_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = wine_distillery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +wine_distillery_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = wine_distillery_medicaments_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = wine_distillery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +wine_distillery_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + NOT = { rite = { rite_has_parameter = alcohol_forbidden_strict } } + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = wine_distillery_medicaments_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = wine_distillery_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} + +tartar_collector_1 = { + + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_alum_production_add = tartar_collector_alum_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = tartar_collector_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_new_building_modifier = yes + } + +} + +tartar_collector_2 = { + + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_alum_production_add = tartar_collector_alum_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = tartar_collector_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + +} + +tartar_collector_3 = { + + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_alum_production_add = tartar_collector_alum_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = tartar_collector_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + +} + +tartar_collector_4 = { + + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_alum_production_add = tartar_collector_alum_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + next_building = tartar_collector_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + +} + +tartar_collector_5 = { + + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = tartar_collector_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_alum_production_add = tartar_collector_alum_output_per_wine_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = tartar_collector_artisan_tax_per_wine_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + +} diff --git a/common/buildings/resource_district_buildings/wood_district_buildings.txt b/common/buildings/resource_district_buildings/wood_district_buildings.txt new file mode 100644 index 000000000..04a3bccc4 --- /dev/null +++ b/common/buildings/resource_district_buildings/wood_district_buildings.txt @@ -0,0 +1,2273 @@ +#Secondary Resource Wood Line - Wood potential but other main building +minor_forestry_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + NOT = { + has_building_or_higher = forestry_resource_building_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_wood_production_add = minor_wood_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_1_main_income_tribal + } + on_complete = { + } + next_building = minor_forestry_2 + type_icon = "resource_buildings/logging_camps.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_new_building_modifier = yes + } +} + +minor_forestry_2 = { + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + NOT = { + has_building_or_higher = forestry_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + trade_good_wood_production_add = minor_wood_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income #Base increase + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income_tribal + } + on_complete = { + } + next_building = minor_forestry_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +minor_forestry_3 = { + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + NOT = { + has_building_or_higher = forestry_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_wood_production_add = minor_wood_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income #Base increase + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_3_main_income_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +#Main Resource Wood Line +forestry_resource_building_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + #Tribal Era + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wood_production_add = wood_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + #No needs on first level + #trade_good_need = { #Tier 1 Need Fulfillment + # trade_good = trade_good_iron #Felling Axes, tools + # amount = metal_resource_need + # modifiers = { + # province_modifier = { + # + # } + # } + #} + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + on_complete = { + } + next_building = forestry_resource_building_2 + type_icon = "district_buildings/wood_district.dds" + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_new_building_modifier = yes + } +} + +forestry_resource_building_2 = { + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wood_production_add = wood_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_3 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +forestry_resource_building_3 = { + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wood_production_add = wood_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_4 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +forestry_resource_building_4 = { + construction_time = construction_time_2_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wood_production_add = wood_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_low + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_5 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +forestry_resource_building_5 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wood_production_add = wood_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_6 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +forestry_resource_building_6 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wood_production_add = wood_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_7 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +forestry_resource_building_7 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wood_production_add = wood_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_8 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +forestry_resource_building_8 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wood_production_add = wood_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_mid + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_9 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +forestry_resource_building_9 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wood_production_add = wood_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = forestry_resource_building_10 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +forestry_resource_building_10 = { + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wood } + } + can_construct_showing_failures_only = { + building_forest_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wood_production_add = wood_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = wood_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = wood_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wood_production_mult = 0.25 + } + market_modifier = { + trade_good_iron_sell_price_mult = price_metal_building_1 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wood_production_mult = 0.1 + monthly_woodland_tax = industrious_tradition_tax_bonus_high + } + + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +#Charcoal Production +#Unlocks other buildings and increases income from base Levels +charcoal_production_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = low_resource_district_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = charcoal_production_2 + type_icon = "resource_buildings/coal_pile.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +charcoal_production_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = low_resource_district_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = charcoal_production_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +charcoal_production_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = low_resource_district_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = charcoal_production_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +charcoal_production_4 = { + construction_time = construction_time_2_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = low_resource_district_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + next_building = charcoal_production_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +charcoal_production_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = low_resource_district_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = charcoal_woodland_tax_per_wood_need_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#Forest Glas +#Main Source of Glass for most of the Game +#Turns Wood into Glass +forest_glass_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = charcoal_production_1 + } + is_enabled = { + has_building_or_higher = charcoal_production_1 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wood #Uses Wood to make Glass + amount = major_basic_resource_need + modifiers = { + province_modifier = { + trade_good_glass_production_add = forest_glass_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level_tribal + } + } + } + on_complete = { + } + next_building = forest_glass_2 + type_icon = "resource_buildings/forest_glass.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_new_building_modifier = yes + } +} + +forest_glass_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = charcoal_production_2 + } + is_enabled = { + has_building_or_higher = charcoal_production_2 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wood #Uses Wood to make Glass + amount = major_basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_glass_production_add = forest_glass_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level_tribal + } + } + } + on_complete = { + } + next_building = forest_glass_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +forest_glass_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = charcoal_production_3 + } + is_enabled = { + has_building_or_higher = charcoal_production_3 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wood #Uses Wood to make Glass + amount = major_basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_glass_production_add = forest_glass_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level_tribal + } + } + } + on_complete = { + } + next_building = forest_glass_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +forest_glass_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = charcoal_production_4 + } + is_enabled = { + has_building_or_higher = charcoal_production_4 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wood #Uses Wood to make Glass + amount = major_basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_glass_production_add = forest_glass_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level_tribal + } + } + } + on_complete = { + } + next_building = forest_glass_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +forest_glass_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + has_building_or_higher = charcoal_production_5 + } + is_enabled = { + has_building_or_higher = charcoal_production_5 + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = forest_glass_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wood #Uses Wood to make Glass + amount = major_basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_glass_production_add = forest_glass_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_glass_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#construction_aid = {} - Estover Concessions + +#tar_kiln_1 = { } + +#Hunting Lodges +#Turns Wood into Meat +hunting_lodges_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_1_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_meat_production_add = meat_output_from_wood_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level_tribal + } + } + } + on_complete = { + } + next_building = hunting_lodges_2 + type_icon = "resource_buildings/meat_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } +} + +hunting_lodges_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_2_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_meat_production_add = meat_output_from_wood_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level_tribal + } + } + } + on_complete = { + } + next_building = hunting_lodges_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +hunting_lodges_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_3_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_meat_production_add = meat_output_from_wood_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level_tribal + } + } + } + on_complete = { + } + next_building = hunting_lodges_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +hunting_lodges_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_4_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_meat_production_add = meat_output_from_wood_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level_tribal + } + } + } + on_complete = { + } + next_building = hunting_lodges_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +hunting_lodges_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + building_requirement_meat_allowed = yes + } + + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = hunting_lodges_income_tier_5_tribal + } + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_meat_production_add = meat_output_from_wood_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_meat_from_wood_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} +#Charcoal->Soap Workshop + +firewood_collection_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_1 #Woodland Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_1_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } + on_complete = { + } + next_building = firewood_collection_2 + type_icon = "resource_buildings/wood_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +firewood_collection_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_2 #Woodland Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_2_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } + on_complete = { + } + next_building = firewood_collection_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +firewood_collection_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_3 #Woodland Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_3_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } + on_complete = { + } + next_building = firewood_collection_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +firewood_collection_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_4 #Woodland Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_4_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } + on_complete = { + } + next_building = firewood_collection_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +firewood_collection_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_cheap_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_5 #Woodland Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = firewood_income_tier_5_tribal + } + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +lacquerware_workshop_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_lacquerware_buildings } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + prosperity_growth = 0.01 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_2_main_income_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + trade_good_need = { #1 + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_add = lacquerware_output_per_wood + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level_tribal + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = lacquerware_workshop_2 + type_icon = "resource_buildings/lacquerware_workshop.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_new_building_modifier = yes + } +} + +lacquerware_workshop_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_lacquerware_buildings } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + prosperity_growth = 0.02 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_4_main_income_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + trade_good_need = { #1 + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_lacquerware_production_add = lacquerware_output_per_wood + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level_tribal + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = lacquerware_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +lacquerware_workshop_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_lacquerware_buildings } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + prosperity_growth = 0.03 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_6_main_income_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + trade_good_need = { #1 + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_lacquerware_production_add = lacquerware_output_per_wood + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level_tribal + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = lacquerware_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +lacquerware_workshop_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_lacquerware_buildings } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + prosperity_growth = 0.04 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_8_main_income_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + trade_good_need = { #1 + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_lacquerware_production_add = lacquerware_output_per_wood + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level_tribal + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + next_building = lacquerware_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +lacquerware_workshop_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + culture = { has_cultural_parameter = unlock_lacquerware_buildings } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + prosperity_growth = 0.05 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income #Artisan Income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = resource_tier_10_main_income_tribal + } + market_modifier = { + trade_good_dyes_sell_price_mult = price_basic_building_1 + } + trade_good_need = { #1 + trade_good = trade_good_wood + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_lacquerware_production_add = lacquerware_output_per_wood + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_woodland_tax = monthly_tax_per_lacquerware_level_tribal + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + #1 dyes + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_lacquerware_production_mult = lacquerware_mult_per_dyes + woodland_tax_mult = tax_mult_per_production_need + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + diff --git a/common/buildings/resource_district_buildings/wool_district_buildings.txt b/common/buildings/resource_district_buildings/wool_district_buildings.txt new file mode 100644 index 000000000..7a56c804a --- /dev/null +++ b/common/buildings/resource_district_buildings/wool_district_buildings.txt @@ -0,0 +1,2115 @@ +#Wool & Related + +sheep_pastures_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + NOT = { + has_building_or_higher = wool_resource_building_1 + } + } + can_construct_showing_failures_only = { + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + trade_good_wool_production_add = minor_wool_output_1 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_1_tribal + } + on_complete = { + } + next_building = sheep_pastures_2 + type_icon = "resource_buildings/wool_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_new_building_modifier = yes + } +} + +sheep_pastures_2 = { + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + NOT = { + has_building_or_higher = wool_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { #Base increase + trade_good_wool_production_add = minor_wool_output_2 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_2_tribal + } + on_complete = { + } + next_building = sheep_pastures_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +sheep_pastures_3 = { + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + NOT = { + has_building_or_higher = wool_resource_building_1 + } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { #Base increase + trade_good_wool_production_add = minor_wool_output_3 + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = secondary_resource_building_income_3_tribal + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +#Pasture/Shepherding Line +#Linear Increases - No Outside Needs +wool_resource_building_1 = { #Sheep Pastures + construction_time = construction_time_6_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wool_production_add = wool_tier_1_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_1_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.01 + levy_size = 0.01 + } + + on_complete = { + } + next_building = wool_resource_building_2 + type_icon = "district_buildings/wool_district.dds" + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_new_building_modifier = yes + } +} + +wool_resource_building_2 = { #Shearer's Yard + construction_time = construction_time_9_months + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_tribal_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + building_slots_for_host_district = 1 + trade_good_wool_production_add = wool_tier_2_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_2_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.02 + levy_size = 0.02 + } + + on_complete = { + } + next_building = wool_resource_building_3 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } +} + +wool_resource_building_3 = { #Felt Shops + construction_time = construction_time_1_year + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wool_production_add = wool_tier_3_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_3_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.03 + levy_size = 0.03 + } + + on_complete = { + } + next_building = wool_resource_building_4 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } +} + +wool_resource_building_4 = { #Enclosed Pastures + construction_time = construction_time_2_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_early_medieval_trigger = yes + holding_district_level_2_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + building_slots_for_host_district = 2 + trade_good_wool_production_add = wool_tier_4_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_4_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_low + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.04 + levy_size = 0.04 + } + + on_complete = { + } + next_building = wool_resource_building_5 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } +} + +wool_resource_building_5 = { #Scouring House + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wool_production_add = wool_tier_5_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_5_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + #Enables Ointment Buildings + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.05 + levy_size = 0.05 + } + + on_complete = { + } + next_building = wool_resource_building_6 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } +} + +wool_resource_building_6 = { #Sorting and Grading Hall + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_high_medieval_trigger = yes + holding_district_level_3_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_6_cost + province_modifier = { + building_slots_for_host_district = 3 + trade_good_wool_production_add = wool_tier_6_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_6_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.06 + levy_size = 0.06 + } + + on_complete = { + } + next_building = wool_resource_building_7 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } +} + +wool_resource_building_7 = { #Wool Merchant's Guild + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_7_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wool_production_add = wool_tier_7_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_7_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.07 + levy_size = 0.07 + } + + on_complete = { + } + next_building = wool_resource_building_8 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } +} + +wool_resource_building_8 = { #Breeding Folds + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_8_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wool_production_add = wool_tier_8_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_8_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_mid + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.08 + levy_size = 0.08 + } + + on_complete = { + } + next_building = wool_resource_building_9 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } +} + +wool_resource_building_9 = { #Managed Grazing + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_9_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wool_production_add = wool_tier_9_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_9_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.09 + levy_size = 0.09 + } + + on_complete = { + } + next_building = wool_resource_building_10 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } +} + +wool_resource_building_10 = { #Wool Warehouses + construction_time = construction_time_3_years + can_construct_potential = { + county = { has_potential_for_trade_good = trade_good_type:trade_good_wool } + } + can_construct_showing_failures_only = { + building_farmed_late_medieval_trigger = yes + holding_district_level_4_trigger = yes + } + is_enabled = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_10_cost + province_modifier = { + building_slots_for_host_district = 4 + trade_good_wool_production_add = wool_tier_10_main_resource + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = resource_tier_10_main_income_tribal + } + province_terrain_modifier = { + parameter = mountaineer_ruralism_mountain_production + terrain = mountains + trade_good_wool_production_mult = 0.25 + } + + province_culture_modifier = { + parameter = industrious_productivity_bonus + trade_good_wool_production_mult = 0.1 + monthly_agricultural_tax = industrious_tradition_tax_bonus_high + } + + province_culture_modifier = { + parameter = pastoralists_district_bonuses + stationed_light_cavalry_maintenance_low_modifier = -0.02 + stationed_light_cavalry_maintenance_high_modifier = -0.02 + agricultural_tax_mult = 0.1 + levy_size = 0.1 + } + + on_complete = { + } + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } + trade_good_need = { + trade_good = trade_good_tea + amount = tea_herder_need + culture_parameter = butter_tea_drinking + modifiers = { + province_modifier = { + trade_good_wool_production_mult = tea_herd_output_mult + trade_good_cattle_production_mult = tea_herd_output_mult + } + } + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } +} + +ointment_maker_1 = { #Requires lvl 5 of main Building (Scouring House) + #Makes a small amount of Medicaments on the side + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = ointment_maker_income_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = ointment_maker_income_1_tribal + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_wool_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_medicament_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_medicament_level_tribal + } + } + } + on_complete = { + } + next_building = ointment_maker_2 + type_icon = "resource_buildings/ointment_maker.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } +} + +ointment_maker_2 = { # + #Makes a small amount of Medicaments on the side + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = ointment_maker_income_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = ointment_maker_income_2_tribal + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_wool_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_medicament_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_medicament_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +textiles_wool_building_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_1_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = textiles_wool_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = textiles_wool_building_2 + type_icon = "resource_buildings/textile_weavery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +textiles_wool_building_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_2_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = textiles_wool_need_per_level + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = textiles_wool_building_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +textiles_wool_building_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_3_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = textiles_wool_need_per_level + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = textiles_wool_building_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +textiles_wool_building_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_4_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = textiles_wool_need_per_level + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = textiles_wool_building_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +textiles_wool_building_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = textiles_income_tier_5_tribal + } + market_modifier = { + trade_good_wool_sell_price_mult = price_textiles_building_1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = textiles_wool_need_per_level + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +# Rug Weaving +# Gives: province: woodland_tax_mult +# Needs: trade_good_wool x1 -> province: inverted_prosperity_per_province_size_level +rug_weaving_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_carpet_weaving } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_modifier = { + woodland_tax_mult = 0.025 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } + on_complete = { + } + next_building = rug_weaving_2 + type_icon = "resource_buildings/tailor_shops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } +} + +# Rug Weaving +# Gives: province: woodland_tax_mult +# Needs: trade_good_wool x2 -> province: inverted_prosperity_per_province_size_level +rug_weaving_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_carpet_weaving } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_modifier = { + woodland_tax_mult = 0.05 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } + on_complete = { + } + next_building = rug_weaving_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +# Rug Weaving +# Gives: province: woodland_tax_mult +# Needs: trade_good_wool x3 -> province: inverted_prosperity_per_province_size_level +rug_weaving_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_carpet_weaving } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + woodland_tax_mult = 0.075 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } + on_complete = { + } + next_building = rug_weaving_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +# Rug Weaving +# Gives: province: woodland_tax_mult +# Needs: trade_good_wool x4 -> province: inverted_prosperity_per_province_size_level +rug_weaving_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_carpet_weaving } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_modifier = { + woodland_tax_mult = 0.1 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } + on_complete = { + } + next_building = rug_weaving_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +# Rug Weaving +# Gives: province: woodland_tax_mult +# Needs: trade_good_wool x5 -> province: inverted_prosperity_per_province_size_level +rug_weaving_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + culture = { has_innovation = innovation_carpet_weaving } + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_modifier = { + woodland_tax_mult = 0.125 + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +wool_oil_finishing_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + market_modifier = { + trade_good_oil_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = textiles_mult_per_oil_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = wool_oil_finishing_2 + type_icon = "resource_buildings/wool_oil_finishing.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +wool_oil_finishing_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + market_modifier = { + trade_good_oil_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = textiles_mult_per_oil_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = wool_oil_finishing_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +wool_oil_finishing_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + market_modifier = { + trade_good_oil_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = textiles_mult_per_oil_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = wool_oil_finishing_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +wool_oil_finishing_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + market_modifier = { + trade_good_oil_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = textiles_mult_per_oil_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + next_building = wool_oil_finishing_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +wool_oil_finishing_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + market_modifier = { + trade_good_oil_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = textiles_mult_per_oil_need + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +#Fulling Mill (Much better output) + +#Tailor Chain: #Textiles+Alum+Dyes = Money + +#Rag Collector/Rag Pickers - paper + +fulling_mill_1 = { + construction_time = construction_time_6_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_1_cost + province_modifier = { + trade_good_textiles_production_mult = fulling_mill_textiles_mult_tier_1 + artisan_tax_mult = fulling_mill_artisan_tax_mult_tier_1 + } + on_complete = { + } + next_building = fulling_mill_2 + type_icon = "old_buildings/watermills.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } +} + +fulling_mill_2 = { + construction_time = construction_time_9_months + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_2_cost + province_modifier = { + trade_good_textiles_production_mult = fulling_mill_textiles_mult_tier_2 + artisan_tax_mult = fulling_mill_artisan_tax_mult_tier_2 + } + on_complete = { + } + next_building = fulling_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +fulling_mill_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_3_cost + province_modifier = { + trade_good_textiles_production_mult = fulling_mill_textiles_mult_tier_3 + artisan_tax_mult = fulling_mill_artisan_tax_mult_tier_3 + } + on_complete = { + } + next_building = fulling_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +fulling_mill_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_4_cost + province_modifier = { + trade_good_textiles_production_mult = fulling_mill_textiles_mult_tier_4 + artisan_tax_mult = fulling_mill_artisan_tax_mult_tier_4 + } + on_complete = { + } + next_building = fulling_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +fulling_mill_5 = { + construction_time = construction_time_3_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_expensive_tier_5_cost + province_modifier = { + trade_good_textiles_production_mult = fulling_mill_textiles_mult_tier_5 + artisan_tax_mult = fulling_mill_artisan_tax_mult_tier_5 + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} + +wool_cheesemaker_1 = { + construction_time = construction_time_6_months + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_1_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_1 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_1_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + modifiers = { + province_modifier = { + trade_good_cheese_production_add = wool_cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = wool_cheesemaker_2 + type_icon = "resource_buildings/wool_cheesemaker.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } +} + +wool_cheesemaker_2 = { + construction_time = construction_time_9_months + district_level_requirement = 2 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_2_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_2 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_2_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = wool_cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = wool_cheesemaker_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } +} + +wool_cheesemaker_3 = { + construction_time = construction_time_1_year + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_3_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_3 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_3_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = wool_cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = wool_cheesemaker_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } +} + +wool_cheesemaker_4 = { + construction_time = construction_time_2_years + district_level_requirement = 5 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_4_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_4 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_4_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = wool_cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + next_building = wool_cheesemaker_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } +} + +wool_cheesemaker_5 = { + construction_time = construction_time_3_years + district_level_requirement = 9 + can_construct_potential = { + building_requirement_non_tribal = yes + } + can_construct_showing_failures_only = { + } + show_disabled = yes + can_construct = { + } + cost_gold = resource_district_normal_tier_5_cost + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_5 + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = wool_cheesemaker_income_tier_5_tribal + } + market_modifier = { + trade_good_salt_sell_price_mult = price_basic_building_1 + } + trade_good_need = { + trade_good = trade_good_salt + amount = low_resource_district_need + + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_cheese_production_add = wool_cheese_output_from_salt_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_cheese_level_tribal + } + } + } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } +} diff --git a/common/buildings/special_buildings/00_special_buildings.txt b/common/buildings/special_buildings/00_special_buildings.txt index 304d4bc96..2c8beb5df 100644 --- a/common/buildings/special_buildings/00_special_buildings.txt +++ b/common/buildings/special_buildings/00_special_buildings.txt @@ -15718,12238 +15718,3 @@ trosky_castle_01 = { flag = travel_point_of_interest_martial } - -########## -# Tower of Pisa -########## - -tower_of_pisa = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/tower_of_pisa.dds" - - asset = { - type = entity - name = "gdp_building_special_pisa_straight_entity" - } - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - character_modifier = { - monthly_prestige_gain_mult = 0.05 - monthly_dynasty_prestige_mult = 0.05 - } - county_modifier = { - popular_opinion_add = building_miniscule_popular_opinion_gain - } - province_modifier = { - monthly_commerce_tax = 2 - } - market_modifier = { - trade_good_stone_sell_price_mult = special_building_need_sell_price - trade_good_salt_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - save_scope_as = tower_of_pisa_province - if = { - limit = { - scope:character ?= { is_ai = no } - } - set_variable = tower_of_pisa_to_inspect - scope:character = { - if = { - limit = { - cp:councillor_steward ?= { is_available_ai_adult = yes } - } - cp:councillor_steward = { save_scope_as = tower_of_pisa_messenger } - } - else_if = { - limit = { - any_councillor = { is_available_ai_adult = yes } - } - random_councillor = { - limit = { is_available_ai_adult = yes } - save_scope_as = tower_of_pisa_messenger - } - } - else_if = { - limit = { - any_courtier = { is_available_ai_adult = yes } - } - random_courtier = { - limit = { is_available_ai_adult = yes } - save_scope_as = tower_of_pisa_messenger - } - } - if = { - limit = { exists = scope:tower_of_pisa_messenger } - trigger_event = gdp_travel_events.2002 - } - else = { - trigger_event = gdp_travel_events.2003 - } - } - } - else = { - county.holder = { - trigger_event = { - id = gdp_travel_events.2001 - days = 1 - } - } - } - } - - ai_value = { - base = 10 - ai_opinion_baseline_building_modifier = { VALUE = 5 } - modifier = { - factor = 0 - free_building_slots > 0 - } - ai_popular_opinion_need_modifier = yes - ai_special_district_modifier = { LEVEL = 1 } - } - - trade_good_need = { - trade_good = trade_good_stone - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - monthly_commerce_tax = special_building_need_tax - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity - } - } - } - - flag = travel_point_of_interest_wonder -} - -tower_of_pisa_leaning = { - type_icon = "special_buildings/tower_of_pisa_leaning.dds" - - asset = { - type = entity - name = "gdp_building_special_pisa_leaning_entity" - } - - can_construct_potential = { - has_variable = tower_of_pisa_leaning_unlocked - } - - character_modifier = { - monthly_prestige_gain_mult = 0.1 - monthly_dynasty_prestige_mult = 0.05 - cultural_head_fascination_mult = 0.1 - } - county_modifier = { - popular_opinion_add = building_minor_popular_opinion_gain - } - province_modifier = { - monthly_commerce_tax = 2 - } - market_modifier = { - trade_good_stone_sell_price_mult = special_building_need_sell_price - trade_good_salt_sell_price_mult = special_building_need_sell_price - } - - trade_good_need = { - trade_good = trade_good_stone - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - monthly_commerce_tax = special_building_need_tax - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - - flag = travel_point_of_interest_wonder -} - -# NEOW original definitions, updated for CK3 1.21 - -# Historic NEOW landmarks, updated to CK3 1.21 prosperity, taxes, graphics and districts. - -leuven_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Court of Europa -########## - - - -court_of_europa_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_manorialism } - building_requirement_tribal = no - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 750 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.25 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige = 0.25 - legitimacy_gain_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_civic_tax = 2 - fort_level = 2 - garrison_size = 0.50 - defender_holding_advantage = 3 - travel_danger = -15 - } - - next_building = court_of_europa_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -court_of_europa_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_windmills } - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 2000 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_lifestyle_xp_gain_mult = 0.10 - monthly_dynasty_prestige = 0.50 - monthly_dynasty_prestige_mult = 0.10 - monthly_prestige = 0.50 - legitimacy_gain_mult = 0.15 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.75 - } - - province_modifier = { - monthly_civic_tax = 3 - fort_level = 5 - garrison_size = 1 - defender_holding_advantage = 5 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Walls of Nijmegen -########## - - - -walls_of_nijmegen_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - scope:holder.culture = { has_innovation = innovation_motte } - building_requirement_tribal = no - } - - cost_gold = 500 - - county_modifier = { - hostile_raid_time = 0.35 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - } - - province_modifier = { - monthly_civic_tax = 0.75 - fort_level = 2 - defender_holding_advantage = 2 - garrison_size = 0.15 - travel_danger = -15 - } - flag = travel_point_of_interest_martial -} - -########## -# Port of Amsterdam -########## - - - -port_of_amsterdam_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 500 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 1 - } - - next_building = port_of_amsterdam_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_amsterdam_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_maritime_tax = 3 - } - - next_building = port_of_amsterdam_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_amsterdam_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 2000 - -county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.20 - naval_movement_speed_mult = 0.20 - } - - county_modifier = { - maritime_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Port of Antwerpen -########## - - - -port_of_antwerpen_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 0.75 - } - - next_building = port_of_antwerpen_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_antwerpen_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_maritime_tax = 2.5 - } - - next_building = port_of_antwerpen_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_antwerpen_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.15 - naval_movement_speed_mult = 0.15 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Zone Rouge - Area filled with unexlpoded munition and other dangerous things left from WW1, as of today its still dangerous and decomposing might take a few thousand years ; cannot be properly cleared without modern equipment -########## - - - -zone_rouge_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - - } - - cost_gold = 50 - - county_modifier = { - prosperity_growth_factor = -0.10 - civic_tax_mult = -0.05 - county_opinion_add = -5 - } - - province_modifier = { - travel_danger = 30 - defender_holding_advantage = 2 - holding_build_gold_cost = 0.15 - build_gold_cost = 0.15 - build_speed = 0.15 - supply_limit_mult = -0.20 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_zone_rouge -} - -########## -# Verdun Memorial -########## - - - -verdun_memorial_01 = { - - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = legends_of_the_dead } - desc = building_funeral_effect_desc - } - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - scope:holder = { - OR = { religion = religion:europeanist_religion } - } - } - - is_enabled = { - scope:holder = { - OR = { religion = religion:europeanist_religion } - } - } - - cost_gold = 750 - - county_holder_character_modifier = { - monthly_piety = 0.25 - monthly_dynasty_prestige_mult = 0.05 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 5 - } - - county_modifier = { - civic_tax_mult = 0.15 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.1 - county_opinion_add = 5 - } - - province_modifier = { - monthly_civic_tax = 1.5 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -######################################## -# FRANCE -######################################## - -########## -# Tour Eiffel / Eiffel Tower - only the first story remain, due to technology wont be able to be reconstructed, only maintained -########## - - - -tour_eiffel_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_prestige = 1 - monthly_piety_gain_mult = 0.1 - monthly_dynasty_prestige = 0.25 - monthly_dynasty_prestige_mult = 0.05 - legitimacy_gain_mult = 0.05 - diplomacy_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.2 - prosperity_growth = 0.25 - prosperity_growth_factor = 0.2 - county_opinion_add = 10 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Napoleon's line - series of repurposed Napoleonic forts near Paris (mostly constructed post-event) -########## - - - -napoleon_line_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - county_modifier = { - hostile_raid_time = 0.25 - prosperity_growth_factor = 0.10 - prosperity_growth = 0.10 - } - - province_modifier = { - monthly_civic_tax = 0.5 - fort_level = 2 - defender_holding_advantage = 2 - garrison_size = 0.25 - travel_danger = -10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = napoleon_line_02 - flag = travel_point_of_interest_martial -} - - - -napoleon_line_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - highest_held_title_tier >= tier_duchy - } - - cost_gold = 1500 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - hostile_raid_time = 0.5 - prosperity_growth_factor = 0.20 - prosperity_growth = 0.20 - county_opinion_add = 10 - } - - province_modifier = { - monthly_civic_tax = 1.5 - fort_level = 5 - defender_holding_advantage = 5 - garrison_size = 0.35 - travel_danger = -20 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Palace of Versailles - mostly broken down and most of the gold was robbed -########## - - - -palace_versailles_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_baliffs } - } - - effect_desc = cereal_fields_effect_desc - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.05 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige = 0.15 - courtly_tax_contribution_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - next_building = palace_versailles_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -palace_versailles_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_guilds } - } - - effect_desc = farm_estates_effect_desc - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.30 - monthly_dynasty_prestige_mult = 0.1 - monthly_prestige = 0.50 - legitimacy_gain_mult = 0.05 - courtly_tax_contribution_mult = 0.10 - diplomacy_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.15 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - county_opinion_add = 5 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - next_building = palace_versailles_03 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -palace_versailles_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_noblesse_oblige} - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 2000 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.50 - monthly_dynasty_prestige_mult = 0.15 - monthly_prestige = 1 - legitimacy_gain_mult = 0.10 - courtly_tax_contribution_mult = 0.15 - diplomacy_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.25 - prosperity_growth = 0.25 - prosperity_growth_factor = 0.30 - county_opinion_add = 10 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Port of Calais -########## - - - -port_of_calais_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 500 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 1 - } - - next_building = port_of_calais_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_calais_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_maritime_tax = 3 - } - - next_building = port_of_calais_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_calais_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 2000 - -county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.20 - naval_movement_speed_mult = 0.20 - } - - county_modifier = { - maritime_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Académie de l'Absurde - post-event university established by Isildur -########## - - - -academie_labsurde_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Palace of Fontainebleau -########## - - - -palace_fontainebleau_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_baliffs } - building_requirement_tribal = no - } - - effect_desc = cereal_fields_effect_desc - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.10 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige = 0.15 - courtly_tax_contribution_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 0.75 - } - - next_building = palace_fontainebleau_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -palace_fontainebleau_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_guilds } - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 800 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.20 - monthly_dynasty_prestige_mult = 0.1 - monthly_prestige = 0.25 - legitimacy_gain_mult = 0.05 - courtly_tax_contribution_mult = 0.10 - diplomacy_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - county_opinion_add = 5 - } - - province_modifier = { - monthly_civic_tax = 1.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# University of Montpellier -########## - - - -montpellier_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.10 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Capitole de Toulouse - administrative center of Southern France -########## - - - -capitole_toulouse_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 1000 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_prestige = 0.25 - legitimacy_gain_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.15 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 1 - garrison_size = 0.10 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Château de Bretagne - center of Britanny ; post event -########## - - - -chateau_bretagne_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - effect_desc = farm_estates_effect_desc - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige_gain_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - next_building = chateau_bretagne_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -chateau_bretagne_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_guilds } - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.10 - monthly_dynasty_prestige_mult = 0.15 - monthly_prestige_gain_mult = 0.15 - monthly_prestige = 0.25 - courtly_tax_contribution_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Fort de Bordeaux - post-event, large fort/naval fort -########## - - - -fort_de_bordeaux_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1500 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_civic_tax = 2 - fort_level = 2 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -15 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - - -########## -# Fortified Port of Monaco -########## - - - -fortified_port_of_monaco_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_monaco_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_monaco_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_monaco_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_monaco_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Port of La Rochelle -########## - - - -port_of_la_rochelle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 0.75 - } - - next_building = port_of_la_rochelle_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_la_rochelle_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_maritime_tax = 2.5 - } - - next_building = port_of_la_rochelle_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_la_rochelle_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.15 - naval_movement_speed_mult = 0.15 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Mont-Saint-Michel -########## - - - -mont_saint_michel_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 750 - - county_holder_character_modifier = { - monthly_piety = 0.20 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 5 - } - - county_modifier = { - religious_tax_mult = 0.15 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_religious_tax = 1.5 - fort_level = 4 - defender_holding_advantage = 5 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.15 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - - -######################################## -# IBERIA -######################################## - -########## -# Fortress Monastery of Andorra -########## - - - -fortress_andorra_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - } - - is_enabled = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety_gain_mult = 0.1 - zealot_opinion = 5 - } - - county_modifier = { - hostile_raid_time = 0.5 - } - - province_modifier = { - fort_level = 4 - defender_holding_advantage = 4 - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Statue of Clorinda - the spanish-morrocan tomboy hero of fame and fortune, saving the last bonaparte around the border -########## - - - -statue_clorinda_01 = { - - asset = { - type = pdxmesh - name = "fp4_legendary_mediterranean_monument_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - is_enabled = { - always = yes - } - - construction_time = very_slow_construction_time - - cost = { - gold = 1000 - } - - character_modifier = { - glory_hound_opinion = 5 - glory_hound_tax_contribution_mult = 0.05 - monthly_dynasty_prestige_mult = 0.1 - monthly_prestige_gain_mult = 0.2 - } - - county_modifier = { - county_opinion_add = 5 - } - - province_modifier = { - stationed_maa_damage_add = 20 - stationed_maa_damage_mult = 0.15 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Sagrada Familia -########## - - - -sagrada_familia_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.35 - monthly_piety_gain_mult = 0.10 - holy_order_hire_cost_mult = -0.15 - clergy_opinion = 5 - monthly_county_control_growth_factor = 0.10 - } - - county_modifier = { - religious_tax_mult = 0.20 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.20 - } - - province_modifier = { - monthly_religious_tax = 1.5 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Cathedral de Santiago de Compostela -########## - - - -cathedral_seville_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.50 - monthly_piety_gain_mult = 0.15 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 10 - } - - county_modifier = { - religious_tax_mult = 0.25 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - } - - province_modifier = { - monthly_religious_tax = 3 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Tomb of Thez the Mighty (Faro) -########## - - - -tomb_thez_mighty_01 = { - - asset = { - type = pdxmesh - name = "fp3_building_special_tomb_of_cyrus_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - character_modifier = { - close_relative_opinion = 10 - negate_health_penalty_add = 0.1 - monthly_dynasty_prestige_mult = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.75 - } - - county_modifier = { - monthly_county_control_growth_add = 0.5 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Belém Tower (Lisbon, NOT Brazil) -########## - - - -belem_tower_01 = { - - asset = { - type = pdxmesh - name = "fp4_legendary_western_watchtower_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 500 - - character_modifier = { - monthly_prestige = 0.15 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.25 - } - - province_modifier = { - defender_holding_advantage = 2 - fort_level = 2 - monthly_maritime_tax = 1 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - } - - max_garrison = 350 - - next_building = belem_tower_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - - -belem_tower_02 = { - - asset = { - type = pdxmesh - name = "fp4_legendary_western_watchtower_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 500 - - character_modifier = { - monthly_prestige = 0.50 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.25 - maritime_tax_mult = 0.10 - hostile_raid_time = 0.50 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_maritime_tax = 2.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - travel_danger = -10 - } - - max_garrison = 750 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Toledo Steelworks -########## - - - -toledo_steelworks_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/toledo.dds" - - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 750 - - character_modifier = { - knight_effectiveness_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - mining_tax_mult = 0.10 - } - - province_modifier = { - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - stationed_siege_weapon_siege_value_mult = 0.10 - monthly_mining_tax = 1 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - directive_to_build_military_modifier = yes - } - - next_building = toledo_steelworks_02 - flag = travel_point_of_interest_martial - flag = travel_point_of_interest_economic -} - - - -toledo_steelworks_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/toledo.dds" - - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - character_modifier = { - knight_effectiveness_mult = 0.10 - stewardship_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.25 - mining_tax_mult = 0.25 - } - - province_modifier = { - stationed_maa_damage_mult = 0.40 - stationed_maa_toughness_mult = 0.40 - stationed_siege_weapon_siege_value_mult = 0.25 - monthly_mining_tax = 2.5 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - directive_to_build_military_modifier = yes - } - - next_building = toledo_steelworks_03 - flag = travel_point_of_interest_martial - flag = travel_point_of_interest_economic -} - - - -toledo_steelworks_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/toledo.dds" - - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_cranes } - building_requirement_castle_city_church = { LEVEL = 04 } - } - - cost_gold = 2500 - - character_modifier = { - knight_effectiveness_mult = 0.15 - stewardship_per_prestige_level = 2 - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.30 - prosperity_growth_factor = 0.35 - mining_tax_mult = 0.35 - } - - province_modifier = { - stationed_maa_damage_mult = 0.80 - stationed_maa_toughness_mult = 0.80 - stationed_siege_weapon_siege_value_mult = 0.50 - monthly_mining_tax = 5 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - directive_to_build_military_modifier = yes - } - flag = travel_point_of_interest_martial - flag = travel_point_of_interest_economic -} - - -########## -# The Great Cathedral-Mosque of Cordoba -########## - - - -cathedral_mosque_cordoba_01 = { - - asset = { - type = pdxmesh - name = "monument_mezquita_de_cordoba_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - religion = religion:islam_religion - } - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.35 - monthly_piety_gain_mult = 0.10 - holy_order_hire_cost_mult = -0.15 - clergy_opinion = 5 - monthly_county_control_growth_factor = 0.10 - } - - county_modifier = { - religious_tax_mult = 0.20 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.20 - } - - province_modifier = { - monthly_religious_tax = 2 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Almeria Castle -########## - - - -almeria_castle_01 = { - - asset = { - type = pdxmesh - name = "fp2_building_special_alcazar_de_segovia_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_dynasty_prestige_mult = 0.05 - martial_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.15 - monthly_county_control_growth_add = 0.35 - } - - province_modifier = { - defender_holding_advantage = 4 - fort_level = 4 - stationed_maa_damage_mult = 0.1 - stationed_maa_toughness_mult = 0.1 - stationed_siege_weapon_siege_value_mult = 0.1 - travel_danger = -20 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Alhambra -########## - - - -fortress_of_gibraltar_01 = { - - asset = { - type = pdxmesh - name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 500 - - character_modifier = { - martial_per_prestige_level = 1 - monthly_prestige = 0.25 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - defender_holding_advantage = 4 - fort_level = 3 - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Aljaféria Palace -########## - - - -madrid_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# University of Coimbra -########## - - - -university_coimbra_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_piety_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.10 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Port of Valencia -########## - - - -port_of_valencia_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 0.75 - } - - next_building = port_of_valencia_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_valencia_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_maritime_tax = 2.5 - } - - next_building = port_of_valencia_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_valencia_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.15 - naval_movement_speed_mult = 0.15 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Fortified port of Porto -########## - - - -fortified_port_of_porto_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_porto_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_porto_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_porto_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_porto_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Fortress of Pamplona -########## - - - -fortress_pamplona_01 = { - - asset = { - type = pdxmesh - name = "fp2_building_special_alhambra_01_mesh" - } - - - construction_time = very_slow_construction_time - effect_desc = feast_cost_discount_max_desc - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 2000 - - character_modifier = { - monthly_prestige_gain_mult = 0.15 - monthly_prestige = 0.25 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - monthly_county_control_growth_add = 0.5 - civic_tax_mult = 0.15 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - travel_danger = -15 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Fortified port of Malaga -########## - - - -fortified_port_of_malaga_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_malaga_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_malaga_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_malaga_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_malaga_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -######################################## -# ALPINREICH -######################################## - -########## -# Statue of Isildur Bonaparte - in the og mod -########## - - - -statue_isildur_01 = { - - asset = { - type = pdxmesh - name = "fp4_legendary_mediterranean_monument_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - is_enabled = { - always = yes - } - - construction_time = very_slow_construction_time - - cost = { - gold = 1000 - } - - character_modifier = { - glory_hound_opinion = 5 - glory_hound_tax_contribution_mult = 0.05 - monthly_dynasty_prestige_mult = 0.1 - monthly_prestige_gain_mult = 0.2 - } - - county_modifier = { - county_opinion_add = 5 - } - - province_modifier = { - stationed_maa_damage_add = 20 - stationed_maa_damage_mult = 0.15 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Fourvière - historic core of the city of Lyon -########## - - - -fourviere_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_piety = 0.25 - monthly_prestige = 0.25 - } - - county_modifier = { - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - civic_tax_mult = 0.25 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning -} - -########## -# University of Zurich -########## - - - -university_zurich_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Capitale de Bern - post-event, big diplomatic and economic hub -########## - - - -capitale_bern_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - effect_desc = feast_cost_discount_max_desc - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_dynasty_prestige = 0.25 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige = 0.25 - monthly_prestige_gain_mult = 0.15 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic - flag = travel_point_of_interest_economic -} - -########## -# Palais des Nations - UN place, Geneva -########## - - - -palais_des_nations_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 1000 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_prestige = 0.15 - monthly_piety = 0.25 - monthly_piety_gain_mult = 0.20 - holy_order_hire_cost_mult = -0.10 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic - flag = travel_point_of_interest_economic -} - -########## -# Mountain fortress of Lugano - post-event fortifications -########## - - - -mountain_fortress_lugano_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 500 - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - monthly_county_control_growth_add = 0.15 - civic_tax_mult = 0.05 - } - - province_modifier = { - defender_holding_advantage = 5 - fort_level = 2 - monthly_civic_tax = 0.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - travel_danger = -15 - } - - max_garrison = 350 - - next_building = mountain_fortress_lugano_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - - -mountain_fortress_lugano_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - monthly_county_control_growth_add = 0.35 - civic_tax_mult = 0.10 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - travel_danger = -25 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Mountain fortress of Bolzano -########## - - - -mountain_fortress_bolzano_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 500 - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - monthly_county_control_growth_add = 0.15 - civic_tax_mult = 0.05 - } - - province_modifier = { - defender_holding_advantage = 5 - fort_level = 2 - monthly_civic_tax = 0.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - travel_danger = -15 - } - - max_garrison = 350 - - next_building = mountain_fortress_bolzano_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - - -mountain_fortress_bolzano_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - monthly_county_control_growth_add = 0.35 - civic_tax_mult = 0.10 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - travel_danger = -25 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Mountain Fortress of Innsbruck -########## - - - -mountain_fortress_innsbruck_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 500 - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - monthly_county_control_growth_add = 0.15 - civic_tax_mult = 0.05 - } - - province_modifier = { - defender_holding_advantage = 5 - fort_level = 2 - monthly_civic_tax = 0.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - travel_danger = -15 - } - - max_garrison = 350 - - next_building = mountain_fortress_innsbruck_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - - -mountain_fortress_innsbruck_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - monthly_county_control_growth_add = 0.35 - civic_tax_mult = 0.10 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - travel_danger = -25 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -######################################## -# ITALIA -######################################## - -########## -# Plaza de Toros (Palma - Mallorca) - bull fighting arena -########## - - - -plaza_de_toros_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 750 - - county_modifier = { - hostile_raid_time = 0.15 - county_opinion_add = 10 - civic_tax_mult = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = plaza_de_toros_02 - flag = travel_point_of_interest_economic -} - - - -plaza_de_toros_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_prestige_gain_mult = 0.10 - monthly_prestige = 0.20 - stewardship_per_prestige_level = 1 - } - - county_modifier = { - hostile_raid_time = 0.25 - county_opinion_add = 20 - civic_tax_mult = 0.15 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1.5 - fort_level = 2 - defender_holding_advantage = 2 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Leaning Tower of Pisa -########## - - - -leaning_tower_of_pisa_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_prestige = 0.50 - monthly_prestige_gain_mult = 0.25 - diplomacy_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Galleria Vittorio Emanuele II - MAJOR trade hub -########## - - - -galleria_vittorio_emanuele_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_prestige = 0.20 - monthly_prestige_gain_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - next_building = galleria_vittorio_emanuele_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - - - -galleria_vittorio_emanuele_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_prestige = 0.50 - monthly_prestige_gain_mult = 0.15 - stewardship_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - next_building = galleria_vittorio_emanuele_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - - - -galleria_vittorio_emanuele_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_cranes } - building_requirement_castle_city_church = { LEVEL = 04 } - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_prestige = 0.75 - monthly_prestige_gain_mult = 0.25 - prestige_level_impact_mult = 0.10 - stewardship_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - -########## -# Royal Palace of Turin -########## - - - -royal_palace_torino_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 1000 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_dynasty_prestige = 0.15 - monthly_dynasty_prestige_mult = 0.10 - monthly_prestige = 0.15 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Monte Cassino Monastery -########## - - - -monte_cassino_monastery_01 = { - asset = { - type = pdxmesh - name = ep3_saint_catherine_monastery_mesh - } - construction_time = slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - cost_gold = 1000 - - can_construct = { - - } - - is_enabled = { - OR = { scope:holder.faith.religion = religion:eastern_orthodox_religion scope:holder.faith.religion = religion:catholic_religion scope:holder.faith.religion = religion:protestant_religion } - } - - character_modifier = { - monthly_piety = 0.5 - monthly_piety_gain_mult = 0.15 - religious_vassal_opinion = 5 - monthly_county_control_growth_factor = 0.2 - monthly_lifestyle_xp_gain_mult = 0.10 - cultural_head_fascination_mult = 0.05 - zealot_opinion = 5 - clergy_opinion = 10 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - religious_tax_mult = 0.05 - } - - province_modifier = { - monthly_religious_tax = 0.5 - fort_level = 2 - defender_holding_advantage = 5 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Doge's Palace -########## - - - -university_bologna_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - building_requirement_tribal = no - building_university_requirement = yes - } - - can_construct = { - } - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - cost_gold = 1000 - - character_modifier = { - learning_per_prestige_level = 1 - stewardship_per_prestige_level = 1 - monthly_lifestyle_xp_gain_mult = 0.10 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# University of Seina -########## - - - -siena_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - building_requirement_tribal = no - building_university_requirement = yes - } - - can_construct = { - } - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - cost_gold = 1000 - - character_modifier = { - learning_per_prestige_level = 1 - intrigue_per_prestige_level = 1 - monthly_lifestyle_xp_gain_mult = 0.1 - cultural_head_fascination_mult = 0.05 - monthly_dynasty_prestige = 0.20 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth_factor = 0.2 - prosperity_growth = 0.2 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# St. Peters Basilica - Vaticano, center of Roman Catholicism -########## - - - -apollinare_nuovo_01 = { - asset = { - type = pdxmesh - name = ep3_basilica_sant_apollinare_nuovo_mesh - } - construction_time = slow_construction_time - - type_icon = "special_buildings/apollinare_nuovo.dds" - - cost_gold = 1000 - - can_construct = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - character_modifier = { - monthly_piety = 0.2 - religious_vassal_opinion = 5 - monthly_county_control_growth_factor = 0.1 - zealot_opinion = 5 - clergy_opinion = 5 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - county_opinion_add = 10 - religious_tax_mult = 0.3 - } - - province_modifier = { - monthly_religious_tax = 1.5 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Cattolica di Stilo -########## - - - -cattolica_stilo_01 = { - asset = { - type = pdxmesh - name = ep3_cattolica_di_stilo_mesh - } - construction_time = slow_construction_time - - type_icon = "special_buildings/cattolica_stilo.dds" - - cost_gold = 750 - - can_construct = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - character_modifier = { - monthly_piety = 0.5 - religious_vassal_opinion = 5 - zealot_opinion = 5 - clergy_opinion = 5 - holy_order_hire_cost_mult = -0.15 - } - - county_modifier = { - prosperity_growth = 0.1 - prosperity_growth_factor = 0.1 - religious_tax_mult = 0.1 - county_opinion_add = 10 - } - - province_modifier = { - monthly_religious_tax = 1 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Palermo Cathedral -########## - - - -palermo_cathedral_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.25 - monthly_piety_gain_mult = 0.15 - holy_order_hire_cost_mult = -0.15 - clergy_opinion = 10 - } - - county_modifier = { - religious_tax_mult = 0.1 - prosperity_growth_factor = 0.2 - prosperity_growth = 0.2 - } - - province_modifier = { - monthly_religious_tax = 2 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Great Island Fortress of Malta -########## - - - -island_fortress_malta_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - county_modifier = { - hostile_raid_time = 1 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 1 - fort_level = 4 - defender_holding_advantage = 6 - garrison_size = 0.10 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - } - - max_garrison = 500 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_martial -} - -########## -# Port of Bari -########## - - - -port_of_bari_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 500 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 1 - } - - next_building = port_of_bari_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_bari_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_maritime_tax = 3 - } - - next_building = port_of_bari_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_bari_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 2000 - -county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.20 - naval_movement_speed_mult = 0.20 - } - - county_modifier = { - maritime_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - -########## -# Fortified Port of Ajaccio -########## - - - -fortified_port_of_ajaccio_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_ajaccio_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_ajaccio_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_ajaccio_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_ajaccio_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Fortified port of Genoa -########## - - - -fortified_port_of_genoa_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_genoa_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_genoa_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_genoa_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_genoa_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Castel Nuovo (Napoli) -########## - - - -castel_nuovo_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 500 - - character_modifier = { - monthly_prestige_gain_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.5 - defender_holding_advantage = 3 - fort_level = 2 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - stationed_siege_weapon_siege_value_mult = 0.05 - travel_danger = -15 - } - - max_garrison = 150 - - next_building = castel_nuovo_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - - - -castel_nuovo_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_prestige_gain_mult = 0.25 - martial_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.25 - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - monthly_county_control_growth_add = 0.2 - } - - province_modifier = { - monthly_civic_tax = 1.5 - defender_holding_advantage = 5 - fort_level = 4 - stationed_maa_damage_mult = 0.2 - stationed_maa_toughness_mult = 0.2 - stationed_siege_weapon_siege_value_mult = 0.15 - travel_danger = -25 - } - - max_garrison = 750 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Mountain fortress of Imperia - controlling the path along the coast from It. to Fr. -########## - - - -mountain_fortress_imperia_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 500 - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - monthly_county_control_growth_add = 0.15 - civic_tax_mult = 0.05 - } - - province_modifier = { - defender_holding_advantage = 5 - fort_level = 2 - monthly_civic_tax = 0.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - travel_danger = -15 - } - - max_garrison = 350 - - next_building = mountain_fortress_imperia_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - - -mountain_fortress_imperia_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - monthly_county_control_growth_add = 0.35 - civic_tax_mult = 0.10 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - travel_danger = -25 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Cathedral of Saint Marry of the Flower -########## - - - -duomo_florence_n3ow_01 = { - - asset = { - type = pdxmesh - name = "building_special_duomo_florence_04_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - text = holy_site_christian_or_holy_site_trigger - OR = { - scope:holder = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } - custom_description = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } } - } - } - } - can_construct = { - scope:holder.culture = { has_innovation = innovation_cranes } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - stewardship = 1 - learning_per_prestige_level = 1 - monthly_prestige_gain_mult = 0.2 - monthly_piety_gain_mult = 0.2 - } - county_modifier = { - prosperity_growth_factor = 0.20 - prosperity_growth = 0.20 - religious_tax_mult = 0.20 - } - province_modifier = { - monthly_religious_tax = 2 - build_speed = -0.15 - } - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Iron Mines of Brescia -########## - - - -brescia_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_modifier = { - mining_tax_mult = 0.05 - levy_size = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 2 - stationed_siege_weapon_siege_value_mult = 0.10 - stationed_maa_toughness_mult = 0.05 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = brescia_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -brescia_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_modifier = { - mining_tax_mult = 0.10 - levy_size = 0.20 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 3.5 - stationed_siege_weapon_siege_value_mult = 0.15 - stationed_maa_toughness_mult = 0.10 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = brescia_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -brescia_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_modifier = { - mining_tax_mult = 0.15 - levy_size = 0.30 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = brescia_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -brescia_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_modifier = { - mining_tax_mult = 0.20 - levy_size = 0.40 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - -########## -# Salt Mines of Cagliari -########## - - - -cagliari_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_modifier = { - mining_tax_mult = 0.05 - levy_size = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 2 - stationed_siege_weapon_siege_value_mult = 0.10 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = cagliari_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_salt -} - - - -cagliari_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_modifier = { - mining_tax_mult = 0.10 - levy_size = 0.20 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 3.5 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = cagliari_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_salt -} - - - -cagliari_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_modifier = { - mining_tax_mult = 0.15 - levy_size = 0.30 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.20 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = cagliari_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_salt -} - - - -cagliari_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_modifier = { - mining_tax_mult = 0.20 - levy_size = 0.40 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.25 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_salt -} - - -########## -# Igrésias Mining Settlement -########## - - - -iglesias_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_modifier = { - mining_tax_mult = 0.04 - prosperity_growth_factor = 0.025 - } - - province_modifier = { - monthly_mining_tax = 1 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = iglesias_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -iglesias_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_modifier = { - mining_tax_mult = 0.08 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 1.75 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = iglesias_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -iglesias_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_modifier = { - mining_tax_mult = 0.12 - levy_size = 0.05 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 2.5 - stationed_siege_weapon_siege_value_mult = 0.05 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = iglesias_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -iglesias_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_modifier = { - mining_tax_mult = 0.15 - levy_size = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - -########## -# Mercury Mines of Monte Amiata (Montepulciano) -########## - - - -monte_amiata_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_holder_character_modifier = { - owned_hostile_scheme_success_chance_add = 10 - owned_scheme_secrecy_add = 5 - } - - county_modifier = { - mining_tax_mult = 0.05 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 1.5 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = monte_amiata_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -monte_amiata_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_holder_character_modifier = { - owned_hostile_scheme_success_chance_add = 15 - owned_scheme_secrecy_add = 7 - } - - county_modifier = { - mining_tax_mult = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 2.5 - stationed_siege_weapon_siege_value_mult = 0.05 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = monte_amiata_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -monte_amiata_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_holder_character_modifier = { - owned_hostile_scheme_success_chance_add = 20 - owned_scheme_secrecy_add = 10 - } - - county_modifier = { - mining_tax_mult = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 4 - stationed_siege_weapon_siege_value_mult = 0.10 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = monte_amiata_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -monte_amiata_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_holder_character_modifier = { - owned_hostile_scheme_success_chance_add = 30 - owned_scheme_secrecy_add = 15 - } - - county_modifier = { - mining_tax_mult = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - -######################################## -# BRYTANNYA -######################################## - -########## -# Croke Park Stadium - one of the largest stadiums in Europe (Dublin) -########## - - - -croke_park_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 750 - - county_modifier = { - hostile_raid_time = 0.25 - county_opinion_add = 10 - civic_tax_mult = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 1.5 - fort_level = 2 - defender_holding_advantage = 3 - garrison_size = 0.10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = croke_park_02 - flag = travel_point_of_interest_martial -} - - - -croke_park_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - monthly_prestige_gain_mult = 0.10 - monthly_prestige = 0.25 - martial_per_prestige_level = 1 - } - - county_modifier = { - hostile_raid_time = 0.50 - county_opinion_add = 20 - civic_tax_mult = 0.20 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 3 - fort_level = 5 - defender_holding_advantage = 6 - garrison_size = 0.25 - travel_danger = -10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Westminster Pyramids -########## - - - -westminster_pyramids_01 = { - - asset = { - type = pdxmesh - name = "building_special_pyramids_giza_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_piety = 0.25 - learning_per_piety_level = 1 - } - - county_modifier = { - county_opinion_add = 5 - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_civic_tax = 1 - build_speed = -0.05 - } - - next_building = westminster_pyramids_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = travel_point_of_interest_learning -} - - - -westminster_pyramids_02 = { - - asset = { - type = pdxmesh - name = "building_special_pyramids_giza_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_piety = 0.50 - monthly_piety_gain_mult = 0.10 - monthly_influence = 0.25 - learning_per_piety_level = 1 - stewardship_per_influence_level = 1 - } - - county_modifier = { - county_opinion_add = 10 - civic_tax_mult = 0.15 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 3 - build_speed = -0.10 - } - - next_building = westminster_pyramids_03 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = travel_point_of_interest_learning -} - - - -westminster_pyramids_03 = { - - asset = { - type = pdxmesh - name = "building_special_pyramids_giza_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 2000 - - county_holder_character_modifier = { - monthly_piety = 1 - monthly_piety_gain_mult = 0.20 - monthly_influence = 0.25 - monthly_prestige = 0.25 - learning_per_piety_level = 1 - stewardship_per_influence_level = 1 - martial_per_prestige_level = 1 - } - - county_modifier = { - county_opinion_add = 10 - civic_tax_mult = 0.25 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 3 - build_speed = -0.20 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = travel_point_of_interest_learning -} - -########## -# The Tower of London -########## - - - -the_tower_of_london_02 = { - - asset = { - type = pdxmesh - name = "building_special_tower_of_london_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/tower_of_london.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - dread_gain_mult = 0.3 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 6 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - stationed_siege_weapon_siege_value_mult = 0.25 - travel_danger = -20 - monthly_civic_tax = 3 - } - - county_modifier = { - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - civic_tax_mult = 0.1 - } - - max_garrison = 1000 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { - factor = 5 - scope:holder = { - culture = { - has_cultural_parameter = ai_more_likely_to_castle - } - } - } - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Windsor Castle -########## - - - -windsor_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_influence_level = 1 - monthly_influence = 0.50 - monthly_influence_mult = 0.10 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - defender_holding_advantage = 3 - fort_level = 3 - monthly_civic_tax = 0.5 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Harlech Castle -########## - - - -harlech_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - defender_holding_advantage = 4 - fort_level = 2 - monthly_civic_tax = 0.25 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = harlech_castle_02 - flag = travel_point_of_interest_martial -} - - - -harlech_castle_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - monthly_prestige = 0.25 - monthly_prestige_gain_mult = 0.05 - prestige_level_impact_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - defender_holding_advantage = 8 - fort_level = 5 - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Edinburgh Castle -########## - - - -edinburgh_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_prestige = 0.15 - monthly_prestige_gain_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - monthly_county_control_growth_add = 0.20 - } - - province_modifier = { - defender_holding_advantage = 8 - fort_level = 6 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - stationed_siege_weapon_siege_value_mult = 0.20 - travel_danger = -15 - } - - max_garrison = 750 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Canterbury Cathedral -########## - - - -portsmouth_royal_dockyard_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_civic_tax = 1 - fort_level = 2 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.05 - travel_danger = -15 - } - - next_building = portsmouth_royal_dockyard_02 - - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - culture_likely_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic - flag = travel_point_of_interest_martial -} - - - -portsmouth_royal_dockyard_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - embarkation_cost_mult = -0.25 - naval_movement_speed_mult = 0.25 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_civic_tax = 3 - fort_level = 4 - defender_holding_advantage = 6 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.25 - garrison_size = 0.15 - travel_danger = -25 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic - flag = travel_point_of_interest_martial -} - -########## -# Devonport -########## - - - -devonport_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.05 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 1.5 - fort_level = 2 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.05 - travel_danger = -10 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic - flag = travel_point_of_interest_martial_minor -} - -########## -# Stonehenge -########## - - - -cardiff_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct = { - } - - cost_gold = 1000 - - character_modifier = { - monthly_dynasty_prestige = 0.10 - martial = 2 - } - - county_modifier = { - civic_tax_mult = 0.10 - } - - province_modifier = { - defender_holding_advantage = 4 - fort_level = 2 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - stationed_siege_weapon_siege_value_mult = 0.10 - travel_danger = -10 - } - - max_garrison = 500 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Krowfymply Castle -########## - - - -krowfymply_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_influence_level = 1 - monthly_influence = 0.25 - monthly_influence_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.05 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - defender_holding_advantage = 1 - fort_level = 2 - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = krowfymply_castle_02 - flag = travel_point_of_interest_martial -} - - - -krowfymply_castle_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_castle_baileys } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_influence_level = 1 - monthly_influence = 0.75 - monthly_influence_mult = 0.35 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - defender_holding_advantage = 4 - fort_level = 4 - monthly_civic_tax = 2.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - stationed_siege_weapon_siege_value_mult = 0.20 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Fortified Port of Bristol -########## - - - -fortified_port_of_bristol_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_bristol_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_bristol_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_bristol_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_bristol_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Port of Belfast -########## - - - -port_of_belfast_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 0.75 - } - - next_building = port_of_belfast_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_belfast_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_maritime_tax = 2.5 - } - - next_building = port_of_belfast_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_belfast_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.15 - naval_movement_speed_mult = 0.15 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Glasgow Cathedral -########## - - - -glasgow_cathedral_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.20 - monthly_piety_gain_mult = 0.20 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 10 - } - - county_modifier = { - religious_tax_mult = 0.15 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - county_opinion_add = 5 - } - - province_modifier = { - monthly_religious_tax = 2 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Oxford University -########## - - - -oxford_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_piety_level = 1 - intrigue_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Cambridge University -########## - - - -cambridge_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - monthly_prestige = 0.20 - prestige_level_impact_mult = 0.10 - monthly_lifestyle_xp_gain_mult = 0.1 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Port of Liverpool -########## - - - -port_of_liverpool_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 500 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 1 - } - - next_building = port_of_liverpool_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_liverpool_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_maritime_tax = 3 - } - - next_building = port_of_liverpool_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_liverpool_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 2000 - -county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.20 - naval_movement_speed_mult = 0.20 - } - - county_modifier = { - maritime_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# British coal mines -########## - -#coal_mines_01 = { -# effect_desc = mines_effect_desc -# -# asset = { -# type = pdxmesh -# name = "building_special_mines_mesh" -# } -# -# type_icon = "icon_structure_mines.dds" -# -# can_construct_potential = { -# building_requirement_tribal = no -# } -# -# can_construct = { -# building_requirement_castle_city_church = { LEVEL = 01 } -# culture = { -# has_innovation = innovation_crop_rotation -# } -# } -# -# cost_gold = 400 -# -# county_modifier = { -# maritime_tax_mult = 0.025 -# prosperity_growth_factor = 0.025 -# } -# -# province_modifier = { -# monthly_maritime_tax = 0.25 -# stationed_airship_damage_mult = 0.10 -# stationed_airship_toughness_mult = 0.10 -# stationed_siege_weapon_siege_value_mult = 0.15 -# stationed_gunpowder_damage_mult = 0.15 -# stationed_gunpowder_toughness_mult = 0.15 -# } -# -# province_culture_modifier = { -# parameter = cupellation_mine_building_bonuses -# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value -# } -# -# next_building = coal_mines_02 -# -# ai_value = { -# base = 100 -# } -# -# type = special -# -# flag = travel_point_of_interest_economic -# flag = special_mine -#} -# -#coal_mines_02 = { -# effect_desc = mines_effect_desc -# -# asset = { -# type = pdxmesh -# name = "building_special_mines_mesh" -# } -# -# type_icon = "icon_structure_mines.dds" -# -# can_construct_potential = { -# building_requirement_tribal = no -# } -# -# can_construct = { -# building_requirement_castle_city_church = { LEVEL = 02 } -# culture = { -# has_innovation = innovation_manorialism -# } -# } -# -# cost_gold = 500 -# -# county_modifier = { -# maritime_tax_mult = 0.05 -# prosperity_growth_factor = 0.05 -# } -# -# province_modifier = { -# monthly_maritime_tax = 0.75 -# stationed_airship_damage_mult = 0.15 -# stationed_airship_toughness_mult = 0.15 -# stationed_siege_weapon_siege_value_mult = 0.25 -# stationed_gunpowder_damage_mult = 0.25 -# stationed_gunpowder_toughness_mult = 0.25 -# } -# -# province_culture_modifier = { -# parameter = cupellation_mine_building_bonuses -# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value -# } -# -# next_building = coal_mines_03 -# -# ai_value = { -# base = 100 -# } -# -# type = special -# -# flag = travel_point_of_interest_economic -# flag = special_mine -#} -# -#coal_mines_03 = { -# effect_desc = mines_effect_desc -# -# asset = { -# type = pdxmesh -# name = "building_special_mines_mesh" -# } -# -# type_icon = "icon_structure_mines.dds" -# -# can_construct_potential = { -# building_requirement_tribal = no -# } -# -# can_construct = { -# building_requirement_castle_city_church = { LEVEL = 03 } -# culture = { -# has_innovation = innovation_windmills -# } -# } -# -# cost_gold = 600 -# -# county_modifier = { -# maritime_tax_mult = 0.075 -# prosperity_growth_factor = 0.075 -# } -# -# province_modifier = { -# monthly_maritime_tax = 1.5 -# stationed_airship_damage_mult = 0.25 -# stationed_airship_toughness_mult = 0.25 -# stationed_siege_weapon_siege_value_mult = 0.40 -# stationed_gunpowder_damage_mult = 0.40 -# stationed_gunpowder_toughness_mult = 0.40 -# } -# -# province_culture_modifier = { -# parameter = cupellation_mine_building_bonuses -# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value -# } -# -# next_building = coal_mines_04 -# -# ai_value = { -# base = 100 -# } -# -# type = special -# -# flag = travel_point_of_interest_economic -# flag = special_mine -#} -# -#coal_mines_04 = { -# effect_desc = mines_effect_desc -# -# asset = { -# type = pdxmesh -# name = "building_special_mines_mesh" -# } -# -# type_icon = "icon_structure_mines.dds" -# -# can_construct_potential = { -# building_requirement_tribal = no -# } -# -# can_construct = { -# building_requirement_castle_city_church = { LEVEL = 04 } -# culture = { -# has_innovation = innovation_cranes -# } -# } -# -# cost_gold = 700 -# county_modifier = { -# maritime_tax_mult = 0.10 -# prosperity_growth_factor = 0.10 -# } -# -# province_modifier = { -# monthly_maritime_tax = 2.5 -# stationed_airship_damage_mult = 0.50 -# stationed_airship_toughness_mult = 0.50 -# stationed_siege_weapon_siege_value_mult = 0.75 -# stationed_gunpowder_damage_mult = 0.75 -# stationed_gunpowder_toughness_mult = 0.75 -# } -# -# province_culture_modifier = { -# parameter = cupellation_mine_building_bonuses -# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value -# } -# -# ai_value = { -# base = 100 -# } -# -# type = special -# -# flag = travel_point_of_interest_economic -# flag = special_mine -#} - -########## -# Giant's Causeway -########## - - - -giants_causeway_01 = { - - asset = { - type = pdxmesh - name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - } - - cost_gold = 300 - - character_modifier = { - stewardship = 1 - learning = 1 - diplomatic_range_mult = 0.2 - monthly_prestige = 0.15 - } - - county_modifier = { - prosperity_growth_factor = 0.1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_natural_feature - flag = is_mountain -} - -########## -# Loch Ness -########## - - - -loch_ness_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - } - - cost_gold = 300 - - character_modifier = { - intrigue = 3 - stress_gain_mult = 0.15 - stress_loss_mult = 0.05 - } - - county_modifier = { - county_opinion_add = -5 - prosperity_growth = -0.05 - civic_tax_mult = -0.05 - } - - province_modifier = { - travel_danger = 15 - build_gold_cost = 0.05 - build_speed = 0.05 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = loch_ness_02 - flag = travel_point_of_interest_natural_feature # lake -} - - - -loch_ness_02 = { #Make the lake safer - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - #building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = household_soldiers } - } - - cost_gold = 800 - - character_modifier = { - intrigue = 3 - stress_gain_mult = 0.05 - stress_loss_mult = 0.20 - } - - county_modifier = { - county_opinion_add = 10 - civic_tax_mult = -0.10 - levy_size = -0.05 - } - - province_modifier = { - build_speed = -0.10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_natural_feature # lake -} - -########## -# Bone Temple of Melar -########## - - - -bone_temple_melar_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_city_planning - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety_gain_mult = 0.1 - monthly_dynasty_prestige_mult = 0.05 - knight_effectiveness_mult = 0.2 - knight_limit = 1 - } - province_modifier = { - monthly_religious_tax = 1 - } - county_modifier = { - religious_tax_mult = 0.1 - levy_size = 0.1 - county_opinion_add = 10 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building -} - -########## -# Offa's Dyke -########## - - - -alnwick_castle_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - character_modifier = { - knight_effectiveness_mult = 0.10 - stress_gain_mult = 0.10 - intrigue = 1 - } - - province_modifier = { - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - fort_level = 3 - defender_holding_advantage = 3 - stationed_siege_weapon_siege_value_mult = 0.10 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.05 - prosperity_growth_factor = 0.10 - } - - max_garrison = 500 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Birmingham Grand Market -########## - - - -birmingham_grand_market_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_influence = 0.20 - monthly_influence_mult = 0.05 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - next_building = birmingham_grand_market_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - - - -birmingham_grand_market_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 750 - - county_holder_character_modifier = { - monthly_influence = 0.35 - monthly_influence_mult = 0.10 - stewardship_per_influence_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - next_building = birmingham_grand_market_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - - - -birmingham_grand_market_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_cranes } - building_requirement_castle_city_church = { LEVEL = 04 } - } - - cost_gold = 2000 - - county_holder_character_modifier = { - monthly_influence = 0.50 - monthly_influence_gain_mult = 0.20 - stewardship_per_influence_level = 1 - } - - county_modifier = { - civic_tax_mult = 0.30 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.30 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - } - flag = travel_point_of_interest_economic -} - -######################################## -# GERMANIA -######################################## - -########## -# Neuschwanstein -########## - - - -neuschwanstein_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - effect_desc = feast_cost_discount_max_desc - - county_holder_character_modifier = { - monthly_prestige = 0.5 - monthly_prestige_gain_mult = 0.1 - prestige_level_impact_mult = 0.1 - diplomacy_per_prestige_level = 1 - courtly_tax_contribution_mult = 0.15 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - civic_tax_mult = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.1 - stationed_maa_toughness_mult = 0.1 - fort_level = 2 - defender_holding_advantage = 2 - } - - max_garrison = 350 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Brandenburg Gate -########## - - - -brandenburg_gate_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - maa_damage_mult = 0.1 - maa_toughness_mult = 0.1 - siege_weapon_siege_value_mult = 0.1 - advantage = 5 - martial_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - civic_tax_mult = 0.1 - county_opinion_add = 20 - } - - province_modifier = { - monthly_civic_tax = 1.5 - } - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Hofburg -########## - - - -hofburg_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - effect_desc = feast_cost_discount_max_desc - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.25 - monthly_dynasty_prestige_mult = 0.25 - prestige_level_impact_mult = 0.1 - } - - county_modifier = { - prosperity_growth = 0.25 - prosperity_growth_factor = 0.25 - civic_tax_mult = 0.2 - } - - province_modifier = { - monthly_civic_tax = 2 - stationed_maa_damage_mult = 0.2 - stationed_maa_toughness_mult = 0.15 - stationed_siege_weapon_siege_value_mult = 0.15 - fort_level = 4 - defender_holding_advantage = 4 - } - - max_garrison = 500 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -######################################## -# SCANDINAVIA -######################################## - - - -######################################## -# ZAPADOSLAVIA -######################################## - -########## -# Prague Castle -########## - - - -prague_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.15 - } - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.10 - civic_tax_mult = 0.05 - monthly_county_control_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - fort_level = 2 - defender_holding_advantage = 3 - } - - max_garrison = 250 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = prague_castle_02 - flag = travel_point_of_interest_martial -} - - - -prague_castle_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder.culture = { has_innovation = innovation_battlements } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.35 - learning_per_piety_level = 1 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.20 - civic_tax_mult = 0.10 - monthly_county_control_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 2 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - stationed_siege_weapon_siege_value_mult = 0.10 - fort_level = 5 - defender_holding_advantage = 5 - } - - max_garrison = 500 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = prague_castle_03 - flag = travel_point_of_interest_martial -} - - - -prague_castle_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_cranes } - scope:holder.culture = { has_innovation = innovation_machicolations } - } - - cost_gold = 3000 - - county_holder_character_modifier = { - monthly_dynasty_prestige = 0.50 - monthly_dynasty_prestige_mult = 0.05 - monthly_piety = 0.25 - monthly_piety_gain_mult = 0.10 - learning_per_piety_level = 1 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.30 - civic_tax_mult = 0.25 - monthly_county_control_growth_factor = 0.25 - } - - province_modifier = { - monthly_civic_tax = 3 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - stationed_siege_weapon_siege_value_mult = 0.15 - fort_level = 6 - defender_holding_advantage = 8 - } - - max_garrison = 1000 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial - flag = travel_point_of_interest_religious -} - -########## -# Charles University -########## - - - -charles_university_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/university.dds" - - can_construct_potential = { - scope:holder = { - highest_held_title_tier >= tier_duchy - prestige_level >= 4 - } - county = { - prosperity_level >= 3 - } - } - - cost_gold = 1500 - - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = university_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = university_roco_effect_desc - } - desc = university_effect_desc - } - - county_holder_character_modifier = { - learning_per_prestige_level = 1 - monthly_dynasty_prestige = 0.20 - prestige_level_impact_mult = 0.15 - monthly_lifestyle_xp_gain_mult = 0.15 - cultural_head_fascination_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 1 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_learning - flag = special_university -} - -########## -# Sedlec Bone Temple -########## - - - -sedlec_temple_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - dread_baseline_add = 20 - dread_gain_mult = 0.10 - intrigue_per_piety_level = 1 - } - - county_modifier = { - monthly_county_control_growth_add = -0.25 - county_opinion_add = -15 - religious_tax_mult = 0.05 - } - - province_modifier = { - monthly_religious_tax = 0.5 - travel_danger = 10 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Grand Porcelain Works -########## - - - -grand_porcelain_works_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_guilds } - } - - cost_gold = 800 - - county_holder_character_modifier = { - stewardship = 2 - monthly_prestige = 0.10 - monthly_prestige_gain_mult = 0.30 - - } - - county_modifier = { - civic_tax_mult = 0.30 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Špilberk Castle -########## - - - -spilberk_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - monthly_prestige = 0.25 - monthly_prestige_gain_mult = 0.15 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - civic_tax_mult = 0.15 - monthly_county_control_growth_add = 0.30 - } - - province_modifier = { - monthly_civic_tax = 1.5 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - stationed_siege_weapon_siege_value_mult = 0.10 - fort_level = 3 - defender_holding_advantage = 4 - travel_danger = -15 - } - - max_garrison = 500 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Königsberg Cathedral (rebuilt in 1992-1998) -########## - - - -konigsberg_cathedral_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - asset = { - type = pdxmesh - name = "building_special_wawel_cathedral_01_mesh" - requires_dlc_flag = medieval_monuments - } - can_construct_potential = { - } - - can_construct = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - scope:holder = { - culture = { - has_innovation = innovation_city_planning - } - } - } - - is_enabled = { - always = yes - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.25 - monthly_piety_gain_per_knight_add = 0.05 - monthly_dynasty_prestige_mult = 0.05 - clergy_opinion = 5 - learning = 2 - } - province_modifier = { - monthly_religious_tax = 1 - } - county_modifier = { - religious_tax_mult = 0.1 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.1 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - next_building = konigsberg_cathedral_02 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building -} - - - -konigsberg_cathedral_02 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - asset = { - type = pdxmesh - name = "building_special_wawel_cathedral_01_mesh" - requires_dlc_flag = medieval_monuments - } - - can_construct_potential = { - } - - can_construct = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - scope:holder = { - culture = { - has_innovation = innovation_manorialism - } - } - } - - is_enabled = { - always = yes - } - - cost_gold = 1000 - cost_piety = 1000 - - character_modifier = { - monthly_dynasty_prestige_mult = 0.1 - cultural_head_fascination_mult = 0.05 - monthly_lifestyle_xp_gain_mult = 0.1 - faith_creation_piety_cost_mult = -0.2 - faith_conversion_piety_cost_mult = -0.2 - } - province_modifier = { - monthly_religious_tax = 2 - travel_danger = -10 - } - county_modifier = { - religious_tax_mult = 0.2 - prosperity_growth_factor = 0.25 - prosperity_growth = 0.15 - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 8 - ai_pious_building_preference_modifier = yes - } - flag = travel_point_of_interest_religious - flag = travel_point_of_interest_learning - flag = holy_building - flag = special_university -} - -######################################## -# YUGOSLAVIJA -######################################## - -########## -# Rector's Palace - Dubrovnik -########## - - - -rector_palace_01 = { - construction_time = very_slow_construction_time - effect_desc = feast_cost_discount_max_desc - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder = { - custom_tooltip = { - text = government_is_not_republic_or_admin_desc - OR = { - government_has_flag = government_is_republic - government_has_flag = government_is_urepublic - government_has_flag = government_is_prepublic - government_has_flag = government_is_administrative - } - } - } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_influence = 0.25 - monthly_influence_mult = 0.1 - } - - county_modifier = { - prosperity_growth_factor = 0.2 - prosperity_growth = 0.2 - civic_tax_mult = 0.1 - hostile_raid_time = 0.35 - } - - province_modifier = { - garrison_size = 0.1 - fort_level = 1 - levy_size = 0.5 - monthly_civic_tax = 2.5 - defender_holding_advantage = 2 - travel_danger = -10 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Pula Arena -########## - - - -pula_arena_01 = { - - asset = { - type = pdxmesh - name = "building_special_colosseum_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 3000 - - character_modifier = { - glory_hound_opinion = 5 - belligerent_opinion = 5 - } - - county_modifier = { - prosperity_growth_factor = 0.10 - prosperity_growth = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.5 - county_opinion_add = 20 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Zagreb Cathedral -########## - - - -zagreb_cathedral_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.20 - monthly_piety_gain_mult = 0.20 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 10 - } - - county_modifier = { - religious_tax_mult = 0.15 - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - county_opinion_add = 5 - } - - province_modifier = { - monthly_religious_tax = 2 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -########## -# Baščaršija - Sarajevo Old Town -########## - - - -bascarsija_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - cost_gold = 500 - - county_modifier = { - prosperity_growth_factor = 0.05 - civic_tax_mult = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.5 - } - - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = bascarsija_02 - flag = travel_point_of_interest_economic -} - - - -bascarsija_02 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_development_02 } - scope:holder.culture = { has_innovation = innovation_manorialism } - } - - cost_gold = 500 - - character_modifier = { - monthly_prestige = 0.1 - monthly_dynasty_prestige = 0.05 - } - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.1 - civic_tax_mult = 0.1 - } - - province_modifier = { - monthly_civic_tax = 1.5 - } - - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = bascarsija_03 - flag = travel_point_of_interest_economic -} - - - -bascarsija_03 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_guilds } - scope:holder.culture = { has_innovation = innovation_windmills } - } - - cost_gold = 500 - - character_modifier = { - monthly_prestige = 0.25 - monthly_dynasty_prestige = 0.15 - monthly_dynasty_prestige_mult = 0.05 - stewardship_per_prestige_level = 1 - } - - county_modifier = { - prosperity_growth = 0.1 - prosperity_growth_factor = 0.15 - civic_tax_mult = 0.2 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Jajce Citadel -########## - - - -jajce_citadel_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - } - - cost_gold = 400 - - character_modifier = { - monthly_prestige = 0.1 - } - - max_garrison = 100 - - county_modifier = { - prosperity_growth_factor = 0.1 - } - - province_modifier = { - defender_holding_advantage = 2 - fort_level = 1 - stationed_maa_damage_mult = 0.1 - stationed_maa_toughness_mult = 0.1 - travel_danger = -10 - } - - next_building = jajce_citadel_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - - - -jajce_citadel_02 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 800 - - character_modifier = { - monthly_prestige = 0.25 - martial_per_prestige_level = 1 - } - - max_garrison = 350 - - county_modifier = { - prosperity_growth_factor = 0.1 - civic_tax_mult = 0.1 - } - - province_modifier = { - defender_holding_advantage = 6 - fort_level = 4 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - stationed_siege_weapon_siege_value_mult = 0.15 - travel_danger = -20 - } - - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Tito Bunker -########## - - - -tito_bunker_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct = { - building_requirement_tribal = no - } - - cost_gold = 500 - - character_modifier = { - martial_per_piety_level = 1 - } - - county_modifier = { - monthly_county_control_growth_factor = 0.1 - monthly_county_control_growth_add = 0.1 - prosperity_growth_factor = 0.1 - } - - province_modifier = { - garrison_size = 0.15 - fort_level = 5 - defender_holding_advantage = 5 - travel_danger = -15 - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_martial -} - -########## -# Church of Saint Sava -########## - - - -church_saint_sava_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - asset = { - type = pdxmesh - name = "building_special_hagia_sophia_mesh" - } - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith - } - } - } - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.35 - monthly_piety_gain_mult = 0.15 - holy_order_hire_cost_mult = -0.10 - clergy_opinion = 10 - monthly_dynasty_prestige_mult = 0.05 - } - - county_modifier = { - religious_tax_mult = 0.15 - prosperity_growth_factor = 0.20 - prosperity_growth = 0.15 - county_opinion_add = 5 - } - - province_modifier = { - monthly_religious_tax = 1.5 - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} -########## -# Smederevo Fortress -########## - - - -smederevo_fortress_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - } - - cost_gold = 400 - - character_modifier = { - monthly_prestige = 0.1 - } - - max_garrison = 100 - - county_modifier = { - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.5 - defender_holding_advantage = 2 - fort_level = 2 - stationed_maa_damage_mult = 0.1 - stationed_maa_toughness_mult = 0.1 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - next_building = smederevo_fortress_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - - - -smederevo_fortress_02 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 800 - - character_modifier = { - monthly_prestige = 0.25 - martial_per_prestige_level = 1 - } - - max_garrison = 350 - - county_modifier = { - prosperity_growth = 0.05 - prosperity_growth_factor = 0.05 - civic_tax_mult = 0.1 - } - - province_modifier = { - monthly_civic_tax = 1 - defender_holding_advantage = 4 - fort_level = 4 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - -########## -# Petrovaradin Fortress -########## - - - -petrovaradin_fortress_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_prestige_gain_mult = 0.15 - monthly_dynasty_prestige_mult = 0.15 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - civic_tax_mult = 0.15 - } - - province_modifier = { - monthly_civic_tax = 2 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.1 - stationed_siege_weapon_siege_value_mult = 0.15 - fort_level = 3 - defender_holding_advantage = 4 - travel_danger = -15 - } - - max_garrison = 500 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Ljubljana Castle -########## - - - -ljubljana_castle_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - monthly_prestige = 0.15 - } - - county_modifier = { - prosperity_growth_factor = 0.05 - civic_tax_mult = 0.05 - monthly_county_control_growth_factor = 0.10 - } - - province_modifier = { - monthly_civic_tax = 1 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - fort_level = 2 - defender_holding_advantage = 2 - } - - max_garrison = 200 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - - next_building = ljubljana_castle_02 - flag = travel_point_of_interest_martial -} - - - -ljubljana_castle_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder.culture = { has_innovation = innovation_battlements } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - monthly_piety = 0.25 - monthly_prestige = 0.25 - martial_per_piety_level = 1 - } - - county_modifier = { - prosperity_growth = 0.10 - prosperity_growth_factor = 0.20 - civic_tax_mult = 0.15 - monthly_county_control_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 2.5 - stationed_maa_damage_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - stationed_siege_weapon_siege_value_mult = 0.10 - fort_level = 4 - defender_holding_advantage = 4 - } - - max_garrison = 350 - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Celje Hall -########## - - - -celje_hall_01 = { - construction_time = very_slow_construction_time - effect_desc = feast_cost_discount_max_desc - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder = { - custom_tooltip = { - text = government_is_not_republic_or_admin_desc - OR = { - government_has_flag = government_is_republic - government_has_flag = government_is_urepublic - government_has_flag = government_is_prepublic - government_has_flag = government_is_administrative - } - } - } - } - - cost_gold = 1000 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - monthly_prestige = 0.25 - monthly_influence = 0.25 - } - - county_modifier = { - prosperity_growth_factor = 0.15 - prosperity_growth = 0.15 - civic_tax_mult = 0.15 - } - - province_modifier = { - monthly_civic_tax = 1.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Niš Skull Tower -########## - - - -nis_skull_tower_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/colosseum.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = 500 - - county_holder_character_modifier = { - dread_baseline_add = 15 - dread_gain_mult = 0.15 - monthly_piety_gain_per_dread_mult = 0.01 - knight_effectiveness_per_dread = 0.005 - } - - county_modifier = { - monthly_county_control_growth_add = -0.1 - county_opinion_add = -20 - civic_tax_mult = 0.05 - } - - province_modifier = { - monthly_civic_tax = 0.75 - travel_danger = 15 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - -########## -# Bor Mining Settlement -########## - - - -bor_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_modifier = { - mining_tax_mult = 0.05 - levy_size = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 2 - stationed_siege_weapon_siege_value_mult = 0.10 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = bor_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -bor_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_modifier = { - mining_tax_mult = 0.10 - levy_size = 0.20 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 3.5 - stationed_siege_weapon_siege_value_mult = 0.15 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = bor_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -bor_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_modifier = { - mining_tax_mult = 0.15 - levy_size = 0.30 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.20 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = bor_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - - - -bor_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_modifier = { - mining_tax_mult = 0.20 - levy_size = 0.40 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.25 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine -} - -########## -# Zenica Iron Mines -########## - - - -zenica_iron_mines_01 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture = { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = 400 - - county_modifier = { - mining_tax_mult = 0.05 - levy_size = 0.10 - prosperity_growth_factor = 0.05 - } - - province_modifier = { - monthly_mining_tax = 2 - stationed_siege_weapon_siege_value_mult = 0.10 - stationed_maa_toughness_mult = 0.05 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = zenica_iron_mines_02 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -zenica_iron_mines_02 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture = { - has_innovation = innovation_manorialism - } - } - - cost_gold = 500 - - county_modifier = { - mining_tax_mult = 0.10 - levy_size = 0.20 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_mining_tax = 3.5 - stationed_siege_weapon_siege_value_mult = 0.15 - stationed_maa_toughness_mult = 0.10 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = zenica_iron_mines_03 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -zenica_iron_mines_03 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture = { - has_innovation = innovation_windmills - } - } - - cost_gold = 600 - - county_modifier = { - mining_tax_mult = 0.15 - levy_size = 0.30 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.20 - stationed_maa_toughness_mult = 0.20 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - next_building = zenica_iron_mines_04 - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - - - -zenica_iron_mines_04 = { - effect_desc = mines_effect_desc - - asset = { - type = pdxmesh - name = "building_special_mines_mesh" - } - - type_icon = "special_buildings/toledo.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 700 - - county_modifier = { - mining_tax_mult = 0.20 - levy_size = 0.40 - prosperity_growth_factor = 0.20 - } - - province_modifier = { - monthly_mining_tax = 5 - stationed_siege_weapon_siege_value_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - } - - province_culture_modifier = { - parameter = cupellation_mine_building_bonuses - mining_tax_mult = innovation_cupellation_mine_tax_bonus_value - } - - ai_value = { - base = 10 - } - flag = travel_point_of_interest_economic - flag = special_mine - flag = special_mine_iron -} - -########## -# Fortified Port of Kotor -########## - - - -fortified_port_of_kotor_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.025 - naval_movement_speed_mult = 0.025 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - hostile_raid_time = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 0.5 - fort_level = 1 - defender_holding_advantage = 2 - stationed_maa_damage_mult = 0.05 - stationed_maa_toughness_mult = 0.05 - garrison_size = 0.05 - travel_danger = -10 - } - - next_building = fortified_port_of_kotor_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_kotor_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.35 - } - - province_modifier = { - monthly_maritime_tax = 2 - fort_level = 2 - defender_holding_advantage = 3 - stationed_maa_damage_mult = 0.10 - stationed_maa_toughness_mult = 0.10 - garrison_size = 0.10 - travel_danger = -15 - } - - next_building = fortified_port_of_kotor_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -fortified_port_of_kotor_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - hostile_raid_time = 0.50 - } - - province_modifier = { - monthly_maritime_tax = 4 - fort_level = 4 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.15 - stationed_maa_toughness_mult = 0.15 - garrison_size = 0.20 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -########## -# Port of Split -########## - - - -port_of_split_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_manorialism } - scope:holder = { highest_held_title_tier >= tier_duchy } - } - - cost_gold = 350 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.05 - naval_movement_speed_mult = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.10 - } - - province_modifier = { - monthly_maritime_tax = 0.75 - } - - next_building = port_of_split_02 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_split_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 02 } - } - - cost_gold = 800 - - county_holder_character_modifier = { - embarkation_cost_mult = -0.10 - naval_movement_speed_mult = 0.10 - } - - county_modifier = { - maritime_tax_mult = 0.15 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_maritime_tax = 2.5 - } - - next_building = port_of_split_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - - - -port_of_split_03 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { has_innovation = innovation_windmills } - scope:holder = { highest_held_title_tier >= tier_duchy } - building_requirement_castle_city_church = { LEVEL = 03 } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - stewardship_per_prestige_level = 1 - embarkation_cost_mult = -0.15 - naval_movement_speed_mult = 0.15 - } - - county_modifier = { - maritime_tax_mult = 0.25 - prosperity_growth = 0.30 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 4 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic -} - -######################################## -# MAKEDONIA -######################################## - - - -######################################## -# NISTERNIA -######################################## - -########## -# The Palace of Soroca -########## - - -nistrenian_palace_01 = { - asset = { - type = pdxmesh - name = ep3_despots_palace_mesh - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_manorialism } - building_requirement_tribal = no - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 750 - - county_holder_character_modifier = { - stardwardship_per_piety_level = 2 - monthly_dynasty_prestige = 0.15 - monthly_dynasty_prestige_mult = 0.05 - monthly_influence = 0.2 - monthly_influence_mult = 0.3 - } - - county_modifier = { - civic_tax_mult = 0.3 - prosperity_growth = 0.2 - prosperity_growth_factor = 0.2 - monthly_county_control_growth_add = 0.5 - } - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious -} - -######################################## -# RUSSIA -######################################## - -########## -# Winter Palace -########## - - - -winter_palace_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_manorialism } - building_requirement_tribal = no - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 750 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - monthly_dynasty_prestige = 0.15 - monthly_dynasty_prestige_mult = 0.05 - monthly_prestige = 0.15 - legitimacy_gain_mult = 0.15 - } - - county_modifier = { - civic_tax_mult = 0.10 - prosperity_growth = 0.10 - prosperity_growth_factor = 0.15 - } - - province_modifier = { - monthly_civic_tax = 2 - } - - next_building = winter_palace_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -winter_palace_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/despot_palace.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_windmills } - } - - effect_desc = feast_cost_discount_max_desc - - cost_gold = 2000 - - county_holder_character_modifier = { - diplomacy_per_prestige_level = 1 - stewardship_per_prestige_level = 1 - monthly_dynasty_prestige = 0.50 - monthly_dynasty_prestige_mult = 0.10 - monthly_prestige = 0.50 - monthly_prestige_gain_mult = 0.20 - legitimacy_gain_mult = 0.15 - } - - county_modifier = { - civic_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_civic_tax = 3 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Peter and Paul Fortress -########## - - - -petropavlovskaya_krepost_01 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_manorialism } - building_requirement_tribal = no - } - - cost_gold = 750 - - county_holder_character_modifier = { - knight_effectiveness_mult = 0.125 - monthly_martial_lifestyle_xp_gain_mult = 0.1 - monthly_prestige_gain_mult = 0.10 - belligerent_opinion = 5 - glory_hound_opinion = 5 - } - - county_modifier = { - monthly_county_control_growth_add = 0.5 - hostile_raid_time = 0.5 - } - - province_modifier = { - fort_level = 4 - garrison_size = 0.50 - defender_holding_advantage = 4 - stationed_maa_damage_mult = 0.1 - stationed_maa_toughness_mult = 0.1 - stationed_siege_weapon_siege_value_mult = 0.1 - travel_danger = -15 - } - - next_building = petropavlovskaya_krepost_02 - - ai_value = { - base = 10 - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - - - -petropavlovskaya_krepost_02 = { - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder = { - prestige_level >= 4 - highest_held_title_tier >= tier_duchy - } - scope:holder.culture = { has_innovation = innovation_windmills } - } - - cost_gold = 2500 - - county_holder_character_modifier = { - martial_per_prestige_level = 1 - knight_effectiveness_mult = 0.25 - monthly_martial_lifestyle_xp_gain_mult = 0.1 - monthly_prestige_gain_mult = 0.10 - belligerent_opinion = 10 - glory_hound_opinion = 10 - } - - county_modifier = { - monthly_county_control_growth_add = 1 - hostile_raid_time = 1 - } - - province_modifier = { - fort_level = 6 - garrison_size = 1 - defender_holding_advantage = 6 - stationed_maa_damage_mult = 0.25 - stationed_maa_toughness_mult = 0.25 - stationed_siege_weapon_siege_value_mult = 0.2 - travel_danger = -25 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_diplomatic -} - -########## -# Great Walls of Smolensk -########## - - - -smolensk_walls_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - } - - cost_gold = 500 - - character_modifier = { - monthly_dynasty_prestige_mult = 0.05 - } - max_garrison = good_building_max_garrison_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - fort_level = good_building_fort_level_tier_1 - stationed_maa_damage_mult = normal_maa_damage_tier_1 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1 - travel_danger = -10 - } - county_modifier = { - civic_tax_mult = 0.05 - monthly_county_control_growth_add = 0.5 - prosperity_growth = 0.1 - prosperity_growth_factor = 0.05 - hostile_raid_time = 0.25 - } - - next_building = smolensk_walls_02 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_martial -} - - - -smolensk_walls_02 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_hoardings - } - } - - cost_gold = 1000 - - character_modifier = { - monthly_dynasty_prestige_mult = 0.05 - martial_per_prestige_level = 1 - } - max_garrison = good_building_max_garrison_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_3 - fort_level = good_building_fort_level_tier_2 - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 - travel_danger = -20 - } - county_modifier = { - civic_tax_mult = 0.1 - monthly_county_control_growth_add = 0.5 - prosperity_growth = 0.1 - prosperity_growth_factor = 0.2 - hostile_raid_time = 0.33 - } - - next_building = smolensk_walls_03 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - -smolensk_walls_03 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/alamut_castle.dds" - - can_construct_potential = { - } - - cost_gold = 1500 - - character_modifier = { - monthly_dynasty_prestige_mult = 0.1 - martial_per_prestige_level = 1 - stewardship_per_prestige_level = 1 - } - max_garrison = good_building_max_garrison_tier_3 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_4 - fort_level = good_building_fort_level_tier_3 - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 - travel_danger = -30 - } - county_modifier = { - civic_tax_mult = 0.15 - monthly_county_control_growth_add = 1 - prosperity_growth = 0.15 - prosperity_growth_factor = 0.15 - hostile_raid_time = 0.5 - } - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - } - flag = travel_point_of_interest_martial -} - - -######################################## -# BALTIC -######################################## - - - -######################################## -# FINLAND -######################################## - - - -######################################## -# SPECIAL MILITARY BUILDINGS -######################################## - -########## -# Chemistry Workshop - unlocks chemical weapons -########## - - - -communal_settlement_01 = { - construction_time = standard_construction_time - effect_desc = communal_settlement_1_effect_desc - - can_construct_potential = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - can_construct_showing_failures_only = { - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - is_enabled = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - cost_gold = expensive_building_tier_1_cost - - province_modifier = { - monthly_civic_tax = super_poor_building_tax_tier_2 - stationed_peasant_militia_damage_mult = high_maa_damage_tier_2 - stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_1 - defender_holding_advantage = 2 - } - county_modifier = { - levy_size = 0.01 - } - - levy = normal_building_levy_tier_2 - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "special_buildings/colosseum.dds" - - next_building = communal_settlement_02 - - ai_value = { - base = 20 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - - - -communal_settlement_02 = { - construction_time = standard_construction_time - effect_desc = communal_settlement_2_effect_desc - - can_construct_potential = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - is_enabled = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - cost_gold = expensive_building_tier_2_cost - - province_modifier = { - monthly_civic_tax = super_poor_building_tax_tier_4 - stationed_peasant_militia_damage_mult = high_maa_damage_tier_4 - stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_2 - defender_holding_advantage = 4 - fort_level = 1 - } - - county_modifier = { - monthly_county_control_growth_add = 0.05 - garrison_size = 0.05 - levy_size = 0.02 - } - - levy = normal_building_levy_tier_4 - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "special_buildings/colosseum.dds" - - next_building = communal_settlement_03 - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - - - -communal_settlement_03 = { - construction_time = standard_construction_time - effect_desc = communal_settlement_3_effect_desc - - can_construct_potential = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - cost_gold = expensive_building_tier_3_cost - - province_modifier = { - monthly_civic_tax = super_poor_building_tax_tier_6 - stationed_peasant_militia_damage_mult = high_maa_damage_tier_6 - stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_3 - defender_holding_advantage = 6 - fort_level = 1 - } - - county_modifier = { - monthly_county_control_growth_add = 0.10 - garrison_size = 0.05 - levy_size = 0.03 - } - - levy = normal_building_levy_tier_6 - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "special_buildings/colosseum.dds" - - next_building = communal_settlement_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - - - -communal_settlement_04 = { - construction_time = standard_construction_time - effect_desc = communal_settlement_4_effect_desc - - can_construct_potential = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - is_enabled = { - custom_description = { - text = province_is_of_a_communal_settlement_faith_tt - building_communal_settlement_requirement = yes - } - } - - cost_gold = expensive_building_tier_4_cost - - province_modifier = { - monthly_civic_tax = super_poor_building_tax_tier_8 - stationed_peasant_militia_damage_mult = high_maa_damage_tier_8 - stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_4 - defender_holding_advantage = 8 - fort_level = 3 - } - - county_modifier = { - monthly_county_control_growth_add = 0.15 - garrison_size = 0.10 - levy_size = 0.05 - } - - levy = normal_building_levy_tier_8 - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "special_buildings/colosseum.dds" - - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -######################################## -# EASTERN ORTHODOX / CAUCASUS ADDITIONS -######################################## - -########## -# Apostolos Andreas Monastery — Karpas, Cyprus -########## - - - -apostolos_andreas_monastery = { - asset = { - type = pdxmesh - name = ep3_jvari_monastery_01_a_mesh - } - - construction_time = slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - - is_enabled = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - - cost_gold = 750 - - character_modifier = { - monthly_piety = 0.40 - negate_health_penalty_add = 0.05 - monthly_county_control_growth_factor = 0.05 - } - - county_modifier = { - prosperity_growth = 0.15 - prosperity_growth_factor = 0.10 - religious_tax_mult = 0.10 - } - - province_modifier = { - monthly_religious_tax = 0.5 - defender_holding_advantage = 1 - travel_danger = -10 - } - - on_complete = { - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building -} - -########## -# New Athos — Abkhaz Neopagan Sanctuary -########## - - - -new_athos_pagan_temple_01 = { - asset = { - type = pdxmesh - name = "building_special_cathedral_pagan_mesh" - } - - construction_time = slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - culture = culture:NEOW_abkhazian - } - NOT = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - } - - is_enabled = { - scope:holder = { - culture = culture:NEOW_abkhazian - } - NOT = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - } - - cost_gold = 800 - - character_modifier = { - monthly_piety = 0.35 - monthly_prestige = 0.20 - knight_effectiveness_mult = 0.10 - } - - county_modifier = { - prosperity_growth = 0.10 - levy_size = 0.10 - } - - province_modifier = { - monthly_religious_tax = 0.4 - travel_danger = -10 - } - - next_building = new_athos_restored_monastery_02 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building -} - -########## -# New Athos — Restored Orthodox Monastery -########## - - - -new_athos_restored_monastery_02 = { - asset = { - type = pdxmesh - name = ep3_sumela_monastery_01_b_mesh - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - - is_enabled = { - christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } - } - - cost_gold = 1000 - - character_modifier = { - monthly_piety = 0.50 - learning = 1 - monthly_dynasty_prestige_mult = 0.05 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.15 - religious_tax_mult = 0.15 - } - - province_modifier = { - monthly_religious_tax = 1 - travel_danger = -10 - } - - on_complete = { - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building - flag = religious_studies_location -} - -########## -# Cathedral of Saint Ilia II — Tbilisi -########## - - - -cathedral_saint_ilia_ii = { - asset = { - type = pdxmesh - name = "cp6_building_special_grand_cathedral_mesh" - requires_dlc_flag = holy_buildings - } - asset = { - type = pdxmesh - name = "building_special_cathedral_generic_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/cologne_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder = { - religion = religion:eastern_orthodox_religion - } - } - - is_enabled = { - scope:holder = { - religion = religion:eastern_orthodox_religion - } - } - - cost_gold = 1500 - - character_modifier = { - monthly_piety = 0.50 - monthly_prestige = 0.30 - legitimacy_gain_mult = 0.10 - learning_per_piety_level = 1 - } - - county_modifier = { - prosperity_growth = 0.20 - prosperity_growth_factor = 0.20 - monthly_county_control_growth_factor = 0.10 - } - - province_modifier = { - monthly_religious_tax = 1.5 - travel_danger = -10 - } - - on_complete = { - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_religious - flag = holy_building - flag = religious_studies_location -} - -######################################## -# CHANNEL TUNNEL -######################################## - - - -channel_tunnel_01 = { - construction_time = very_slow_construction_time - - type_icon = "special_buildings/quanzhou_seaport.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { - scope:holder.culture = { - has_innovation = innovation_cranes - } - } - - cost_gold = 1500 - - county_holder_character_modifier = { - monthly_prestige = 0.25 - embarkation_cost_mult = -0.25 - movement_speed = 0.05 - } - - county_modifier = { - maritime_tax_mult = 0.20 - prosperity_growth = 0.20 - prosperity_growth_factor = 0.25 - } - - province_modifier = { - monthly_maritime_tax = 3 - travel_danger = -20 - } - - ai_value = { - base = 10 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 0 - free_building_slots > 0 - } - } - flag = travel_point_of_interest_economic - flag = travel_point_of_interest_wonder -} - - - -dvin_shuka_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/special_silk_road_market.dds" - - can_construct_potential = { - scope:holder = { - any_character_situation = { situation_type = silk_road_situation } - } - } - can_construct = { building_monument_tribal_trigger = yes } - - cost_gold = 400 - - province_modifier = { - monthly_commerce_tax = 2 - travel_danger = -10 - province_size_baseline_add = special_building_province_size_baseline - } - county_culture_modifier = { - parameter = silk_road_market_owner_bonuses - commerce_tax_mult = 0.1 - } - market_modifier = { - trade_good_textiles_sell_price_mult = special_building_need_sell_price - trade_good_wool_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - tgp_silk_road_market_built_effect = yes - } - - next_building = dvin_shuka_02 - - ai_value = { - base = 9.2 - - directive_to_build_economy_modifier = yes - - ai_capital_preference_modifier = yes - ai_special_district_modifier = { LEVEL = 1 } - } - - - trade_good_need = { - trade_good = trade_good_textiles - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - trade_good_need = { - trade_good = trade_good_wool - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - province_size_baseline_add = 10 - } - } - } - - flag = travel_point_of_interest_economic -} - - -dvin_shuka_02 = { - construction_time = slow_construction_time - - - can_construct_potential = { - scope:holder = { - any_character_situation = { situation_type = silk_road_situation } - } - } - can_construct_showing_failures_only = { - holding_district_level_2_trigger = yes - } - - can_construct = { building_commerce_early_medieval_trigger = yes } - - cost_gold = 800 - - - province_modifier = { - travel_danger = -15 - monthly_commerce_tax = 2 - province_size_baseline_add = 40 - } - county_culture_modifier = { - parameter = silk_road_market_owner_bonuses - commerce_tax_mult = 0.1 - } - character_modifier = { - cultural_head_fascination_mult = 0.05 - } - market_modifier = { - trade_good_textiles_sell_price_mult = special_building_need_sell_price - trade_good_wool_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - tgp_silk_road_market_built_effect = yes - } - - ai_value = { - base = 9.2 - - directive_to_build_economy_modifier = yes - - ai_capital_preference_modifier = yes - ai_special_district_modifier = { LEVEL = 2 } - } - - - trade_good_need = { - trade_good = trade_good_textiles - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - trade_good_need = { - trade_good = trade_good_wool - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - province_size_baseline_add = 10 - } - } - } - - flag = travel_point_of_interest_economic -} - - -khiva_bazaar_01 = { - construction_time = slow_construction_time - - type_icon = "special_buildings/special_silk_road_market.dds" - - can_construct_potential = { - scope:holder = { - any_character_situation = { situation_type = silk_road_situation } - } - } - can_construct = { building_monument_tribal_trigger = yes } - - cost_gold = 400 - - province_modifier = { - monthly_commerce_tax = 2 - travel_danger = -10 - province_size_baseline_add = special_building_province_size_baseline - } - county_culture_modifier = { - parameter = silk_road_market_owner_bonuses - commerce_tax_mult = 0.1 - } - market_modifier = { - trade_good_textiles_sell_price_mult = special_building_need_sell_price - trade_good_wool_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - tgp_silk_road_market_built_effect = yes - } - - next_building = khiva_bazaar_02 - - ai_value = { - base = 9.2 - - directive_to_build_economy_modifier = yes - - ai_capital_preference_modifier = yes - ai_special_district_modifier = { LEVEL = 1 } - } - - - trade_good_need = { - trade_good = trade_good_textiles - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - trade_good_need = { - trade_good = trade_good_wool - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - province_size_baseline_add = 10 - } - } - } - - flag = travel_point_of_interest_economic -} - - -khiva_bazaar_02 = { - construction_time = slow_construction_time - - - can_construct_potential = { - scope:holder = { - any_character_situation = { situation_type = silk_road_situation } - } - } - can_construct_showing_failures_only = { - holding_district_level_2_trigger = yes - } - - can_construct = { building_commerce_early_medieval_trigger = yes } - - cost_gold = 800 - - - province_modifier = { - travel_danger = -15 - monthly_commerce_tax = 2 - province_size_baseline_add = 40 - } - county_culture_modifier = { - parameter = silk_road_market_owner_bonuses - commerce_tax_mult = 0.1 - } - character_modifier = { - cultural_head_fascination_mult = 0.05 - } - market_modifier = { - trade_good_textiles_sell_price_mult = special_building_need_sell_price - trade_good_wool_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - tgp_silk_road_market_built_effect = yes - } - - ai_value = { - base = 9.2 - - directive_to_build_economy_modifier = yes - - ai_capital_preference_modifier = yes - ai_special_district_modifier = { LEVEL = 2 } - } - - - trade_good_need = { - trade_good = trade_good_textiles - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - trade_good_need = { - trade_good = trade_good_wool - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - province_size_baseline_add = 10 - } - } - } - - flag = travel_point_of_interest_economic -} diff --git a/common/buildings/special_buildings/NEOW_special_buildings.txt b/common/buildings/special_buildings/NEOW_special_buildings.txt new file mode 100644 index 000000000..47648ff16 --- /dev/null +++ b/common/buildings/special_buildings/NEOW_special_buildings.txt @@ -0,0 +1,11776 @@ +# NEOW original definitions, updated for CK3 1.21 + +# Historic NEOW landmarks, updated to CK3 1.21 prosperity, taxes, graphics and districts. + +######################################## +# EUROPA +######################################## + +########## +# Leuven University +########## + +leuven_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Court of Europa +########## + +court_of_europa_01 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + building_requirement_tribal = no + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 750 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.25 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige = 0.25 + legitimacy_gain_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.05 + urban_tax_mult = 0.05 + prosperity_growth = 0.1 + prosperity_growth_factor = 0.05 + hostile_raid_time = 0.25 + } + + province_modifier = { + monthly_civic_tax = 1 + fort_level = 2 + garrison_size = 0.35 + defender_holding_advantage = 3 + travel_danger = -15 + } + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + } + } + } + + next_building = court_of_europa_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +court_of_europa_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_empire + } + scope:holder.culture = { has_innovation = innovation_vaulting } + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 2000 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_dynasty_prestige = 0.50 + monthly_dynasty_prestige_mult = 0.10 + monthly_prestige = 0.50 + legitimacy_gain_mult = 0.15 + } + + county_modifier = { + civic_tax_mult = 0.1 + urban_tax_mult = 0.1 + prosperity_growth = 0.2 + prosperity_growth_factor = 0.1 + hostile_raid_time = 0.75 + } + + province_modifier = { + monthly_civic_tax = 2 + fort_level = 5 + garrison_size = 0.5 + defender_holding_advantage = 5 + travel_danger = -20 + } + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = special_building_need_amount + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = special_building_need_amount + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + } + } + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Walls of Nijmegen +########## + +walls_of_nijmegen_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + county_modifier = { + hostile_raid_time = 0.35 + prosperity_growth_factor = 0.1 + prosperity_growth = 0.1 + } + + province_modifier = { + monthly_civic_tax = 0.5 + fort_level = 2 + defender_holding_advantage = 2 + garrison_size = 0.15 + travel_danger = -15 + } + flag = travel_point_of_interest_martial +} + +########## +# World-Class port +########## + +large_port_01 = { + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_prosperity_01 } + scope:holder = { highest_held_title_tier >= tier_duchy } + } + + cost_gold = 250 + + character_modifier = { + embarkation_cost_mult = -0.05 + naval_movement_speed_mult = 0.05 + } + + county_modifier = { + province_size_baseline_add = 10 + maritime_tax_mult = 0.05 + commerce_tax_mult = 0.05 + } + + province_modifier = { + monthly_maritime_tax = 0.5 + monthly_commerce_tax = 0.5 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.01 + } + + next_building = large_port_02 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +large_port_02 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_ledger } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 01 } + } + + cost_gold = 500 + + character_modifier = { + stewardship = 1 + embarkation_cost_mult = -0.075 + naval_movement_speed_mult = 0.075 + } + + county_modifier = { + province_size_baseline_add = 20 + maritime_tax_mult = 0.1 + commerce_tax_mult = 0.1 + } + + province_modifier = { + monthly_maritime_tax = 0.75 + monthly_commerce_tax = 1 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.02 + } + + next_building = large_port_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +large_port_03 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_armilary_sphere } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 1000 + + character_modifier = { + stewardship = 1 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.1 + naval_movement_speed_mult = 0.1 + } + + county_modifier = { + province_size_baseline_add = 30 + maritime_tax_mult = 0.15 + commerce_tax_mult = 0.15 + } + + province_modifier = { + monthly_maritime_tax = 1 + monthly_commerce_tax = 1.5 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.03 + } + + next_building = large_port_04 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +large_port_04 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_merchant_law } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1500 + + character_modifier = { + stewardship = 2 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.15 + naval_movement_speed_mult = 0.15 + } + + county_modifier = { + province_size_baseline_add = 40 + maritime_tax_mult = 0.2 + commerce_tax_mult = 0.2 + } + + province_modifier = { + monthly_maritime_tax = 1.5 + monthly_commerce_tax = 2 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.04 + } + + next_building = large_port_05 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +large_port_05 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_pilot_books } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 04 } + } + + cost_gold = 2500 + + character_modifier = { + stewardship = 3 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.2 + naval_movement_speed_mult = 0.2 + } + + county_modifier = { + province_size_baseline_add = 50 + maritime_tax_mult = 0.25 + commerce_tax_mult = 0.25 + } + + province_modifier = { + monthly_maritime_tax = 2 + monthly_commerce_tax = 3 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.05 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 10 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +########## +# Small Port +########## + +small_port_01 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_prosperity_01 } + scope:holder = { highest_held_title_tier >= tier_duchy } + } + + cost_gold = 200 + + character_modifier = { + embarkation_cost_mult = -0.05 + naval_movement_speed_mult = 0.05 + } + + county_modifier = { + province_size_baseline_add = 5 + maritime_tax_mult = 0.05 + commerce_tax_mult = 0.05 + } + + province_modifier = { + monthly_maritime_tax = 0.25 + monthly_commerce_tax = 0.35 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.01 + } + + next_building = small_port_02 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +small_port_02 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_ledger } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 01 } + } + + cost_gold = 400 + + character_modifier = { + stewardship = 1 + embarkation_cost_mult = -0.075 + naval_movement_speed_mult = 0.075 + } + + county_modifier = { + province_size_baseline_add = 10 + maritime_tax_mult = 0.1 + commerce_tax_mult = 0.1 + } + + province_modifier = { + monthly_maritime_tax = 0.5 + monthly_commerce_tax = 0.75 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.02 + } + + next_building = small_port_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +small_port_03 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_armilary_sphere } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 800 + + character_modifier = { + stewardship = 1 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.1 + naval_movement_speed_mult = 0.1 + } + + county_modifier = { + province_size_baseline_add = 15 + maritime_tax_mult = 0.15 + commerce_tax_mult = 0.15 + } + + province_modifier = { + monthly_maritime_tax = 0.75 + monthly_commerce_tax = 1.25 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.03 + } + + next_building = small_port_04 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +small_port_04 = { + + construction_time = very_slow_construction_time + + type_icon = "tradeport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_merchant_law } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1250 + + character_modifier = { + stewardship = 2 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.15 + naval_movement_speed_mult = 0.15 + } + + county_modifier = { + province_size_baseline_add = 20 + maritime_tax_mult = 0.2 + commerce_tax_mult = 0.2 + } + + province_modifier = { + monthly_maritime_tax = 1.15 + monthly_commerce_tax = 1.75 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.04 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +########## +# Fortified Port +########## + +fortified_port_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/drassanes.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_prosperity_01 } + scope:holder = { highest_held_title_tier >= tier_duchy } + } + + cost_gold = 250 + + character_modifier = { + embarkation_cost_mult = -0.05 + naval_movement_speed_mult = 0.05 + } + + county_modifier = { + province_size_baseline_add = 5 + maritime_tax_mult = 0.05 + commerce_tax_mult = 0.05 + hostile_raid_time = 0.15 + } + + province_modifier = { + monthly_maritime_tax = 0.25 + monthly_commerce_tax = 0.35 + fort_level = 1 + defender_holding_advantage = 2 + stationed_maa_damage_mult = 0.05 + stationed_maa_toughness_mult = 0.05 + garrison_size = 0.05 + travel_danger = -10 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.01 + } + + next_building = fortified_port_02 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 2 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +fortified_port_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/drassanes.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_ledger } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 01 } + } + + cost_gold = 500 + + character_modifier = { + stewardship = 1 + embarkation_cost_mult = -0.075 + naval_movement_speed_mult = 0.075 + } + + county_modifier = { + province_size_baseline_add = 10 + maritime_tax_mult = 0.1 + commerce_tax_mult = 0.1 + hostile_raid_time = 0.25 + } + + province_modifier = { + monthly_maritime_tax = 0.5 + monthly_commerce_tax = 0.75 + fort_level = 2 + defender_holding_advantage = 3 + stationed_maa_damage_mult = 0.05 + stationed_maa_toughness_mult = 0.1 + garrison_size = 0.1 + travel_danger = -15 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.02 + } + + next_building = fortified_port_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 4 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +fortified_port_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/drassanes.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_armilary_sphere } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 1000 + + character_modifier = { + stewardship = 1 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.1 + naval_movement_speed_mult = 0.1 + } + + county_modifier = { + province_size_baseline_add = 15 + maritime_tax_mult = 0.15 + commerce_tax_mult = 0.15 + hostile_raid_time = 0.5 + } + + province_modifier = { + monthly_maritime_tax = 0.75 + monthly_commerce_tax = 1.25 + fort_level = 3 + defender_holding_advantage = 5 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + garrison_size = 0.15 + travel_danger = -20 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.03 + } + + next_building = fortified_port_04 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 6 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +fortified_port_04 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/drassanes.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_merchant_law } + scope:holder = { highest_held_title_tier >= tier_duchy } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1500 + + character_modifier = { + stewardship = 2 + stewardship_per_prestige_level = 1 + embarkation_cost_mult = -0.15 + naval_movement_speed_mult = 0.15 + } + + county_modifier = { + province_size_baseline_add = 20 + maritime_tax_mult = 0.2 + commerce_tax_mult = 0.2 + hostile_raid_time = 1 + } + + province_modifier = { + monthly_maritime_tax = 1.15 + monthly_commerce_tax = 1.75 + fort_level = 4 + defender_holding_advantage = 6 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + garrison_size = 0.25 + travel_danger = -25 + } + + market_modifier = { + trade_category_all_sell_price_mult = 0.04 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + civic_tax_mult = 0.01 + prosperity_growth = 0.02 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_luxury_items + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + popular_opinion_add = 1 + prosperity_growth_factor = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_precious_metals + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + urban_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good_category = trade_category_jewelry_materials + amount = 5 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + artisan_tax_mult = 0.01 + prosperity_growth = 0.01 + } + } + } + + trade_good_need = { + trade_good = trade_good_wood + amount = 10 + can_be_filled_multiple_times = 8 + + modifiers = { + county_modifier = { + prosperity_growth_factor = 0.01 + province_size_baseline_add = 5 + } + } + } + + flag = travel_point_of_interest_economic +} + +########## +# Zone Rouge - Area filled with unexlpoded munition and other dangerous things left from WW1, as of today its still dangerous and decomposing might take a few thousand years ; cannot be properly cleared without modern equipment +########## + + + +zone_rouge_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + + } + + cost_gold = 50 + + county_modifier = { + prosperity_growth_factor = -0.10 + civic_tax_mult = -0.05 + county_opinion_add = -5 + } + + province_modifier = { + travel_danger = 30 + defender_holding_advantage = 2 + holding_build_gold_cost = 0.15 + build_gold_cost = 0.15 + build_speed = 0.15 + supply_limit_mult = -0.20 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_zone_rouge +} + +########## +# Verdun Memorial +########## + + + +verdun_memorial_01 = { + + effect_desc = { + triggered_desc = { + trigger = { has_dlc_feature = legends_of_the_dead } + desc = building_funeral_effect_desc + } + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + scope:holder = { + OR = { religion = religion:europeanist_religion } + } + } + + is_enabled = { + scope:holder = { + OR = { religion = religion:europeanist_religion } + } + } + + cost_gold = 750 + + county_holder_character_modifier = { + monthly_piety = 0.25 + monthly_dynasty_prestige_mult = 0.05 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 5 + } + + county_modifier = { + civic_tax_mult = 0.15 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.1 + county_opinion_add = 5 + } + + province_modifier = { + monthly_civic_tax = 1.5 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +######################################## +# FRANCE +######################################## + +########## +# Tour Eiffel / Eiffel Tower - only the first story remain, due to technology wont be able to be reconstructed, only maintained +########## + + + +tour_eiffel_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_prestige = 1 + monthly_piety_gain_mult = 0.1 + monthly_dynasty_prestige = 0.25 + monthly_dynasty_prestige_mult = 0.05 + legitimacy_gain_mult = 0.05 + diplomacy_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.2 + prosperity_growth = 0.25 + prosperity_growth_factor = 0.2 + county_opinion_add = 10 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Napoleon's line - series of repurposed Napoleonic forts near Paris (mostly constructed post-event) +########## + + + +napoleon_line_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1000 + + county_modifier = { + hostile_raid_time = 0.25 + prosperity_growth_factor = 0.10 + prosperity_growth = 0.10 + } + + province_modifier = { + monthly_civic_tax = 0.5 + fort_level = 2 + defender_holding_advantage = 2 + garrison_size = 0.25 + travel_danger = -10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = napoleon_line_02 + flag = travel_point_of_interest_martial +} + + + +napoleon_line_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + highest_held_title_tier >= tier_duchy + } + + cost_gold = 1500 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + hostile_raid_time = 0.5 + prosperity_growth_factor = 0.20 + prosperity_growth = 0.20 + county_opinion_add = 10 + } + + province_modifier = { + monthly_civic_tax = 1.5 + fort_level = 5 + defender_holding_advantage = 5 + garrison_size = 0.35 + travel_danger = -20 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Palace of Versailles - mostly broken down and most of the gold was robbed +########## + + + +palace_versailles_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_baliffs } + } + + effect_desc = cereal_fields_effect_desc + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.05 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige = 0.15 + courtly_tax_contribution_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.05 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 0.5 + } + + next_building = palace_versailles_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +palace_versailles_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_guilds } + } + + effect_desc = farm_estates_effect_desc + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.30 + monthly_dynasty_prestige_mult = 0.1 + monthly_prestige = 0.50 + legitimacy_gain_mult = 0.05 + courtly_tax_contribution_mult = 0.10 + diplomacy_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.15 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + county_opinion_add = 5 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + next_building = palace_versailles_03 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +palace_versailles_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_noblesse_oblige} + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 2000 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.50 + monthly_dynasty_prestige_mult = 0.15 + monthly_prestige = 1 + legitimacy_gain_mult = 0.10 + courtly_tax_contribution_mult = 0.15 + diplomacy_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.25 + prosperity_growth = 0.25 + prosperity_growth_factor = 0.30 + county_opinion_add = 10 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Académie de l'Absurde - post-event university established by Isildur +########## + +academie_labsurde_01 = { +construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Palace of Fontainebleau +########## + + + +palace_fontainebleau_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_castle_city_church = { LEVEL = 02 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_baliffs } + building_requirement_tribal = no + } + + effect_desc = cereal_fields_effect_desc + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.10 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige = 0.15 + courtly_tax_contribution_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.05 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 0.75 + } + + next_building = palace_fontainebleau_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +palace_fontainebleau_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_guilds } + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 800 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.20 + monthly_dynasty_prestige_mult = 0.1 + monthly_prestige = 0.25 + legitimacy_gain_mult = 0.05 + courtly_tax_contribution_mult = 0.10 + diplomacy_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + county_opinion_add = 5 + } + + province_modifier = { + monthly_civic_tax = 1.5 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# University of Montpellier +########## + +montpellier_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.1 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.25 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Capitole de Toulouse - administrative center of Southern France +########## + + + +capitole_toulouse_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 1000 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_prestige = 0.25 + legitimacy_gain_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.15 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 1 + garrison_size = 0.10 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Château de Bretagne - center of Britanny ; post event +########## + + + +chateau_bretagne_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + effect_desc = farm_estates_effect_desc + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige_gain_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 1 + } + + next_building = chateau_bretagne_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +chateau_bretagne_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_guilds } + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.10 + monthly_dynasty_prestige_mult = 0.15 + monthly_prestige_gain_mult = 0.15 + monthly_prestige = 0.25 + courtly_tax_contribution_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Fort de Bordeaux - post-event, large fort/naval fort +########## + + + +fort_de_bordeaux_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1500 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + hostile_raid_time = 0.50 + } + + province_modifier = { + monthly_civic_tax = 2 + fort_level = 2 + defender_holding_advantage = 4 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + garrison_size = 0.20 + travel_danger = -15 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Mont-Saint-Michel +########## + + + +mont_saint_michel_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 750 + + county_holder_character_modifier = { + monthly_piety = 0.20 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 5 + } + + county_modifier = { + religious_tax_mult = 0.15 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + hostile_raid_time = 0.50 + } + + province_modifier = { + monthly_religious_tax = 1.5 + fort_level = 4 + defender_holding_advantage = 5 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + garrison_size = 0.15 + travel_danger = -20 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + + +######################################## +# IBERIA +######################################## + +########## +# Fortress Monastery of Andorra +########## + + + +fortress_andorra_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + } + + is_enabled = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety_gain_mult = 0.1 + zealot_opinion = 5 + } + + county_modifier = { + hostile_raid_time = 0.5 + } + + province_modifier = { + fort_level = 4 + defender_holding_advantage = 4 + monthly_civic_tax = 1 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Statue of Clorinda - the spanish-morrocan tomboy hero of fame and fortune, saving the last bonaparte around the border +########## + + + +statue_clorinda_01 = { + + asset = { + type = pdxmesh + name = "fp4_legendary_mediterranean_monument_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + is_enabled = { + always = yes + } + + construction_time = very_slow_construction_time + + cost = { + gold = 1000 + } + + character_modifier = { + glory_hound_opinion = 5 + glory_hound_tax_contribution_mult = 0.05 + monthly_dynasty_prestige_mult = 0.1 + monthly_prestige_gain_mult = 0.2 + } + + county_modifier = { + county_opinion_add = 5 + } + + province_modifier = { + stationed_maa_damage_add = 20 + stationed_maa_damage_mult = 0.15 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Sagrada Familia +########## + + + +sagrada_familia_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.35 + monthly_piety_gain_mult = 0.10 + holy_order_hire_cost_mult = -0.15 + clergy_opinion = 5 + monthly_county_control_growth_factor = 0.10 + } + + county_modifier = { + religious_tax_mult = 0.20 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.20 + } + + province_modifier = { + monthly_religious_tax = 1.5 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Cathedral de Santiago de Compostela +########## + + + +cathedral_seville_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.50 + monthly_piety_gain_mult = 0.15 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 10 + } + + county_modifier = { + religious_tax_mult = 0.25 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.15 + } + + province_modifier = { + monthly_religious_tax = 3 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Tomb of Thez the Mighty (Faro) +########## + + + +tomb_thez_mighty_01 = { + + asset = { + type = pdxmesh + name = "fp3_building_special_tomb_of_cyrus_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1000 + + character_modifier = { + close_relative_opinion = 10 + negate_health_penalty_add = 0.1 + monthly_dynasty_prestige_mult = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.75 + } + + county_modifier = { + monthly_county_control_growth_add = 0.5 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Belém Tower (Lisbon, NOT Brazil) +########## + + + +belem_tower_01 = { + + asset = { + type = pdxmesh + name = "fp4_legendary_western_watchtower_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + character_modifier = { + monthly_prestige = 0.15 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + hostile_raid_time = 0.25 + } + + province_modifier = { + defender_holding_advantage = 2 + fort_level = 2 + monthly_maritime_tax = 1 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + } + + max_garrison = 350 + + next_building = belem_tower_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + + +belem_tower_02 = { + + asset = { + type = pdxmesh + name = "fp4_legendary_western_watchtower_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 500 + + character_modifier = { + monthly_prestige = 0.50 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.25 + maritime_tax_mult = 0.10 + hostile_raid_time = 0.50 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_maritime_tax = 2.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + travel_danger = -10 + } + + max_garrison = 750 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Toledo Steelworks +########## + + + +toledo_steelworks_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/toledo.dds" + + effect_desc = windfurnaces_effects_desc + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 750 + + character_modifier = { + knight_effectiveness_mult = 0.05 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + mining_tax_mult = 0.10 + } + + province_modifier = { + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + stationed_siege_weapon_siege_value_mult = 0.10 + monthly_mining_tax = 1 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + directive_to_build_military_modifier = yes + } + + next_building = toledo_steelworks_02 + flag = travel_point_of_interest_martial + flag = travel_point_of_interest_economic +} + + + +toledo_steelworks_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/toledo.dds" + + effect_desc = windfurnaces_effects_desc + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1500 + + character_modifier = { + knight_effectiveness_mult = 0.10 + stewardship_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.25 + mining_tax_mult = 0.25 + } + + province_modifier = { + stationed_maa_damage_mult = 0.40 + stationed_maa_toughness_mult = 0.40 + stationed_siege_weapon_siege_value_mult = 0.25 + monthly_mining_tax = 2.5 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + directive_to_build_military_modifier = yes + } + + next_building = toledo_steelworks_03 + flag = travel_point_of_interest_martial + flag = travel_point_of_interest_economic +} + + + +toledo_steelworks_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/toledo.dds" + + effect_desc = windfurnaces_effects_desc + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_cranes } + building_requirement_castle_city_church = { LEVEL = 04 } + } + + cost_gold = 2500 + + character_modifier = { + knight_effectiveness_mult = 0.15 + stewardship_per_prestige_level = 2 + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.30 + prosperity_growth_factor = 0.35 + mining_tax_mult = 0.35 + } + + province_modifier = { + stationed_maa_damage_mult = 0.80 + stationed_maa_toughness_mult = 0.80 + stationed_siege_weapon_siege_value_mult = 0.50 + monthly_mining_tax = 5 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + directive_to_build_military_modifier = yes + } + flag = travel_point_of_interest_martial + flag = travel_point_of_interest_economic +} + + +########## +# The Great Cathedral-Mosque of Cordoba +########## + + + +cathedral_mosque_cordoba_01 = { + + asset = { + type = pdxmesh + name = "monument_mezquita_de_cordoba_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + religion = religion:islam_religion + } + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.35 + monthly_piety_gain_mult = 0.10 + holy_order_hire_cost_mult = -0.15 + clergy_opinion = 5 + monthly_county_control_growth_factor = 0.10 + } + + county_modifier = { + religious_tax_mult = 0.20 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.20 + } + + province_modifier = { + monthly_religious_tax = 2 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Almeria Castle +########## + + + +almeria_castle_01 = { + + asset = { + type = pdxmesh + name = "fp2_building_special_alcazar_de_segovia_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_dynasty_prestige_mult = 0.05 + martial_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.15 + monthly_county_control_growth_add = 0.35 + } + + province_modifier = { + defender_holding_advantage = 4 + fort_level = 4 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + stationed_siege_weapon_siege_value_mult = 0.1 + travel_danger = -20 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Alhambra +########## + + + +fortress_of_gibraltar_01 = { + + asset = { + type = pdxmesh + name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + character_modifier = { + martial_per_prestige_level = 1 + monthly_prestige = 0.25 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + hostile_raid_time = 0.35 + } + + province_modifier = { + defender_holding_advantage = 4 + fort_level = 3 + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Madrid University +########## + +madrid_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# University of Coimbra +########## + +university_coimbra_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Fortress of Pamplona +########## + + + +fortress_pamplona_01 = { + + asset = { + type = pdxmesh + name = "fp2_building_special_alhambra_01_mesh" + } + + + construction_time = very_slow_construction_time + effect_desc = feast_cost_discount_max_desc + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 2000 + + character_modifier = { + monthly_prestige_gain_mult = 0.15 + monthly_prestige = 0.25 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + monthly_county_control_growth_add = 0.5 + civic_tax_mult = 0.15 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + travel_danger = -15 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +######################################## +# ALPINREICH +######################################## + +########## +# Statue of Isildur Bonaparte - in the og mod +########## + + + +statue_isildur_01 = { + + asset = { + type = pdxmesh + name = "fp4_legendary_mediterranean_monument_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + is_enabled = { + always = yes + } + + construction_time = very_slow_construction_time + + cost = { + gold = 1000 + } + + character_modifier = { + glory_hound_opinion = 5 + glory_hound_tax_contribution_mult = 0.05 + monthly_dynasty_prestige_mult = 0.1 + monthly_prestige_gain_mult = 0.2 + } + + county_modifier = { + county_opinion_add = 5 + } + + province_modifier = { + stationed_maa_damage_add = 20 + stationed_maa_damage_mult = 0.15 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Fourvière - historic core of the city of Lyon +########## + + + +fourviere_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_piety = 0.25 + monthly_prestige = 0.25 + } + + county_modifier = { + prosperity_growth = 0.2 + prosperity_growth_factor = 0.2 + civic_tax_mult = 0.25 + } + + province_modifier = { + monthly_civic_tax = 1 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_learning +} + +########## +# University of Zurich +########## + +university_zurich_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + monthly_dynasty_prestige = 0.20 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Capitale de Bern - post-event, big diplomatic and economic hub +########## + + + +capitale_bern_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1000 + + effect_desc = feast_cost_discount_max_desc + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_dynasty_prestige = 0.25 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige = 0.25 + monthly_prestige_gain_mult = 0.15 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic + flag = travel_point_of_interest_economic +} + +########## +# Palais des Nations - UN place, Geneva +########## + + + +palais_des_nations_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 1000 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_prestige = 0.15 + monthly_piety = 0.25 + monthly_piety_gain_mult = 0.20 + holy_order_hire_cost_mult = -0.10 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic + flag = travel_point_of_interest_economic +} + +########## +# Mountain fortress of Lugano - post-event fortifications +########## + + + +mountain_fortress_lugano_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 500 + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + monthly_county_control_growth_add = 0.15 + civic_tax_mult = 0.05 + } + + province_modifier = { + defender_holding_advantage = 5 + fort_level = 2 + monthly_civic_tax = 0.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + travel_danger = -15 + } + + max_garrison = 350 + + next_building = mountain_fortress_lugano_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + + +mountain_fortress_lugano_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + monthly_county_control_growth_add = 0.35 + civic_tax_mult = 0.10 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + travel_danger = -25 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Mountain fortress of Bolzano +########## + + + +mountain_fortress_bolzano_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 500 + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + monthly_county_control_growth_add = 0.15 + civic_tax_mult = 0.05 + } + + province_modifier = { + defender_holding_advantage = 5 + fort_level = 2 + monthly_civic_tax = 0.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + travel_danger = -15 + } + + max_garrison = 350 + + next_building = mountain_fortress_bolzano_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + + +mountain_fortress_bolzano_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + monthly_county_control_growth_add = 0.35 + civic_tax_mult = 0.10 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + travel_danger = -25 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Mountain Fortress of Innsbruck +########## + + + +mountain_fortress_innsbruck_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 500 + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + monthly_county_control_growth_add = 0.15 + civic_tax_mult = 0.05 + } + + province_modifier = { + defender_holding_advantage = 5 + fort_level = 2 + monthly_civic_tax = 0.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + travel_danger = -15 + } + + max_garrison = 350 + + next_building = mountain_fortress_innsbruck_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + + +mountain_fortress_innsbruck_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + monthly_county_control_growth_add = 0.35 + civic_tax_mult = 0.10 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + travel_danger = -25 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +######################################## +# ITALIA +######################################## + +########## +# Plaza de Toros (Palma - Mallorca) - bull fighting arena +########## + + + +plaza_de_toros_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 750 + + county_modifier = { + hostile_raid_time = 0.15 + county_opinion_add = 10 + civic_tax_mult = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 0.5 + fort_level = 1 + defender_holding_advantage = 1 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = plaza_de_toros_02 + flag = travel_point_of_interest_economic +} + + + +plaza_de_toros_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_prestige_gain_mult = 0.10 + monthly_prestige = 0.20 + stewardship_per_prestige_level = 1 + } + + county_modifier = { + hostile_raid_time = 0.25 + county_opinion_add = 20 + civic_tax_mult = 0.15 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 1.5 + fort_level = 2 + defender_holding_advantage = 2 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic +} + +########## +# Leaning Tower of Pisa +########## + + + +leaning_tower_of_pisa_01 = { + + construction_time = very_slow_construction_time + + type_icon = "icon_neow_leaning_tower_pisa.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_prestige = 0.50 + monthly_prestige_gain_mult = 0.25 + diplomacy_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 1 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Galleria Vittorio Emanuele II - MAJOR trade hub +########## + + + +galleria_vittorio_emanuele_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_prestige = 0.20 + monthly_prestige_gain_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + next_building = galleria_vittorio_emanuele_02 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + + + +galleria_vittorio_emanuele_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_prestige = 0.50 + monthly_prestige_gain_mult = 0.15 + stewardship_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + next_building = galleria_vittorio_emanuele_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + + + +galleria_vittorio_emanuele_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_cranes } + building_requirement_castle_city_church = { LEVEL = 04 } + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_prestige = 0.75 + monthly_prestige_gain_mult = 0.25 + prestige_level_impact_mult = 0.10 + stewardship_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.30 + prosperity_growth = 0.30 + prosperity_growth_factor = 0.30 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + +########## +# Royal Palace of Turin +########## + + + +royal_palace_torino_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 1000 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_dynasty_prestige = 0.15 + monthly_dynasty_prestige_mult = 0.10 + monthly_prestige = 0.15 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Monte Cassino Monastery +########## + +monte_cassino_monastery_01 = { + asset = { + type = pdxmesh + name = ep3_saint_catherine_monastery_mesh + } + construction_time = slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + cost_gold = 1000 + + can_construct = { + + } + + is_enabled = { + OR = { scope:holder.faith.religion = religion:eastern_orthodox_religion scope:holder.faith.religion = religion:catholic_religion scope:holder.faith.religion = religion:protestant_religion } + } + + character_modifier = { + monthly_piety = 0.5 + monthly_piety_gain_mult = 0.15 + religious_vassal_opinion = 5 + monthly_county_control_growth_factor = 0.2 + monthly_lifestyle_xp_gain_mult = 0.10 + cultural_head_fascination_mult = 0.05 + zealot_opinion = 5 + clergy_opinion = 10 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + religious_tax_mult = 0.05 + } + + province_modifier = { + monthly_religious_tax = 0.5 + fort_level = 2 + defender_holding_advantage = 5 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# University of Bologna +########## + +university_bologna_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + stewardship_per_prestige_level = 1 + monthly_lifestyle_xp_gain_mult = 0.1 + cultural_head_fascination_mult = 0.05 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax_mult = 0.05 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# University of Seina +########## + +siena_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + intrigue_per_prestige_level = 1 + monthly_dynasty_prestige = 0.15 + monthly_lifestyle_xp_gain_mult = 0.1 + cultural_head_fascination_mult = 0.05 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax_mult = 0.05 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# St. Peters Basilica - Vaticano, center of Roman Catholicism +########## + + + +apollinare_nuovo_01 = { + asset = { + type = pdxmesh + name = ep3_basilica_sant_apollinare_nuovo_mesh + } + construction_time = slow_construction_time + + type_icon = "special_buildings/apollinare_nuovo.dds" + + cost_gold = 1000 + + can_construct = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + character_modifier = { + monthly_piety = 0.2 + religious_vassal_opinion = 5 + monthly_county_control_growth_factor = 0.1 + zealot_opinion = 5 + clergy_opinion = 5 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + county_opinion_add = 10 + religious_tax_mult = 0.3 + } + + province_modifier = { + monthly_religious_tax = 1.5 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Cattolica di Stilo +########## + + + +cattolica_stilo_01 = { + asset = { + type = pdxmesh + name = ep3_cattolica_di_stilo_mesh + } + construction_time = slow_construction_time + + type_icon = "special_buildings/cattolica_stilo.dds" + + cost_gold = 750 + + can_construct = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + character_modifier = { + monthly_piety = 0.5 + religious_vassal_opinion = 5 + zealot_opinion = 5 + clergy_opinion = 5 + holy_order_hire_cost_mult = -0.15 + } + + county_modifier = { + prosperity_growth = 0.1 + prosperity_growth_factor = 0.1 + religious_tax_mult = 0.1 + county_opinion_add = 10 + } + + province_modifier = { + monthly_religious_tax = 1 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Palermo Cathedral +########## + + + +palermo_cathedral_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.25 + monthly_piety_gain_mult = 0.15 + holy_order_hire_cost_mult = -0.15 + clergy_opinion = 10 + } + + county_modifier = { + religious_tax_mult = 0.1 + prosperity_growth_factor = 0.2 + prosperity_growth = 0.2 + } + + province_modifier = { + monthly_religious_tax = 2 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Great Island Fortress of Malta +########## + + + +island_fortress_malta_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + county_modifier = { + hostile_raid_time = 1 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 1 + fort_level = 4 + defender_holding_advantage = 6 + garrison_size = 0.10 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + } + + max_garrison = 500 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_martial +} + +########## +# Castel Nuovo (Napoli) +########## + + + +castel_nuovo_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 500 + + character_modifier = { + monthly_prestige_gain_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.5 + defender_holding_advantage = 3 + fort_level = 2 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + stationed_siege_weapon_siege_value_mult = 0.05 + travel_danger = -15 + } + + max_garrison = 150 + + next_building = castel_nuovo_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + + + +castel_nuovo_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder.culture = { + has_innovation = innovation_castle_baileys + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_prestige_gain_mult = 0.25 + martial_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.25 + prosperity_growth = 0.2 + prosperity_growth_factor = 0.2 + monthly_county_control_growth_add = 0.2 + } + + province_modifier = { + monthly_civic_tax = 1.5 + defender_holding_advantage = 5 + fort_level = 4 + stationed_maa_damage_mult = 0.2 + stationed_maa_toughness_mult = 0.2 + stationed_siege_weapon_siege_value_mult = 0.15 + travel_danger = -25 + } + + max_garrison = 750 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Mountain fortress of Imperia - controlling the path along the coast from It. to Fr. +########## + + + +mountain_fortress_imperia_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 500 + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + monthly_county_control_growth_add = 0.15 + civic_tax_mult = 0.05 + } + + province_modifier = { + defender_holding_advantage = 5 + fort_level = 2 + monthly_civic_tax = 0.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + travel_danger = -15 + } + + max_garrison = 350 + + next_building = mountain_fortress_imperia_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + + +mountain_fortress_imperia_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + monthly_county_control_growth_add = 0.35 + civic_tax_mult = 0.10 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + travel_danger = -25 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Cathedral of Saint Marry of the Flower +########## + + + +duomo_florence_n3ow_01 = { + + asset = { + type = pdxmesh + name = "building_special_duomo_florence_04_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + text = holy_site_christian_or_holy_site_trigger + OR = { + scope:holder = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } } + custom_description = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } } + } + } + } + can_construct = { + scope:holder.culture = { has_innovation = innovation_cranes } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + stewardship = 1 + learning_per_prestige_level = 1 + monthly_prestige_gain_mult = 0.2 + monthly_piety_gain_mult = 0.2 + } + county_modifier = { + prosperity_growth_factor = 0.20 + prosperity_growth = 0.20 + religious_tax_mult = 0.20 + } + province_modifier = { + monthly_religious_tax = 2 + build_speed = -0.15 + } + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Iron Mines of Brescia +########## + + + +brescia_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_modifier = { + mining_tax_mult = 0.05 + levy_size = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 2 + stationed_siege_weapon_siege_value_mult = 0.10 + stationed_maa_toughness_mult = 0.05 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = brescia_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +brescia_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_modifier = { + mining_tax_mult = 0.10 + levy_size = 0.20 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 3.5 + stationed_siege_weapon_siege_value_mult = 0.15 + stationed_maa_toughness_mult = 0.10 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = brescia_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +brescia_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_modifier = { + mining_tax_mult = 0.15 + levy_size = 0.30 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = brescia_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +brescia_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_modifier = { + mining_tax_mult = 0.20 + levy_size = 0.40 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + +########## +# Salt Mines of Cagliari +########## + + + +cagliari_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_modifier = { + mining_tax_mult = 0.05 + levy_size = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 2 + stationed_siege_weapon_siege_value_mult = 0.10 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = cagliari_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_salt +} + + + +cagliari_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_modifier = { + mining_tax_mult = 0.10 + levy_size = 0.20 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 3.5 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = cagliari_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_salt +} + + + +cagliari_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_modifier = { + mining_tax_mult = 0.15 + levy_size = 0.30 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.20 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = cagliari_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_salt +} + + + +cagliari_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_modifier = { + mining_tax_mult = 0.20 + levy_size = 0.40 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.25 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_salt +} + + +########## +# Igrésias Mining Settlement +########## + + + +iglesias_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_modifier = { + mining_tax_mult = 0.04 + prosperity_growth_factor = 0.025 + } + + province_modifier = { + monthly_mining_tax = 1 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = iglesias_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +iglesias_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_modifier = { + mining_tax_mult = 0.08 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 1.75 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = iglesias_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +iglesias_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_modifier = { + mining_tax_mult = 0.12 + levy_size = 0.05 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 2.5 + stationed_siege_weapon_siege_value_mult = 0.05 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = iglesias_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +iglesias_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_modifier = { + mining_tax_mult = 0.15 + levy_size = 0.20 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + +########## +# Mercury Mines of Monte Amiata (Montepulciano) +########## + + + +monte_amiata_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_holder_character_modifier = { + owned_hostile_scheme_success_chance_add = 10 + owned_scheme_secrecy_add = 5 + } + + county_modifier = { + mining_tax_mult = 0.05 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 1.5 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = monte_amiata_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +monte_amiata_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_holder_character_modifier = { + owned_hostile_scheme_success_chance_add = 15 + owned_scheme_secrecy_add = 7 + } + + county_modifier = { + mining_tax_mult = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 2.5 + stationed_siege_weapon_siege_value_mult = 0.05 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = monte_amiata_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +monte_amiata_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_holder_character_modifier = { + owned_hostile_scheme_success_chance_add = 20 + owned_scheme_secrecy_add = 10 + } + + county_modifier = { + mining_tax_mult = 0.15 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 4 + stationed_siege_weapon_siege_value_mult = 0.10 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = monte_amiata_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +monte_amiata_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_holder_character_modifier = { + owned_hostile_scheme_success_chance_add = 30 + owned_scheme_secrecy_add = 15 + } + + county_modifier = { + mining_tax_mult = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + +######################################## +# BRYTANNYA +######################################## + +########## +# Croke Park Stadium - one of the largest stadiums in Europe (Dublin) +########## + + + +croke_park_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 750 + + county_modifier = { + hostile_raid_time = 0.25 + county_opinion_add = 10 + civic_tax_mult = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 1.5 + fort_level = 2 + defender_holding_advantage = 3 + garrison_size = 0.10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = croke_park_02 + flag = travel_point_of_interest_martial +} + + + +croke_park_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1500 + + county_holder_character_modifier = { + monthly_prestige_gain_mult = 0.10 + monthly_prestige = 0.25 + martial_per_prestige_level = 1 + } + + county_modifier = { + hostile_raid_time = 0.50 + county_opinion_add = 20 + civic_tax_mult = 0.20 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 3 + fort_level = 5 + defender_holding_advantage = 6 + garrison_size = 0.25 + travel_danger = -10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Westminster Pyramids +########## + + + +westminster_pyramids_01 = { + + asset = { + type = pdxmesh + name = "building_special_pyramids_giza_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_piety = 0.25 + learning_per_piety_level = 1 + } + + county_modifier = { + county_opinion_add = 5 + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_civic_tax = 1 + build_speed = -0.05 + } + + next_building = westminster_pyramids_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = travel_point_of_interest_learning +} + + + +westminster_pyramids_02 = { + + asset = { + type = pdxmesh + name = "building_special_pyramids_giza_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_manorialism } + building_requirement_castle_city_church = { LEVEL = 02 } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_piety = 0.50 + monthly_piety_gain_mult = 0.10 + monthly_influence = 0.25 + learning_per_piety_level = 1 + stewardship_per_influence_level = 1 + } + + county_modifier = { + county_opinion_add = 10 + civic_tax_mult = 0.15 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 3 + build_speed = -0.10 + } + + next_building = westminster_pyramids_03 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = travel_point_of_interest_learning +} + + + +westminster_pyramids_03 = { + + asset = { + type = pdxmesh + name = "building_special_pyramids_giza_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 2000 + + county_holder_character_modifier = { + monthly_piety = 1 + monthly_piety_gain_mult = 0.20 + monthly_influence = 0.25 + monthly_prestige = 0.25 + learning_per_piety_level = 1 + stewardship_per_influence_level = 1 + martial_per_prestige_level = 1 + } + + county_modifier = { + county_opinion_add = 10 + civic_tax_mult = 0.25 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 3 + build_speed = -0.20 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = travel_point_of_interest_learning +} + +########## +# The Tower of London +########## + + + +the_tower_of_london_02 = { + + asset = { + type = pdxmesh + name = "building_special_tower_of_london_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/tower_of_london.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + has_innovation = innovation_castle_baileys + } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1500 + + county_holder_character_modifier = { + dread_gain_mult = 0.3 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 6 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + stationed_siege_weapon_siege_value_mult = 0.25 + travel_danger = -20 + monthly_civic_tax = 3 + } + + county_modifier = { + prosperity_growth = 0.2 + prosperity_growth_factor = 0.2 + civic_tax_mult = 0.1 + } + + max_garrison = 1000 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { + factor = 5 + scope:holder = { + culture = { + has_cultural_parameter = ai_more_likely_to_castle + } + } + } + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Windsor Castle +########## + + + +windsor_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_influence_level = 1 + monthly_influence = 0.50 + monthly_influence_mult = 0.10 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + defender_holding_advantage = 3 + fort_level = 3 + monthly_civic_tax = 0.5 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Harlech Castle +########## + + + +harlech_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.05 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + defender_holding_advantage = 4 + fort_level = 2 + monthly_civic_tax = 0.25 + stationed_maa_damage_mult = 0.05 + stationed_maa_toughness_mult = 0.10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = harlech_castle_02 + flag = travel_point_of_interest_martial +} + + + +harlech_castle_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + monthly_prestige = 0.25 + monthly_prestige_gain_mult = 0.05 + prestige_level_impact_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + defender_holding_advantage = 8 + fort_level = 5 + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Edinburgh Castle +########## + + + +edinburgh_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder.culture = { + has_innovation = innovation_castle_baileys + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_prestige = 0.15 + monthly_prestige_gain_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + monthly_county_control_growth_add = 0.20 + } + + province_modifier = { + defender_holding_advantage = 8 + fort_level = 6 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + stationed_siege_weapon_siege_value_mult = 0.20 + travel_danger = -15 + } + + max_garrison = 750 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Canterbury Cathedral +########## + + + +portsmouth_royal_dockyard_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 350 + + county_holder_character_modifier = { + embarkation_cost_mult = -0.10 + naval_movement_speed_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + hostile_raid_time = 0.35 + } + + province_modifier = { + monthly_civic_tax = 1 + fort_level = 2 + defender_holding_advantage = 2 + stationed_maa_damage_mult = 0.05 + stationed_maa_toughness_mult = 0.10 + garrison_size = 0.05 + travel_danger = -15 + } + + next_building = portsmouth_royal_dockyard_02 + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + culture_likely_to_fortify_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic + flag = travel_point_of_interest_martial +} + + + +portsmouth_royal_dockyard_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 800 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + embarkation_cost_mult = -0.25 + naval_movement_speed_mult = 0.25 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + hostile_raid_time = 0.50 + } + + province_modifier = { + monthly_civic_tax = 3 + fort_level = 4 + defender_holding_advantage = 6 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.25 + garrison_size = 0.15 + travel_danger = -25 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic + flag = travel_point_of_interest_martial +} + +########## +# Devonport +########## + + + +devonport_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 350 + + county_holder_character_modifier = { + embarkation_cost_mult = -0.10 + naval_movement_speed_mult = 0.10 + } + + county_modifier = { + maritime_tax_mult = 0.10 + prosperity_growth = 0.05 + prosperity_growth_factor = 0.10 + hostile_raid_time = 0.25 + } + + province_modifier = { + monthly_maritime_tax = 1.5 + fort_level = 2 + defender_holding_advantage = 2 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + garrison_size = 0.05 + travel_danger = -10 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic + flag = travel_point_of_interest_martial_minor +} + +########## +# Stonehenge +########## + + + +cardiff_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct = { + } + + cost_gold = 1000 + + character_modifier = { + monthly_dynasty_prestige = 0.10 + martial = 2 + } + + county_modifier = { + civic_tax_mult = 0.10 + } + + province_modifier = { + defender_holding_advantage = 4 + fort_level = 2 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + stationed_siege_weapon_siege_value_mult = 0.10 + travel_danger = -10 + } + + max_garrison = 500 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Krowfymply Castle +########## + + + +krowfymply_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_influence_level = 1 + monthly_influence = 0.25 + monthly_influence_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.05 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + defender_holding_advantage = 1 + fort_level = 2 + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = krowfymply_castle_02 + flag = travel_point_of_interest_martial +} + + + +krowfymply_castle_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_castle_baileys } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_influence_level = 1 + monthly_influence = 0.75 + monthly_influence_mult = 0.35 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + defender_holding_advantage = 4 + fort_level = 4 + monthly_civic_tax = 2.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + stationed_siege_weapon_siege_value_mult = 0.20 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Glasgow Cathedral +########## + + + +glasgow_cathedral_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.20 + monthly_piety_gain_mult = 0.20 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 10 + } + + county_modifier = { + religious_tax_mult = 0.15 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.15 + county_opinion_add = 5 + } + + province_modifier = { + monthly_religious_tax = 2 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Oxford University +########## + +oxford_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_piety_level = 1 + intrigue_per_prestige_level = 1 + monthly_piety_gain_mult = 0.05 + monthly_prestige_gain_mult = 0.05 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Cambridge University +########## + +cambridge_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + stewardship_per_prestige_level = 1 + prestige_level_impact_mult = 0.1 + monthly_prestige_gain= 0.2 + monthly_lifestyle_xp_gain_mult = 0.1 + cultural_head_fascination_mult = 0.05 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# British coal mines +########## + +#coal_mines_01 = { +# effect_desc = mines_effect_desc +# +# asset = { +# type = pdxmesh +# name = "building_special_mines_mesh" +# } +# +# type_icon = "icon_structure_mines.dds" +# +# can_construct_potential = { +# building_requirement_tribal = no +# } +# +# can_construct = { +# building_requirement_castle_city_church = { LEVEL = 01 } +# culture = { +# has_innovation = innovation_crop_rotation +# } +# } +# +# cost_gold = 400 +# +# county_modifier = { +# maritime_tax_mult = 0.025 +# prosperity_growth_factor = 0.025 +# } +# +# province_modifier = { +# monthly_maritime_tax = 0.25 +# stationed_airship_damage_mult = 0.10 +# stationed_airship_toughness_mult = 0.10 +# stationed_siege_weapon_siege_value_mult = 0.15 +# stationed_gunpowder_damage_mult = 0.15 +# stationed_gunpowder_toughness_mult = 0.15 +# } +# +# province_culture_modifier = { +# parameter = cupellation_mine_building_bonuses +# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value +# } +# +# next_building = coal_mines_02 +# +# ai_value = { +# base = 100 +# } +# +# type = special +# +# flag = travel_point_of_interest_economic +# flag = special_mine +#} +# +#coal_mines_02 = { +# effect_desc = mines_effect_desc +# +# asset = { +# type = pdxmesh +# name = "building_special_mines_mesh" +# } +# +# type_icon = "icon_structure_mines.dds" +# +# can_construct_potential = { +# building_requirement_tribal = no +# } +# +# can_construct = { +# building_requirement_castle_city_church = { LEVEL = 02 } +# culture = { +# has_innovation = innovation_manorialism +# } +# } +# +# cost_gold = 500 +# +# county_modifier = { +# maritime_tax_mult = 0.05 +# prosperity_growth_factor = 0.05 +# } +# +# province_modifier = { +# monthly_maritime_tax = 0.75 +# stationed_airship_damage_mult = 0.15 +# stationed_airship_toughness_mult = 0.15 +# stationed_siege_weapon_siege_value_mult = 0.25 +# stationed_gunpowder_damage_mult = 0.25 +# stationed_gunpowder_toughness_mult = 0.25 +# } +# +# province_culture_modifier = { +# parameter = cupellation_mine_building_bonuses +# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value +# } +# +# next_building = coal_mines_03 +# +# ai_value = { +# base = 100 +# } +# +# type = special +# +# flag = travel_point_of_interest_economic +# flag = special_mine +#} +# +#coal_mines_03 = { +# effect_desc = mines_effect_desc +# +# asset = { +# type = pdxmesh +# name = "building_special_mines_mesh" +# } +# +# type_icon = "icon_structure_mines.dds" +# +# can_construct_potential = { +# building_requirement_tribal = no +# } +# +# can_construct = { +# building_requirement_castle_city_church = { LEVEL = 03 } +# culture = { +# has_innovation = innovation_windmills +# } +# } +# +# cost_gold = 600 +# +# county_modifier = { +# maritime_tax_mult = 0.075 +# prosperity_growth_factor = 0.075 +# } +# +# province_modifier = { +# monthly_maritime_tax = 1.5 +# stationed_airship_damage_mult = 0.25 +# stationed_airship_toughness_mult = 0.25 +# stationed_siege_weapon_siege_value_mult = 0.40 +# stationed_gunpowder_damage_mult = 0.40 +# stationed_gunpowder_toughness_mult = 0.40 +# } +# +# province_culture_modifier = { +# parameter = cupellation_mine_building_bonuses +# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value +# } +# +# next_building = coal_mines_04 +# +# ai_value = { +# base = 100 +# } +# +# type = special +# +# flag = travel_point_of_interest_economic +# flag = special_mine +#} +# +#coal_mines_04 = { +# effect_desc = mines_effect_desc +# +# asset = { +# type = pdxmesh +# name = "building_special_mines_mesh" +# } +# +# type_icon = "icon_structure_mines.dds" +# +# can_construct_potential = { +# building_requirement_tribal = no +# } +# +# can_construct = { +# building_requirement_castle_city_church = { LEVEL = 04 } +# culture = { +# has_innovation = innovation_cranes +# } +# } +# +# cost_gold = 700 +# county_modifier = { +# maritime_tax_mult = 0.10 +# prosperity_growth_factor = 0.10 +# } +# +# province_modifier = { +# monthly_maritime_tax = 2.5 +# stationed_airship_damage_mult = 0.50 +# stationed_airship_toughness_mult = 0.50 +# stationed_siege_weapon_siege_value_mult = 0.75 +# stationed_gunpowder_damage_mult = 0.75 +# stationed_gunpowder_toughness_mult = 0.75 +# } +# +# province_culture_modifier = { +# parameter = cupellation_mine_building_bonuses +# maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value +# } +# +# ai_value = { +# base = 100 +# } +# +# type = special +# +# flag = travel_point_of_interest_economic +# flag = special_mine +#} + +########## +# Giant's Causeway +########## + + + +giants_causeway_01 = { + + asset = { + type = pdxmesh + name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + } + + cost_gold = 300 + + character_modifier = { + stewardship = 1 + learning = 1 + diplomatic_range_mult = 0.2 + monthly_prestige = 0.15 + } + + county_modifier = { + prosperity_growth_factor = 0.1 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_natural_feature + flag = is_mountain +} + +########## +# Loch Ness +########## + + + +loch_ness_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + } + + cost_gold = 300 + + character_modifier = { + intrigue = 3 + stress_gain_mult = 0.15 + stress_loss_mult = 0.05 + } + + county_modifier = { + county_opinion_add = -5 + prosperity_growth = -0.05 + civic_tax_mult = -0.05 + } + + province_modifier = { + travel_danger = 15 + build_gold_cost = 0.05 + build_speed = 0.05 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = loch_ness_02 + flag = travel_point_of_interest_natural_feature # lake +} + + + +loch_ness_02 = { #Make the lake safer + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + #building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = household_soldiers } + } + + cost_gold = 800 + + character_modifier = { + intrigue = 3 + stress_gain_mult = 0.05 + stress_loss_mult = 0.20 + } + + county_modifier = { + county_opinion_add = 10 + civic_tax_mult = -0.10 + levy_size = -0.05 + } + + province_modifier = { + build_speed = -0.10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_natural_feature # lake +} + +########## +# Bone Temple of Melar +########## + + + +bone_temple_melar_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_city_planning + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety_gain_mult = 0.1 + monthly_dynasty_prestige_mult = 0.05 + knight_effectiveness_mult = 0.2 + knight_limit = 1 + } + province_modifier = { + monthly_religious_tax = 1 + } + county_modifier = { + religious_tax_mult = 0.1 + levy_size = 0.1 + county_opinion_add = 10 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building +} + +########## +# Offa's Dyke +########## + + + +alnwick_castle_01 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + character_modifier = { + knight_effectiveness_mult = 0.10 + stress_gain_mult = 0.10 + intrigue = 1 + } + + province_modifier = { + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + fort_level = 3 + defender_holding_advantage = 3 + stationed_siege_weapon_siege_value_mult = 0.10 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.05 + prosperity_growth_factor = 0.10 + } + + max_garrison = 500 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Birmingham Grand Market +########## + + + +birmingham_grand_market_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_influence = 0.20 + monthly_influence_mult = 0.05 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + next_building = birmingham_grand_market_02 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + + + +birmingham_grand_market_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + building_requirement_castle_city_church = { LEVEL = 03 } + } + + cost_gold = 750 + + county_holder_character_modifier = { + monthly_influence = 0.35 + monthly_influence_mult = 0.10 + stewardship_per_influence_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + next_building = birmingham_grand_market_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + + + +birmingham_grand_market_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_cranes } + building_requirement_castle_city_church = { LEVEL = 04 } + } + + cost_gold = 2000 + + county_holder_character_modifier = { + monthly_influence = 0.50 + monthly_influence_gain_mult = 0.20 + stewardship_per_influence_level = 1 + } + + county_modifier = { + civic_tax_mult = 0.30 + prosperity_growth = 0.30 + prosperity_growth_factor = 0.30 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + } + flag = travel_point_of_interest_economic +} + +######################################## +# GERMANIA +######################################## + +########## +# Neuschwanstein +########## + + + +neuschwanstein_01 = { + + construction_time = very_slow_construction_time + + type_icon = "icon_neow_neschwanstein.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + effect_desc = feast_cost_discount_max_desc + + county_holder_character_modifier = { + monthly_prestige = 0.5 + monthly_prestige_gain_mult = 0.1 + prestige_level_impact_mult = 0.1 + diplomacy_per_prestige_level = 1 + courtly_tax_contribution_mult = 0.15 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + civic_tax_mult = 0.15 + } + + province_modifier = { + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + fort_level = 2 + defender_holding_advantage = 2 + } + + max_garrison = 350 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Brandenburg Gate +########## + + + +brandenburg_gate_01 = { + + construction_time = very_slow_construction_time + + type_icon = "icon_neow_brandenburg_gate.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + maa_damage_mult = 0.1 + maa_toughness_mult = 0.1 + siege_weapon_siege_value_mult = 0.1 + advantage = 5 + martial_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + civic_tax_mult = 0.1 + county_opinion_add = 20 + } + + province_modifier = { + monthly_civic_tax = 1.5 + } + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Hofburg +########## + + + +hofburg_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + effect_desc = feast_cost_discount_max_desc + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.25 + monthly_dynasty_prestige_mult = 0.25 + prestige_level_impact_mult = 0.1 + } + + county_modifier = { + prosperity_growth = 0.25 + prosperity_growth_factor = 0.25 + civic_tax_mult = 0.2 + } + + province_modifier = { + monthly_civic_tax = 2 + stationed_maa_damage_mult = 0.2 + stationed_maa_toughness_mult = 0.15 + stationed_siege_weapon_siege_value_mult = 0.15 + fort_level = 4 + defender_holding_advantage = 4 + } + + max_garrison = 500 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +######################################## +# SCANDINAVIA +######################################## + + + +######################################## +# ZAPADOSLAVIA +######################################## + +########## +# Prague Castle +########## + + + +prague_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.15 + } + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.10 + civic_tax_mult = 0.05 + monthly_county_control_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + fort_level = 2 + defender_holding_advantage = 3 + } + + max_garrison = 250 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = prague_castle_02 + flag = travel_point_of_interest_martial +} + + + +prague_castle_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + scope:holder.culture = { has_innovation = innovation_battlements } + } + + cost_gold = 1500 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.35 + learning_per_piety_level = 1 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.20 + civic_tax_mult = 0.10 + monthly_county_control_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 2 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + stationed_siege_weapon_siege_value_mult = 0.10 + fort_level = 5 + defender_holding_advantage = 5 + } + + max_garrison = 500 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = prague_castle_03 + flag = travel_point_of_interest_martial +} + + + +prague_castle_03 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_cranes } + scope:holder.culture = { has_innovation = innovation_machicolations } + } + + cost_gold = 3000 + + county_holder_character_modifier = { + monthly_dynasty_prestige = 0.50 + monthly_dynasty_prestige_mult = 0.05 + monthly_piety = 0.25 + monthly_piety_gain_mult = 0.10 + learning_per_piety_level = 1 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.30 + civic_tax_mult = 0.25 + monthly_county_control_growth_factor = 0.25 + } + + province_modifier = { + monthly_civic_tax = 3 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + stationed_siege_weapon_siege_value_mult = 0.15 + fort_level = 6 + defender_holding_advantage = 8 + } + + max_garrison = 1000 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial + flag = travel_point_of_interest_religious +} + +########## +# Charles University +########## + +charles_university_01 = { + construction_time = very_slow_construction_time + effect_desc = { + desc = unlocks_building_desc + triggered_desc = { + trigger = { has_dlc_feature = tours_and_tournaments } + desc = university_toto_effect_desc + } + triggered_desc = { + trigger = { has_dlc_feature = royal_court } + desc = university_roco_effect_desc + } + desc = university_effect_desc + } + + type_icon = "special_buildings/university.dds" + + can_construct_potential = { + building_requirement_tribal = no + building_university_requirement = yes + } + + can_construct = { + scope:holder = { + highest_held_title_tier >= tier_duchy + prestige_level >= 4 + } + county = { + prosperity_level >= 30 + } + } + + show_disabled = yes + + on_complete = { + county.holder = { + save_scope_as = founder + + found_university_decision_event_effect = yes + + every_player = { + limit = { + this != scope:founder + is_within_diplo_range = { CHARACTER = scope:founder } + } + trigger_event = major_decisions.2002 + } + } + } + + cost_gold = 1000 + + character_modifier = { + learning_per_prestige_level = 1 + prestige_level_impact_mult = 0.15 + monthly_dynasty_prestige = 0.2 + monthly_lifestyle_xp_gain_mult = 0.15 + cultural_head_fascination_mult = 0.05 + } + province_modifier = { + province_size_baseline_add = special_building_province_size_baseline + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 9 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + ai_special_district_modifier = { LEVEL = 1 } + } + + character_culture_modifier = { + parameter = roman_law_university_bonuses + trade_competitiveness_mult = roman_law_university_competitiveness_value + } + + province_culture_modifier = { + parameter = roman_law_university_bonuses + popular_opinion_add = roman_law_university_popular_opinion_value + } + market_modifier = { + trade_category_books_sell_price_mult = special_building_need_sell_price + trade_good_leather_sell_price_mult = special_building_need_sell_price + } + + + trade_good_need = { + trade_good_category = trade_category_books + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity + } + } + } + + trade_good_need = { + trade_good = trade_good_leather + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth = special_building_need_prosperity + } + } + } + + flag = travel_point_of_interest_learning + flag = special_university +} + +########## +# Sedlec Bone Temple +########## + + + +sedlec_temple_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + dread_baseline_add = 20 + dread_gain_mult = 0.10 + intrigue_per_piety_level = 1 + } + + county_modifier = { + monthly_county_control_growth_add = -0.25 + county_opinion_add = -15 + religious_tax_mult = 0.05 + } + + province_modifier = { + monthly_religious_tax = 0.5 + travel_danger = 10 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Grand Porcelain Works +########## + + + +grand_porcelain_works_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_guilds } + } + + cost_gold = 800 + + county_holder_character_modifier = { + stewardship = 2 + monthly_prestige = 0.10 + monthly_prestige_gain_mult = 0.30 + + } + + county_modifier = { + civic_tax_mult = 0.30 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic +} + +########## +# Špilberk Castle +########## + + + +spilberk_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + monthly_prestige = 0.25 + monthly_prestige_gain_mult = 0.15 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.15 + civic_tax_mult = 0.15 + monthly_county_control_growth_add = 0.30 + } + + province_modifier = { + monthly_civic_tax = 1.5 + stationed_maa_damage_mult = 0.15 + stationed_maa_toughness_mult = 0.15 + stationed_siege_weapon_siege_value_mult = 0.10 + fort_level = 3 + defender_holding_advantage = 4 + travel_danger = -15 + } + + max_garrison = 500 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Königsberg Cathedral (rebuilt in 1992-1998) +########## + + + +konigsberg_cathedral_01 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + asset = { + type = pdxmesh + name = "building_special_wawel_cathedral_01_mesh" + requires_dlc_flag = medieval_monuments + } + can_construct_potential = { + } + + can_construct = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + scope:holder = { + culture = { + has_innovation = innovation_city_planning + } + } + } + + is_enabled = { + always = yes + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.25 + monthly_piety_gain_per_knight_add = 0.05 + monthly_dynasty_prestige_mult = 0.05 + clergy_opinion = 5 + learning = 2 + } + province_modifier = { + monthly_religious_tax = 1 + } + county_modifier = { + religious_tax_mult = 0.1 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.1 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + next_building = konigsberg_cathedral_02 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building +} + + + +konigsberg_cathedral_02 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + asset = { + type = pdxmesh + name = "building_special_wawel_cathedral_01_mesh" + requires_dlc_flag = medieval_monuments + } + + can_construct_potential = { + } + + can_construct = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + scope:holder = { + culture = { + has_innovation = innovation_manorialism + } + } + } + + is_enabled = { + always = yes + } + + cost_gold = 1000 + cost_piety = 1000 + + character_modifier = { + monthly_dynasty_prestige_mult = 0.1 + cultural_head_fascination_mult = 0.05 + monthly_lifestyle_xp_gain_mult = 0.1 + faith_creation_piety_cost_mult = -0.2 + faith_conversion_piety_cost_mult = -0.2 + } + province_modifier = { + monthly_religious_tax = 2 + travel_danger = -10 + } + county_modifier = { + religious_tax_mult = 0.2 + prosperity_growth_factor = 0.25 + prosperity_growth = 0.15 + } + + on_complete = { + #Regular Mandala Boon + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 8 + ai_pious_building_preference_modifier = yes + } + flag = travel_point_of_interest_religious + flag = travel_point_of_interest_learning + flag = holy_building + flag = special_university +} + +######################################## +# YUGOSLAVIJA +######################################## + +########## +# Rector's Palace - Dubrovnik +########## + + + +rector_palace_01 = { + construction_time = very_slow_construction_time + effect_desc = feast_cost_discount_max_desc + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + scope:holder = { + custom_tooltip = { + text = government_is_not_republic_or_admin_desc + OR = { + government_has_flag = government_is_republic + government_has_flag = government_is_urepublic + government_has_flag = government_is_prepublic + government_has_flag = government_is_administrative + } + } + } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_influence = 0.25 + monthly_influence_mult = 0.1 + } + + county_modifier = { + prosperity_growth_factor = 0.2 + prosperity_growth = 0.2 + civic_tax_mult = 0.1 + hostile_raid_time = 0.35 + } + + province_modifier = { + garrison_size = 0.1 + fort_level = 1 + levy_size = 0.5 + monthly_civic_tax = 2.5 + defender_holding_advantage = 2 + travel_danger = -10 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic +} + +########## +# Pula Arena +########## + + + +pula_arena_01 = { + + asset = { + type = pdxmesh + name = "building_special_colosseum_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 3000 + + character_modifier = { + glory_hound_opinion = 5 + belligerent_opinion = 5 + } + + county_modifier = { + prosperity_growth_factor = 0.10 + prosperity_growth = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.5 + county_opinion_add = 20 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Zagreb Cathedral +########## + + + +zagreb_cathedral_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.20 + monthly_piety_gain_mult = 0.20 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 10 + } + + county_modifier = { + religious_tax_mult = 0.15 + prosperity_growth_factor = 0.15 + prosperity_growth = 0.15 + county_opinion_add = 5 + } + + province_modifier = { + monthly_religious_tax = 2 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +########## +# Baščaršija - Sarajevo Old Town +########## + + + +bascarsija_01 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + cost_gold = 500 + + county_modifier = { + prosperity_growth_factor = 0.05 + civic_tax_mult = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.5 + } + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = bascarsija_02 + flag = travel_point_of_interest_economic +} + + + +bascarsija_02 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_development_02 } + scope:holder.culture = { has_innovation = innovation_manorialism } + } + + cost_gold = 500 + + character_modifier = { + monthly_prestige = 0.1 + monthly_dynasty_prestige = 0.05 + } + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.1 + civic_tax_mult = 0.1 + } + + province_modifier = { + monthly_civic_tax = 1.5 + } + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = bascarsija_03 + flag = travel_point_of_interest_economic +} + + + +bascarsija_03 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_guilds } + scope:holder.culture = { has_innovation = innovation_windmills } + } + + cost_gold = 500 + + character_modifier = { + monthly_prestige = 0.25 + monthly_dynasty_prestige = 0.15 + monthly_dynasty_prestige_mult = 0.05 + stewardship_per_prestige_level = 1 + } + + county_modifier = { + prosperity_growth = 0.1 + prosperity_growth_factor = 0.15 + civic_tax_mult = 0.2 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic +} + +########## +# Jajce Citadel +########## + + + +jajce_citadel_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + } + + cost_gold = 400 + + character_modifier = { + monthly_prestige = 0.1 + } + + max_garrison = 100 + + county_modifier = { + prosperity_growth_factor = 0.1 + } + + province_modifier = { + defender_holding_advantage = 2 + fort_level = 1 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + travel_danger = -10 + } + + next_building = jajce_citadel_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + + + +jajce_citadel_02 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 800 + + character_modifier = { + monthly_prestige = 0.25 + martial_per_prestige_level = 1 + } + + max_garrison = 350 + + county_modifier = { + prosperity_growth_factor = 0.1 + civic_tax_mult = 0.1 + } + + province_modifier = { + defender_holding_advantage = 6 + fort_level = 4 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + stationed_siege_weapon_siege_value_mult = 0.15 + travel_danger = -20 + } + + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Tito Bunker +########## + + + +tito_bunker_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct = { + building_requirement_tribal = no + } + + cost_gold = 500 + + character_modifier = { + martial_per_piety_level = 1 + } + + county_modifier = { + monthly_county_control_growth_factor = 0.1 + monthly_county_control_growth_add = 0.1 + prosperity_growth_factor = 0.1 + } + + province_modifier = { + garrison_size = 0.15 + fort_level = 5 + defender_holding_advantage = 5 + travel_danger = -15 + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_martial +} + +########## +# Church of Saint Sava +########## + + + +church_saint_sava_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + asset = { + type = pdxmesh + name = "building_special_hagia_sophia_mesh" + } + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + OR = { + scope:holder = { + OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } + } + } + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.35 + monthly_piety_gain_mult = 0.15 + holy_order_hire_cost_mult = -0.10 + clergy_opinion = 10 + monthly_dynasty_prestige_mult = 0.05 + } + + county_modifier = { + religious_tax_mult = 0.15 + prosperity_growth_factor = 0.20 + prosperity_growth = 0.15 + county_opinion_add = 5 + } + + province_modifier = { + monthly_religious_tax = 1.5 + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} +########## +# Smederevo Fortress +########## + + + +smederevo_fortress_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + } + + cost_gold = 400 + + character_modifier = { + monthly_prestige = 0.1 + } + + max_garrison = 100 + + county_modifier = { + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.5 + defender_holding_advantage = 2 + fort_level = 2 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + next_building = smederevo_fortress_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + + + +smederevo_fortress_02 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 800 + + character_modifier = { + monthly_prestige = 0.25 + martial_per_prestige_level = 1 + } + + max_garrison = 350 + + county_modifier = { + prosperity_growth = 0.05 + prosperity_growth_factor = 0.05 + civic_tax_mult = 0.1 + } + + province_modifier = { + monthly_civic_tax = 1 + defender_holding_advantage = 4 + fort_level = 4 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + +########## +# Petrovaradin Fortress +########## + + + +petrovaradin_fortress_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_prestige_gain_mult = 0.15 + monthly_dynasty_prestige_mult = 0.15 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.15 + civic_tax_mult = 0.15 + } + + province_modifier = { + monthly_civic_tax = 2 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.1 + stationed_siege_weapon_siege_value_mult = 0.15 + fort_level = 3 + defender_holding_advantage = 4 + travel_danger = -15 + } + + max_garrison = 500 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Ljubljana Castle +########## + + + +ljubljana_castle_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + monthly_prestige = 0.15 + } + + county_modifier = { + prosperity_growth_factor = 0.05 + civic_tax_mult = 0.05 + monthly_county_control_growth_factor = 0.10 + } + + province_modifier = { + monthly_civic_tax = 1 + stationed_maa_damage_mult = 0.10 + stationed_maa_toughness_mult = 0.10 + fort_level = 2 + defender_holding_advantage = 2 + } + + max_garrison = 200 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + + next_building = ljubljana_castle_02 + flag = travel_point_of_interest_martial +} + + + +ljubljana_castle_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { has_innovation = innovation_windmills } + scope:holder.culture = { has_innovation = innovation_battlements } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + monthly_piety = 0.25 + monthly_prestige = 0.25 + martial_per_piety_level = 1 + } + + county_modifier = { + prosperity_growth = 0.10 + prosperity_growth_factor = 0.20 + civic_tax_mult = 0.15 + monthly_county_control_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 2.5 + stationed_maa_damage_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + stationed_siege_weapon_siege_value_mult = 0.10 + fort_level = 4 + defender_holding_advantage = 4 + } + + max_garrison = 350 + + ai_value = { + base = 10 + directive_to_fortify_modifier = yes + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Celje Hall +########## + + + +celje_hall_01 = { + construction_time = very_slow_construction_time + effect_desc = feast_cost_discount_max_desc + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + is_enabled = { + scope:holder = { + custom_tooltip = { + text = government_is_not_republic_or_admin_desc + OR = { + government_has_flag = government_is_republic + government_has_flag = government_is_urepublic + government_has_flag = government_is_prepublic + government_has_flag = government_is_administrative + } + } + } + } + + cost_gold = 1000 + + county_holder_character_modifier = { + stewardship_per_prestige_level = 1 + monthly_prestige = 0.25 + monthly_influence = 0.25 + } + + county_modifier = { + prosperity_growth_factor = 0.15 + prosperity_growth = 0.15 + civic_tax_mult = 0.15 + } + + province_modifier = { + monthly_civic_tax = 1.5 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic +} + +########## +# Niš Skull Tower +########## + + + +nis_skull_tower_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/colosseum.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + } + + cost_gold = 500 + + county_holder_character_modifier = { + dread_baseline_add = 15 + dread_gain_mult = 0.15 + monthly_piety_gain_per_dread_mult = 0.01 + knight_effectiveness_per_dread = 0.005 + } + + county_modifier = { + monthly_county_control_growth_add = -0.1 + county_opinion_add = -20 + civic_tax_mult = 0.05 + } + + province_modifier = { + monthly_civic_tax = 0.75 + travel_danger = 15 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + +########## +# Bor Mining Settlement +########## + + + +bor_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_modifier = { + mining_tax_mult = 0.05 + levy_size = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 2 + stationed_siege_weapon_siege_value_mult = 0.10 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = bor_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +bor_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_modifier = { + mining_tax_mult = 0.10 + levy_size = 0.20 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 3.5 + stationed_siege_weapon_siege_value_mult = 0.15 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = bor_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +bor_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_modifier = { + mining_tax_mult = 0.15 + levy_size = 0.30 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.20 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = bor_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + + + +bor_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_modifier = { + mining_tax_mult = 0.20 + levy_size = 0.40 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.25 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine +} + +########## +# Zenica Iron Mines +########## + + + +zenica_iron_mines_01 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + culture = { + has_innovation = innovation_crop_rotation + } + } + + cost_gold = 400 + + county_modifier = { + mining_tax_mult = 0.05 + levy_size = 0.10 + prosperity_growth_factor = 0.05 + } + + province_modifier = { + monthly_mining_tax = 2 + stationed_siege_weapon_siege_value_mult = 0.10 + stationed_maa_toughness_mult = 0.05 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = zenica_iron_mines_02 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +zenica_iron_mines_02 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + culture = { + has_innovation = innovation_manorialism + } + } + + cost_gold = 500 + + county_modifier = { + mining_tax_mult = 0.10 + levy_size = 0.20 + prosperity_growth_factor = 0.10 + } + + province_modifier = { + monthly_mining_tax = 3.5 + stationed_siege_weapon_siege_value_mult = 0.15 + stationed_maa_toughness_mult = 0.10 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = zenica_iron_mines_03 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +zenica_iron_mines_03 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + culture = { + has_innovation = innovation_windmills + } + } + + cost_gold = 600 + + county_modifier = { + mining_tax_mult = 0.15 + levy_size = 0.30 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.20 + stationed_maa_toughness_mult = 0.20 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + next_building = zenica_iron_mines_04 + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + + + +zenica_iron_mines_04 = { + effect_desc = mines_effect_desc + + asset = { + type = pdxmesh + name = "building_special_mines_mesh" + } + + type_icon = "special_buildings/toledo.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 700 + + county_modifier = { + mining_tax_mult = 0.20 + levy_size = 0.40 + prosperity_growth_factor = 0.20 + } + + province_modifier = { + monthly_mining_tax = 5 + stationed_siege_weapon_siege_value_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + } + + province_culture_modifier = { + parameter = cupellation_mine_building_bonuses + mining_tax_mult = innovation_cupellation_mine_tax_bonus_value + } + + ai_value = { + base = 10 + } + flag = travel_point_of_interest_economic + flag = special_mine + flag = special_mine_iron +} + +######################################## +# MAKEDONIA +######################################## + + + +######################################## +# NISTERNIA +######################################## + +########## +# The Palace of Soroca +########## + + +nistrenian_palace_01 = { + asset = { + type = pdxmesh + name = ep3_despots_palace_mesh + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_manorialism } + building_requirement_tribal = no + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 750 + + county_holder_character_modifier = { + stardwardship_per_piety_level = 2 + monthly_dynasty_prestige = 0.15 + monthly_dynasty_prestige_mult = 0.05 + monthly_influence = 0.2 + monthly_influence_mult = 0.3 + } + + county_modifier = { + civic_tax_mult = 0.3 + prosperity_growth = 0.2 + prosperity_growth_factor = 0.2 + monthly_county_control_growth_add = 0.5 + } + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious +} + +######################################## +# RUSSIA +######################################## + +########## +# Winter Palace +########## + + + +winter_palace_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_manorialism } + building_requirement_tribal = no + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 750 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + monthly_dynasty_prestige = 0.15 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige = 0.15 + legitimacy_gain_mult = 0.15 + } + + county_modifier = { + civic_tax_mult = 0.10 + prosperity_growth = 0.10 + prosperity_growth_factor = 0.15 + } + + province_modifier = { + monthly_civic_tax = 2 + } + + next_building = winter_palace_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +winter_palace_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/despot_palace.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_windmills } + } + + effect_desc = feast_cost_discount_max_desc + + cost_gold = 2000 + + county_holder_character_modifier = { + diplomacy_per_prestige_level = 1 + stewardship_per_prestige_level = 1 + monthly_dynasty_prestige = 0.50 + monthly_dynasty_prestige_mult = 0.10 + monthly_prestige = 0.50 + monthly_prestige_gain_mult = 0.20 + legitimacy_gain_mult = 0.15 + } + + county_modifier = { + civic_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.25 + } + + province_modifier = { + monthly_civic_tax = 3 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Peter and Paul Fortress +########## + + + +petropavlovskaya_krepost_01 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_manorialism } + building_requirement_tribal = no + } + + cost_gold = 750 + + county_holder_character_modifier = { + knight_effectiveness_mult = 0.125 + monthly_martial_lifestyle_xp_gain_mult = 0.1 + monthly_prestige_gain_mult = 0.10 + belligerent_opinion = 5 + glory_hound_opinion = 5 + } + + county_modifier = { + monthly_county_control_growth_add = 0.5 + hostile_raid_time = 0.5 + } + + province_modifier = { + fort_level = 4 + garrison_size = 0.50 + defender_holding_advantage = 4 + stationed_maa_damage_mult = 0.1 + stationed_maa_toughness_mult = 0.1 + stationed_siege_weapon_siege_value_mult = 0.1 + travel_danger = -15 + } + + next_building = petropavlovskaya_krepost_02 + + ai_value = { + base = 10 + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + + + +petropavlovskaya_krepost_02 = { + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder = { + prestige_level >= 4 + highest_held_title_tier >= tier_duchy + } + scope:holder.culture = { has_innovation = innovation_windmills } + } + + cost_gold = 2500 + + county_holder_character_modifier = { + martial_per_prestige_level = 1 + knight_effectiveness_mult = 0.25 + monthly_martial_lifestyle_xp_gain_mult = 0.1 + monthly_prestige_gain_mult = 0.10 + belligerent_opinion = 10 + glory_hound_opinion = 10 + } + + county_modifier = { + monthly_county_control_growth_add = 1 + hostile_raid_time = 1 + } + + province_modifier = { + fort_level = 6 + garrison_size = 1 + defender_holding_advantage = 6 + stationed_maa_damage_mult = 0.25 + stationed_maa_toughness_mult = 0.25 + stationed_siege_weapon_siege_value_mult = 0.2 + travel_danger = -25 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_diplomatic +} + +########## +# Great Walls of Smolensk +########## + + + +smolensk_walls_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + } + + cost_gold = 500 + + character_modifier = { + monthly_dynasty_prestige_mult = 0.05 + } + max_garrison = good_building_max_garrison_tier_1 + province_modifier = { + defender_holding_advantage = normal_building_advantage_tier_2 + fort_level = good_building_fort_level_tier_1 + stationed_maa_damage_mult = normal_maa_damage_tier_1 + stationed_maa_toughness_mult = normal_maa_toughness_tier_1 + stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1 + travel_danger = -10 + } + county_modifier = { + civic_tax_mult = 0.05 + monthly_county_control_growth_add = 0.5 + prosperity_growth = 0.1 + prosperity_growth_factor = 0.05 + hostile_raid_time = 0.25 + } + + next_building = smolensk_walls_02 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + modifier = { # Fill all building slots before going for special buildings + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_martial +} + + + +smolensk_walls_02 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_hoardings + } + } + + cost_gold = 1000 + + character_modifier = { + monthly_dynasty_prestige_mult = 0.05 + martial_per_prestige_level = 1 + } + max_garrison = good_building_max_garrison_tier_2 + province_modifier = { + defender_holding_advantage = normal_building_advantage_tier_3 + fort_level = good_building_fort_level_tier_2 + stationed_maa_damage_mult = normal_maa_damage_tier_2 + stationed_maa_toughness_mult = normal_maa_toughness_tier_2 + stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 + travel_danger = -20 + } + county_modifier = { + civic_tax_mult = 0.1 + monthly_county_control_growth_add = 0.5 + prosperity_growth = 0.1 + prosperity_growth_factor = 0.2 + hostile_raid_time = 0.33 + } + + next_building = smolensk_walls_03 + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + +smolensk_walls_03 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/alamut_castle.dds" + + can_construct_potential = { + } + + cost_gold = 1500 + + character_modifier = { + monthly_dynasty_prestige_mult = 0.1 + martial_per_prestige_level = 1 + stewardship_per_prestige_level = 1 + } + max_garrison = good_building_max_garrison_tier_3 + province_modifier = { + defender_holding_advantage = normal_building_advantage_tier_4 + fort_level = good_building_fort_level_tier_3 + stationed_maa_damage_mult = normal_maa_damage_tier_2 + stationed_maa_toughness_mult = normal_maa_toughness_tier_2 + stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 + travel_danger = -30 + } + county_modifier = { + civic_tax_mult = 0.15 + monthly_county_control_growth_add = 1 + prosperity_growth = 0.15 + prosperity_growth_factor = 0.15 + hostile_raid_time = 0.5 + } + + ai_value = { + base = 10 + culture_likely_to_fortify_modifier = yes + } + flag = travel_point_of_interest_martial +} + + +######################################## +# BALTIC +######################################## + + + +######################################## +# FINLAND +######################################## + + + +######################################## +# SPECIAL MILITARY BUILDINGS +######################################## + +########## +# Chemistry Workshop - unlocks chemical weapons +########## + + + +communal_settlement_01 = { + construction_time = standard_construction_time + effect_desc = communal_settlement_1_effect_desc + + can_construct_potential = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + can_construct_showing_failures_only = { + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 01 } + scope:holder.culture = { + has_innovation = innovation_barracks + } + } + + is_enabled = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + cost_gold = expensive_building_tier_1_cost + + province_modifier = { + monthly_civic_tax = super_poor_building_tax_tier_2 + stationed_peasant_militia_damage_mult = high_maa_damage_tier_2 + stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_1 + defender_holding_advantage = 2 + } + county_modifier = { + levy_size = 0.01 + } + + levy = normal_building_levy_tier_2 + + on_complete = { + #Mandala Creator Aspect + creator_mandala_built_regular_building_piety_effect = yes + } + + type_icon = "special_buildings/colosseum.dds" + + next_building = communal_settlement_02 + + ai_value = { + base = 20 + ai_tier_1_building_modifier = yes + ai_general_building_modifier = yes + directive_to_build_military_modifier = yes + } +} + + + +communal_settlement_02 = { + construction_time = standard_construction_time + effect_desc = communal_settlement_2_effect_desc + + can_construct_potential = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + can_construct_showing_failures_only = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 02 } + scope:holder.culture = { + has_innovation = innovation_castle_baileys + } + } + + is_enabled = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + cost_gold = expensive_building_tier_2_cost + + province_modifier = { + monthly_civic_tax = super_poor_building_tax_tier_4 + stationed_peasant_militia_damage_mult = high_maa_damage_tier_4 + stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_2 + defender_holding_advantage = 4 + fort_level = 1 + } + + county_modifier = { + monthly_county_control_growth_add = 0.05 + garrison_size = 0.05 + levy_size = 0.02 + } + + levy = normal_building_levy_tier_4 + + on_complete = { + #Mandala Creator Aspect + creator_mandala_built_regular_building_piety_effect = yes + } + + type_icon = "special_buildings/colosseum.dds" + + next_building = communal_settlement_03 + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_military_modifier = yes + modifier = { # Fill all building slots before going for upgrades + factor = 0 + free_building_slots > 0 + } + } +} + + + +communal_settlement_03 = { + construction_time = standard_construction_time + effect_desc = communal_settlement_3_effect_desc + + can_construct_potential = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + can_construct_showing_failures_only = { + building_requirement_tribal = no + } + + is_enabled = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 03 } + scope:holder.culture = { + has_innovation = innovation_castle_baileys + } + } + + cost_gold = expensive_building_tier_3_cost + + province_modifier = { + monthly_civic_tax = super_poor_building_tax_tier_6 + stationed_peasant_militia_damage_mult = high_maa_damage_tier_6 + stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_3 + defender_holding_advantage = 6 + fort_level = 1 + } + + county_modifier = { + monthly_county_control_growth_add = 0.10 + garrison_size = 0.05 + levy_size = 0.03 + } + + levy = normal_building_levy_tier_6 + + on_complete = { + #Mandala Creator Aspect + creator_mandala_built_regular_building_piety_effect = yes + } + + type_icon = "special_buildings/colosseum.dds" + + next_building = communal_settlement_04 + + ai_value = { + base = 8 + ai_general_building_modifier = yes + directive_to_build_military_modifier = yes + } +} + + + +communal_settlement_04 = { + construction_time = standard_construction_time + effect_desc = communal_settlement_4_effect_desc + + can_construct_potential = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + can_construct_showing_failures_only = { + building_requirement_tribal = no + } + + can_construct = { + building_requirement_castle_city_church = { LEVEL = 04 } + scope:holder.culture = { + has_innovation = innovation_royal_armory + } + } + + is_enabled = { + custom_description = { + text = province_is_of_a_communal_settlement_faith_tt + building_communal_settlement_requirement = yes + } + } + + cost_gold = expensive_building_tier_4_cost + + province_modifier = { + monthly_civic_tax = super_poor_building_tax_tier_8 + stationed_peasant_militia_damage_mult = high_maa_damage_tier_8 + stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_4 + defender_holding_advantage = 8 + fort_level = 3 + } + + county_modifier = { + monthly_county_control_growth_add = 0.15 + garrison_size = 0.10 + levy_size = 0.05 + } + + levy = normal_building_levy_tier_8 + + on_complete = { + #Mandala Creator Aspect + creator_mandala_built_regular_building_piety_effect = yes + } + + type_icon = "special_buildings/colosseum.dds" + + + ai_value = { + base = 7 + ai_general_building_modifier = yes + directive_to_build_military_modifier = yes + } +} + +######################################## +# EASTERN ORTHODOX / CAUCASUS ADDITIONS +######################################## + +########## +# Apostolos Andreas Monastery — Karpas, Cyprus +########## + + + +apostolos_andreas_monastery = { + asset = { + type = pdxmesh + name = ep3_jvari_monastery_01_a_mesh + } + + construction_time = slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + + is_enabled = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + + cost_gold = 750 + + character_modifier = { + monthly_piety = 0.40 + negate_health_penalty_add = 0.05 + monthly_county_control_growth_factor = 0.05 + } + + county_modifier = { + prosperity_growth = 0.15 + prosperity_growth_factor = 0.10 + religious_tax_mult = 0.10 + } + + province_modifier = { + monthly_religious_tax = 0.5 + defender_holding_advantage = 1 + travel_danger = -10 + } + + on_complete = { + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building +} + +########## +# New Athos — Abkhaz Neopagan Sanctuary +########## + + + +new_athos_pagan_temple_01 = { + asset = { + type = pdxmesh + name = "building_special_cathedral_pagan_mesh" + } + + construction_time = slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + culture = culture:NEOW_abkhazian + } + NOT = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + } + + is_enabled = { + scope:holder = { + culture = culture:NEOW_abkhazian + } + NOT = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + } + + cost_gold = 800 + + character_modifier = { + monthly_piety = 0.35 + monthly_prestige = 0.20 + knight_effectiveness_mult = 0.10 + } + + county_modifier = { + prosperity_growth = 0.10 + levy_size = 0.10 + } + + province_modifier = { + monthly_religious_tax = 0.4 + travel_danger = -10 + } + + next_building = new_athos_restored_monastery_02 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building +} + +########## +# New Athos — Restored Orthodox Monastery +########## + + + +new_athos_restored_monastery_02 = { + asset = { + type = pdxmesh + name = ep3_sumela_monastery_01_b_mesh + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + + is_enabled = { + christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } + } + + cost_gold = 1000 + + character_modifier = { + monthly_piety = 0.50 + learning = 1 + monthly_dynasty_prestige_mult = 0.05 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.15 + religious_tax_mult = 0.15 + } + + province_modifier = { + monthly_religious_tax = 1 + travel_danger = -10 + } + + on_complete = { + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building + flag = religious_studies_location +} + +########## +# Cathedral of Saint Ilia II — Tbilisi +########## + + + +cathedral_saint_ilia_ii = { + asset = { + type = pdxmesh + name = "cp6_building_special_grand_cathedral_mesh" + requires_dlc_flag = holy_buildings + } + asset = { + type = pdxmesh + name = "building_special_cathedral_generic_mesh" + } + + construction_time = very_slow_construction_time + + type_icon = "special_buildings/cologne_cathedral.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder = { + religion = religion:eastern_orthodox_religion + } + } + + is_enabled = { + scope:holder = { + religion = religion:eastern_orthodox_religion + } + } + + cost_gold = 1500 + + character_modifier = { + monthly_piety = 0.50 + monthly_prestige = 0.30 + legitimacy_gain_mult = 0.10 + learning_per_piety_level = 1 + } + + county_modifier = { + prosperity_growth = 0.20 + prosperity_growth_factor = 0.20 + monthly_county_control_growth_factor = 0.10 + } + + province_modifier = { + monthly_religious_tax = 1.5 + travel_danger = -10 + } + + on_complete = { + mandala_built_piety_duchy_building_t3_effect = yes + } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + modifier = { + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_religious + flag = holy_building + flag = religious_studies_location +} + +######################################## +# CHANNEL TUNNEL +######################################## + + + +channel_tunnel_01 = { + construction_time = very_slow_construction_time + + type_icon = "special_buildings/quanzhou_seaport.dds" + + can_construct_potential = { + building_requirement_tribal = no + } + + can_construct = { + scope:holder.culture = { + has_innovation = innovation_cranes + } + } + + cost_gold = 1500 + + county_holder_character_modifier = { + monthly_prestige = 0.25 + embarkation_cost_mult = -0.25 + movement_speed = 0.05 + } + + county_modifier = { + maritime_tax_mult = 0.20 + prosperity_growth = 0.20 + prosperity_growth_factor = 0.25 + } + + province_modifier = { + monthly_maritime_tax = 3 + travel_danger = -20 + } + + ai_value = { + base = 10 + ai_general_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_economical_building_preference_modifier = yes + modifier = { + factor = 0 + free_building_slots > 0 + } + } + flag = travel_point_of_interest_economic + flag = travel_point_of_interest_wonder +} + + + +dvin_shuka_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/special_silk_road_market.dds" + + can_construct_potential = { + scope:holder = { + any_character_situation = { situation_type = silk_road_situation } + } + } + can_construct = { building_monument_tribal_trigger = yes } + + cost_gold = 400 + + province_modifier = { + monthly_commerce_tax = 2 + travel_danger = -10 + province_size_baseline_add = special_building_province_size_baseline + } + county_culture_modifier = { + parameter = silk_road_market_owner_bonuses + commerce_tax_mult = 0.1 + } + market_modifier = { + trade_good_textiles_sell_price_mult = special_building_need_sell_price + trade_good_wool_sell_price_mult = special_building_need_sell_price + } + + on_complete = { + tgp_silk_road_market_built_effect = yes + } + + next_building = dvin_shuka_02 + + ai_value = { + base = 9.2 + + directive_to_build_economy_modifier = yes + + ai_capital_preference_modifier = yes + ai_special_district_modifier = { LEVEL = 1 } + } + + + trade_good_need = { + trade_good = trade_good_textiles + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity_high + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + province_size_baseline_add = 10 + } + } + } + + flag = travel_point_of_interest_economic +} + + +dvin_shuka_02 = { + construction_time = slow_construction_time + + + can_construct_potential = { + scope:holder = { + any_character_situation = { situation_type = silk_road_situation } + } + } + can_construct_showing_failures_only = { + holding_district_level_2_trigger = yes + } + + can_construct = { building_commerce_early_medieval_trigger = yes } + + cost_gold = 800 + + + province_modifier = { + travel_danger = -15 + monthly_commerce_tax = 2 + province_size_baseline_add = 40 + } + county_culture_modifier = { + parameter = silk_road_market_owner_bonuses + commerce_tax_mult = 0.1 + } + character_modifier = { + cultural_head_fascination_mult = 0.05 + } + market_modifier = { + trade_good_textiles_sell_price_mult = special_building_need_sell_price + trade_good_wool_sell_price_mult = special_building_need_sell_price + } + + on_complete = { + tgp_silk_road_market_built_effect = yes + } + + ai_value = { + base = 9.2 + + directive_to_build_economy_modifier = yes + + ai_capital_preference_modifier = yes + ai_special_district_modifier = { LEVEL = 2 } + } + + + trade_good_need = { + trade_good = trade_good_textiles + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity_high + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + province_size_baseline_add = 10 + } + } + } + + flag = travel_point_of_interest_economic +} + + +khiva_bazaar_01 = { + construction_time = slow_construction_time + + type_icon = "special_buildings/special_silk_road_market.dds" + + can_construct_potential = { + scope:holder = { + any_character_situation = { situation_type = silk_road_situation } + } + } + can_construct = { building_monument_tribal_trigger = yes } + + cost_gold = 400 + + province_modifier = { + monthly_commerce_tax = 2 + travel_danger = -10 + province_size_baseline_add = special_building_province_size_baseline + } + county_culture_modifier = { + parameter = silk_road_market_owner_bonuses + commerce_tax_mult = 0.1 + } + market_modifier = { + trade_good_textiles_sell_price_mult = special_building_need_sell_price + trade_good_wool_sell_price_mult = special_building_need_sell_price + } + + on_complete = { + tgp_silk_road_market_built_effect = yes + } + + next_building = khiva_bazaar_02 + + ai_value = { + base = 9.2 + + directive_to_build_economy_modifier = yes + + ai_capital_preference_modifier = yes + ai_special_district_modifier = { LEVEL = 1 } + } + + + trade_good_need = { + trade_good = trade_good_textiles + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity_high + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + province_size_baseline_add = 10 + } + } + } + + flag = travel_point_of_interest_economic +} + + +khiva_bazaar_02 = { + construction_time = slow_construction_time + + + can_construct_potential = { + scope:holder = { + any_character_situation = { situation_type = silk_road_situation } + } + } + can_construct_showing_failures_only = { + holding_district_level_2_trigger = yes + } + + can_construct = { building_commerce_early_medieval_trigger = yes } + + cost_gold = 800 + + + province_modifier = { + travel_danger = -15 + monthly_commerce_tax = 2 + province_size_baseline_add = 40 + } + county_culture_modifier = { + parameter = silk_road_market_owner_bonuses + commerce_tax_mult = 0.1 + } + character_modifier = { + cultural_head_fascination_mult = 0.05 + } + market_modifier = { + trade_good_textiles_sell_price_mult = special_building_need_sell_price + trade_good_wool_sell_price_mult = special_building_need_sell_price + } + + on_complete = { + tgp_silk_road_market_built_effect = yes + } + + ai_value = { + base = 9.2 + + directive_to_build_economy_modifier = yes + + ai_capital_preference_modifier = yes + ai_special_district_modifier = { LEVEL = 2 } + } + + + trade_good_need = { + trade_good = trade_good_textiles + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity_high + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + + modifiers = { + province_modifier = { + province_size_baseline_add = 10 + } + } + } + + flag = travel_point_of_interest_economic +} diff --git a/common/districts/NEOW_special_districts.txt b/common/districts/NEOW_special_districts.txt new file mode 100644 index 000000000..7645a6db1 --- /dev/null +++ b/common/districts/NEOW_special_districts.txt @@ -0,0 +1,959 @@ +#Try to keep the order in the special buildings file the same as here please +leuven_university_01_district = { + primary_building = leuven_university_01 + background = { reference = "gfx/interface/illustrations/event_scenes/bp2_university.dds" } + type = special +} + +court_of_europa_01_district = { + primary_building = court_of_europa_01 + background = { reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds" } + type = special +} + +walls_of_nijmegen_01 = { + primary_building = walls_of_nijmegen_01 + background = { reference = "gfx/interface/illustrations/event_scenes/ep3_city_gate.dds" } + type = special +} + +large_port_01_district = { + primary_building = large_port_01 + + #East Asia + background = { + trigger = { + culture ?= { has_graphical_east_asia_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds" + } + + #MENA + background = { + trigger = { + OR = { + culture ?= { has_graphical_mena_culture_group_trigger = yes } + culture ?= { has_graphical_iranian_culture_group_trigger = yes } + culture ?= { has_graphical_african_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds" + } + + #Steppe & Norse + background = { + trigger = { + OR = { + culture ?= { has_graphical_steppe_culture_group_trigger = yes } + culture ?= { has_graphical_norse_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds" + } + + #Western Fallback + background = { + reference = "gfx/interface/illustrations/event_scenes/docks.dds" + } + + type = special +} + +small_port_01_district = { + primary_building = small_port_01 + + #East Asia + background = { + trigger = { + culture ?= { has_graphical_east_asia_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds" + } + + #MENA + background = { + trigger = { + OR = { + culture ?= { has_graphical_mena_culture_group_trigger = yes } + culture ?= { has_graphical_iranian_culture_group_trigger = yes } + culture ?= { has_graphical_african_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds" + } + + #Steppe & Norse + background = { + trigger = { + OR = { + culture ?= { has_graphical_steppe_culture_group_trigger = yes } + culture ?= { has_graphical_norse_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds" + } + + #Western Fallback + background = { + reference = "gfx/interface/illustrations/event_scenes/docks.dds" + } + + type = special +} + +fortified_port_01_district = { + primary_building = fortified_port_01 + + #East Asia + background = { + trigger = { + culture ?= { has_graphical_east_asia_culture_group_trigger = yes } + } + reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds" + } + + #MENA + background = { + trigger = { + OR = { + culture ?= { has_graphical_mena_culture_group_trigger = yes } + culture ?= { has_graphical_iranian_culture_group_trigger = yes } + culture ?= { has_graphical_african_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds" + } + + #Steppe & Norse + background = { + trigger = { + OR = { + culture ?= { has_graphical_steppe_culture_group_trigger = yes } + culture ?= { has_graphical_norse_culture_group_trigger = yes } + } + } + reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds" + } + + #Western Fallback + background = { + reference = "gfx/interface/illustrations/event_scenes/docks.dds" + } + + type = special +} + +zone_rouge_01_district = { + primary_building = zone_rouge_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +verdun_memorial_01_district = { + primary_building = verdun_memorial_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +tour_eiffel_01_district = { + primary_building = tour_eiffel_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +napoleon_line_01_district = { + primary_building = napoleon_line_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +palace_versailles_01_district = { + primary_building = palace_versailles_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +academie_labsurde_01_district = { + primary_building = academie_labsurde_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +palace_fontainebleau_01_district = { + primary_building = palace_fontainebleau_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +montpellier_university_01_district = { + primary_building = montpellier_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +capitole_toulouse_01_district = { + primary_building = capitole_toulouse_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +chateau_bretagne_01_district = { + primary_building = chateau_bretagne_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +fort_de_bordeaux_01_district = { + primary_building = fort_de_bordeaux_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +mont_saint_michel_01_district = { + primary_building = mont_saint_michel_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +fortress_andorra_01_district = { + primary_building = fortress_andorra_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +statue_clorinda_01_district = { + primary_building = statue_clorinda_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +sagrada_familia_01_district = { + primary_building = sagrada_familia_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +cathedral_seville_01_district = { + primary_building = cathedral_seville_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +tomb_thez_mighty_01_district = { + primary_building = tomb_thez_mighty_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +belem_tower_01_district = { + primary_building = belem_tower_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +toledo_steelworks_01_district = { + primary_building = toledo_steelworks_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +cathedral_mosque_cordoba_01_district = { + primary_building = cathedral_mosque_cordoba_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +almeria_castle_01_district = { + primary_building = almeria_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +fortress_of_gibraltar_01_district = { + primary_building = fortress_of_gibraltar_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +madrid_university_01_district = { + primary_building = madrid_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +university_coimbra_01_district = { + primary_building = university_coimbra_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +fortress_pamplona_01_district = { + primary_building = fortress_pamplona_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +statue_isildur_01_district = { + primary_building = statue_isildur_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +fourviere_01_district = { + primary_building = fourviere_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +university_zurich_01_district = { + primary_building = university_zurich_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +capitale_bern_01_district = { + primary_building = capitale_bern_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +palais_des_nations_01_district = { + primary_building = palais_des_nations_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +mountain_fortress_lugano_01_district = { + primary_building = mountain_fortress_lugano_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +mountain_fortress_bolzano_01_district = { + primary_building = mountain_fortress_bolzano_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +mountain_fortress_innsbruck_01_district = { + primary_building = mountain_fortress_innsbruck_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +plaza_de_toros_01_district = { + primary_building = plaza_de_toros_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +leaning_tower_of_pisa_01_district = { + primary_building = leaning_tower_of_pisa_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +galleria_vittorio_emanuele_01_district = { + primary_building = galleria_vittorio_emanuele_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +royal_palace_torino_01_district = { + primary_building = royal_palace_torino_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +monte_cassino_monastery_01_district = { + primary_building = monte_cassino_monastery_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +university_bologna_01_district = { + primary_building = university_bologna_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +siena_university_01_district = { + primary_building = siena_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +apollinare_nuovo_01_district = { + primary_building = apollinare_nuovo_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +cattolica_stilo_01_district = { + primary_building = cattolica_stilo_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +palermo_cathedral_01_district = { + primary_building = palermo_cathedral_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +island_fortress_malta_01_district = { + primary_building = island_fortress_malta_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +castel_nuovo_01_district = { + primary_building = castel_nuovo_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +mountain_fortress_imperia_01_district = { + primary_building = mountain_fortress_imperia_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +duomo_florence_n3ow_01_district = { + primary_building = duomo_florence_n3ow_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +brescia_mines_01_district = { + primary_building = brescia_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +cagliari_mines_01_district = { + primary_building = cagliari_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +iglesias_mines_01_district = { + primary_building = iglesias_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +monte_amiata_mines_01_district = { + primary_building = monte_amiata_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +croke_park_01_district = { + primary_building = croke_park_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +westminster_pyramids_01_district = { + primary_building = westminster_pyramids_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +windsor_castle_01_district = { + primary_building = windsor_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +harlech_castle_01_district = { + primary_building = harlech_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +edinburgh_castle_01_district = { + primary_building = edinburgh_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +portsmouth_royal_dockyard_01_district = { + primary_building = portsmouth_royal_dockyard_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +devonport_01_district = { + primary_building = devonport_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +cardiff_castle_01_district = { + primary_building = cardiff_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +krowfymply_castle_01_district = { + primary_building = krowfymply_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +glasgow_cathedral_01_district = { + primary_building = glasgow_cathedral_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +oxford_university_01_district = { + primary_building = oxford_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +cambridge_university_01_district = { + primary_building = cambridge_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +giants_causeway_01_district = { + primary_building = giants_causeway_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +loch_ness_01_district = { + primary_building = loch_ness_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +bone_temple_melar_01_district = { + primary_building = bone_temple_melar_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +alnwick_castle_01_district = { + primary_building = alnwick_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +birmingham_grand_market_01_district = { + primary_building = birmingham_grand_market_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +neuschwanstein_01_district = { + primary_building = neuschwanstein_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +brandenburg_gate_01_district = { + primary_building = brandenburg_gate_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +hofburg_01_district = { + primary_building = hofburg_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +prague_castle_01_district = { + primary_building = prague_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +charles_university_01_district = { + primary_building = charles_university_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +sedlec_temple_01_district = { + primary_building = sedlec_temple_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +grand_porcelain_works_01_district = { + primary_building = grand_porcelain_works_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +spilberk_castle_01_district = { + primary_building = spilberk_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +konigsberg_cathedral_01_district = { + primary_building = konigsberg_cathedral_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +rector_palace_01_district = { + primary_building = rector_palace_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +pula_arena_01_district = { + primary_building = pula_arena_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +zagreb_cathedral_01_district = { + primary_building = zagreb_cathedral_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +bascarsija_01_district = { + primary_building = bascarsija_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +jajce_citadel_01_district = { + primary_building = jajce_citadel_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +tito_bunker_01_district = { + primary_building = tito_bunker_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +church_saint_sava_01_district = { + primary_building = church_saint_sava_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +smederevo_fortress_01_district = { + primary_building = smederevo_fortress_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +petrovaradin_fortress_01_district = { + primary_building = petrovaradin_fortress_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +ljubljana_castle_01_district = { + primary_building = ljubljana_castle_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +celje_hall_01_district = { + primary_building = celje_hall_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +nis_skull_tower_01_district = { + primary_building = nis_skull_tower_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +bor_mines_01_district = { + primary_building = bor_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +zenica_iron_mines_01_district = { + primary_building = zenica_iron_mines_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" + } + type = special +} + +nistrenian_palace_01_district = { + primary_building = nistrenian_palace_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +winter_palace_01_district = { + primary_building = winter_palace_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +petropavlovskaya_krepost_01_district = { + primary_building = petropavlovskaya_krepost_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +smolensk_walls_01_district = { + primary_building = smolensk_walls_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +communal_settlement_01_district = { + primary_building = communal_settlement_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + +apostolos_andreas_monastery_district = { + primary_building = apostolos_andreas_monastery + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +new_athos_pagan_temple_01_district = { + primary_building = new_athos_pagan_temple_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +cathedral_saint_ilia_ii_district = { + primary_building = cathedral_saint_ilia_ii + background = { + reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" + } + type = special +} + +channel_tunnel_01_district = { + primary_building = channel_tunnel_01 + background = { + reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" + } + type = special +} + + + +dvin_shuka_01_district = { + primary_building = dvin_shuka_01 + background = { reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" } + type = special +} + + +khiva_bazaar_01_district = { + primary_building = khiva_bazaar_01 + background = { reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" } + type = special +} diff --git a/common/districts/special_districts.txt b/common/districts/special_districts.txt index 2ef9662a3..d633c402c 100644 --- a/common/districts/special_districts.txt +++ b/common/districts/special_districts.txt @@ -2230,976 +2230,4 @@ pam_reims_cathedral_01_district = { } type = special -} - -# NEOW original definitions, updated for CK3 1.21 - -# Historic NEOW 2555 special districts, ported to CK3 1.21. -# All vanilla special districts remain inherited from base. - -leuven_university_01_district = { - primary_building = leuven_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -court_of_europa_01_district = { - primary_building = court_of_europa_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -walls_of_nijmegen_01_district = { - primary_building = walls_of_nijmegen_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_amsterdam_01_district = { - primary_building = port_of_amsterdam_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_antwerpen_01_district = { - primary_building = port_of_antwerpen_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -zone_rouge_01_district = { - primary_building = zone_rouge_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -verdun_memorial_01_district = { - primary_building = verdun_memorial_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -tour_eiffel_01_district = { - primary_building = tour_eiffel_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -napoleon_line_01_district = { - primary_building = napoleon_line_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -palace_versailles_01_district = { - primary_building = palace_versailles_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_calais_01_district = { - primary_building = port_of_calais_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -academie_labsurde_01_district = { - primary_building = academie_labsurde_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -palace_fontainebleau_01_district = { - primary_building = palace_fontainebleau_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -montpellier_university_01_district = { - primary_building = montpellier_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -capitole_toulouse_01_district = { - primary_building = capitole_toulouse_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -chateau_bretagne_01_district = { - primary_building = chateau_bretagne_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fort_de_bordeaux_01_district = { - primary_building = fort_de_bordeaux_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_monaco_01_district = { - primary_building = fortified_port_of_monaco_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_la_rochelle_01_district = { - primary_building = port_of_la_rochelle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -mont_saint_michel_01_district = { - primary_building = mont_saint_michel_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -fortress_andorra_01_district = { - primary_building = fortress_andorra_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -statue_clorinda_01_district = { - primary_building = statue_clorinda_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -sagrada_familia_01_district = { - primary_building = sagrada_familia_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -cathedral_seville_01_district = { - primary_building = cathedral_seville_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -tomb_thez_mighty_01_district = { - primary_building = tomb_thez_mighty_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -belem_tower_01_district = { - primary_building = belem_tower_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -toledo_steelworks_01_district = { - primary_building = toledo_steelworks_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -cathedral_mosque_cordoba_01_district = { - primary_building = cathedral_mosque_cordoba_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -almeria_castle_01_district = { - primary_building = almeria_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortress_of_gibraltar_01_district = { - primary_building = fortress_of_gibraltar_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -madrid_university_01_district = { - primary_building = madrid_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -university_coimbra_01_district = { - primary_building = university_coimbra_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_valencia_01_district = { - primary_building = port_of_valencia_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_porto_01_district = { - primary_building = fortified_port_of_porto_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortress_pamplona_01_district = { - primary_building = fortress_pamplona_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_malaga_01_district = { - primary_building = fortified_port_of_malaga_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -statue_isildur_01_district = { - primary_building = statue_isildur_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fourviere_01_district = { - primary_building = fourviere_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -university_zurich_01_district = { - primary_building = university_zurich_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -capitale_bern_01_district = { - primary_building = capitale_bern_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -palais_des_nations_01_district = { - primary_building = palais_des_nations_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -mountain_fortress_lugano_01_district = { - primary_building = mountain_fortress_lugano_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -mountain_fortress_bolzano_01_district = { - primary_building = mountain_fortress_bolzano_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -mountain_fortress_innsbruck_01_district = { - primary_building = mountain_fortress_innsbruck_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -plaza_de_toros_01_district = { - primary_building = plaza_de_toros_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -leaning_tower_of_pisa_01_district = { - primary_building = leaning_tower_of_pisa_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -galleria_vittorio_emanuele_01_district = { - primary_building = galleria_vittorio_emanuele_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -royal_palace_torino_01_district = { - primary_building = royal_palace_torino_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -monte_cassino_monastery_01_district = { - primary_building = monte_cassino_monastery_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -university_bologna_01_district = { - primary_building = university_bologna_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -siena_university_01_district = { - primary_building = siena_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -apollinare_nuovo_01_district = { - primary_building = apollinare_nuovo_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -cattolica_stilo_01_district = { - primary_building = cattolica_stilo_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -palermo_cathedral_01_district = { - primary_building = palermo_cathedral_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -island_fortress_malta_01_district = { - primary_building = island_fortress_malta_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_bari_01_district = { - primary_building = port_of_bari_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_ajaccio_01_district = { - primary_building = fortified_port_of_ajaccio_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_genoa_01_district = { - primary_building = fortified_port_of_genoa_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -castel_nuovo_01_district = { - primary_building = castel_nuovo_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -mountain_fortress_imperia_01_district = { - primary_building = mountain_fortress_imperia_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -duomo_florence_n3ow_01_district = { - primary_building = duomo_florence_n3ow_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -brescia_mines_01_district = { - primary_building = brescia_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -cagliari_mines_01_district = { - primary_building = cagliari_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -iglesias_mines_01_district = { - primary_building = iglesias_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -monte_amiata_mines_01_district = { - primary_building = monte_amiata_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -croke_park_01_district = { - primary_building = croke_park_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -westminster_pyramids_01_district = { - primary_building = westminster_pyramids_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -windsor_castle_01_district = { - primary_building = windsor_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -harlech_castle_01_district = { - primary_building = harlech_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -edinburgh_castle_01_district = { - primary_building = edinburgh_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -portsmouth_royal_dockyard_01_district = { - primary_building = portsmouth_royal_dockyard_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -devonport_01_district = { - primary_building = devonport_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -cardiff_castle_01_district = { - primary_building = cardiff_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -krowfymply_castle_01_district = { - primary_building = krowfymply_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -fortified_port_of_bristol_01_district = { - primary_building = fortified_port_of_bristol_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_belfast_01_district = { - primary_building = port_of_belfast_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -glasgow_cathedral_01_district = { - primary_building = glasgow_cathedral_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -oxford_university_01_district = { - primary_building = oxford_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -cambridge_university_01_district = { - primary_building = cambridge_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_liverpool_01_district = { - primary_building = port_of_liverpool_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -giants_causeway_01_district = { - primary_building = giants_causeway_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -loch_ness_01_district = { - primary_building = loch_ness_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -bone_temple_melar_01_district = { - primary_building = bone_temple_melar_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -alnwick_castle_01_district = { - primary_building = alnwick_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -birmingham_grand_market_01_district = { - primary_building = birmingham_grand_market_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -neuschwanstein_01_district = { - primary_building = neuschwanstein_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -brandenburg_gate_01_district = { - primary_building = brandenburg_gate_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -hofburg_01_district = { - primary_building = hofburg_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -prague_castle_01_district = { - primary_building = prague_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -charles_university_01_district = { - primary_building = charles_university_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -sedlec_temple_01_district = { - primary_building = sedlec_temple_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -grand_porcelain_works_01_district = { - primary_building = grand_porcelain_works_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -spilberk_castle_01_district = { - primary_building = spilberk_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -konigsberg_cathedral_01_district = { - primary_building = konigsberg_cathedral_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -rector_palace_01_district = { - primary_building = rector_palace_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -pula_arena_01_district = { - primary_building = pula_arena_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -zagreb_cathedral_01_district = { - primary_building = zagreb_cathedral_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -bascarsija_01_district = { - primary_building = bascarsija_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -jajce_citadel_01_district = { - primary_building = jajce_citadel_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -tito_bunker_01_district = { - primary_building = tito_bunker_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -church_saint_sava_01_district = { - primary_building = church_saint_sava_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -smederevo_fortress_01_district = { - primary_building = smederevo_fortress_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -petrovaradin_fortress_01_district = { - primary_building = petrovaradin_fortress_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -ljubljana_castle_01_district = { - primary_building = ljubljana_castle_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -celje_hall_01_district = { - primary_building = celje_hall_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -nis_skull_tower_01_district = { - primary_building = nis_skull_tower_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -bor_mines_01_district = { - primary_building = bor_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -zenica_iron_mines_01_district = { - primary_building = zenica_iron_mines_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/gdp_smithy_workshop.dds" - } - type = special -} - -fortified_port_of_kotor_01_district = { - primary_building = fortified_port_of_kotor_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -port_of_split_01_district = { - primary_building = port_of_split_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -nistrenian_palace_01_district = { - primary_building = nistrenian_palace_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -winter_palace_01_district = { - primary_building = winter_palace_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -petropavlovskaya_krepost_01_district = { - primary_building = petropavlovskaya_krepost_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -smolensk_walls_01_district = { - primary_building = smolensk_walls_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -communal_settlement_01_district = { - primary_building = communal_settlement_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - -apostolos_andreas_monastery_district = { - primary_building = apostolos_andreas_monastery - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -new_athos_pagan_temple_01_district = { - primary_building = new_athos_pagan_temple_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -cathedral_saint_ilia_ii_district = { - primary_building = cathedral_saint_ilia_ii - background = { - reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds" - } - type = special -} - -channel_tunnel_01_district = { - primary_building = channel_tunnel_01 - background = { - reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" - } - type = special -} - - - -dvin_shuka_01_district = { - primary_building = dvin_shuka_01 - background = { reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" } - type = special -} - - -khiva_bazaar_01_district = { - primary_building = khiva_bazaar_01 - background = { reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds" } - type = special -} +} \ No newline at end of file diff --git a/gfx/interface/icons/building_types/tradeport.dds b/gfx/interface/icons/building_types/tradeport.dds new file mode 100644 index 000000000..d44dfda40 --- /dev/null +++ b/gfx/interface/icons/building_types/tradeport.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23d707a7a1b29354fc8f11a080218ba943321b4faee65316724540f07ab72a5b +size 16512 diff --git a/history/provinces/e_alps.txt b/history/provinces/e_alps.txt index f49c36e24..e807de02d 100644 --- a/history/provinces/e_alps.txt +++ b/history/provinces/e_alps.txt @@ -555,7 +555,7 @@ level = 1 } district = { - type = fortified_port_of_monaco_01_district + type = fortified_port_01_district level = 1 } } diff --git a/history/provinces/e_baltic.txt b/history/provinces/e_baltic.txt index 181d1383c..641a38910 100644 --- a/history/provinces/e_baltic.txt +++ b/history/provinces/e_baltic.txt @@ -449,15 +449,12 @@ rite = hiisalka_rite holding = castle_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = castle_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } diff --git a/history/provinces/e_britannia.txt b/history/provinces/e_britannia.txt index bccfba99b..5e293ae82 100644 --- a/history/provinces/e_britannia.txt +++ b/history/provinces/e_britannia.txt @@ -89,7 +89,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = large_port_01_district level = 1 } } @@ -238,7 +238,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -534,8 +534,8 @@ level = 1 } district = { - type = port_of_liverpool_01_district - level = 1 + type = small_port_01_district + level = 2 } } } @@ -559,7 +559,7 @@ rite = victorian_rite holding = castle_holding 1.1.1 = { - special_district_slot = fortified_port_of_bristol_01_district + special_district_slot = fortified_port_01_district } } 1577 = { @@ -830,7 +830,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = large_port_01_district level = 1 } } @@ -1940,7 +1940,7 @@ level = 1 } district = { - type = port_of_belfast_01_district + type = small_port_01_district level = 1 } } @@ -2183,7 +2183,7 @@ level = 1 } district = { - type = port_of_calais_01_district + type = large_port_01_district level = 1 } } diff --git a/history/provinces/e_europa.txt b/history/provinces/e_europa.txt index df2d3679f..a2974d6a4 100644 --- a/history/provinces/e_europa.txt +++ b/history/provinces/e_europa.txt @@ -30,7 +30,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -56,15 +56,12 @@ rite = mysteriosophy_rite holding = castle_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = castle_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } @@ -86,8 +83,8 @@ level = 1 } district = { - type = port_of_amsterdam_01_district - level = 1 + type = large_port_01_district + level = 2 } } } @@ -309,7 +306,7 @@ level = 1 } district = { - type = port_of_calais_01_district + type = small_port_01_district level = 1 } } @@ -321,15 +318,12 @@ 2437 = { holding = castle_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = castle_holding_district level = 1 } - district = { - type = port_of_calais_01_district - level = 1 - } } } } @@ -876,7 +870,12 @@ rite = mysteriosophy_rite holding = castle_holding 1.1.1 = { - special_district_slot = port_of_antwerpen_01_district + districts = { + district = { + type = small_port_01_district + level = 1 + } + } } } 2111 = { @@ -1152,28 +1151,28 @@ 1066.1.1 = { districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = port_of_liverpool_01_district - level = 1 - } - district = { - type = port_district - level = 2 - } - district = { - type = manor_houses_district - level = 1 - buildings = { - manor_reeves_office_1 + district = { + type = castle_holding_district + level = 1 + } + district = { + type = large_port_01_district + level = 1 + } + district = { + type = port_district + level = 2 + } + district = { + type = manor_houses_district + level = 1 + buildings = { + manor_reeves_office_1 + } } } } } -} 2124 = { holding = city_holding } @@ -1197,15 +1196,12 @@ culture = belge rite = mysteriosophy_rite 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = castle_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } diff --git a/history/provinces/e_finland.txt b/history/provinces/e_finland.txt index 7b04cdc3c..f3ded8149 100644 --- a/history/provinces/e_finland.txt +++ b/history/provinces/e_finland.txt @@ -307,12 +307,7 @@ rite = sisuist_rite holding = castle_holdingholding 1.1.1 = { - districts = { - district = { - type = fortified_port_of_porto_01_district - level = 1 - } - } + special_district_slot = fortified_port_01_district } 1158.1.1 = { rite = sisuist_rite } } @@ -626,12 +621,9 @@ 173 = { holding = none 1.1.1 = { - districts = { - district = { - type = port_of_liverpool_01_district - level = 1 + special_district_slot = small_port_01_district + districts = { } - } } 1292.1.1 = { rite = sisuist_rite } } diff --git a/history/provinces/e_france.txt b/history/provinces/e_france.txt index 43eefb9e5..689b80009 100644 --- a/history/provinces/e_france.txt +++ b/history/provinces/e_france.txt @@ -550,6 +550,12 @@ holding = city_holding 2555.1.1 = { province_size = 4 + districts = { + district = { + type = large_port_01_district + level = 1 + } + } } } ###c_boulogne @@ -788,6 +794,10 @@ holding = castle_holding 1066.1.1 = { districts = { + district = { + type = small_port_01_district + level = 1 + } district = { type = castle_holding_district level = 2 @@ -1543,7 +1553,7 @@ rite = soleil_royal_rite holding = castle_holding 1.1.1 = { - special_district_slot = port_of_la_rochelle_01_district + special_district_slot = small_port_01_district } 2555.1.1 = { province_size = 4 @@ -1949,6 +1959,12 @@ holding = castle_holding 2555.1.1 = { province_size = 5 + districts = { + district = { + type = small_port_01_district + level = 1 + } + } } } 2216 = { diff --git a/history/provinces/e_germany.txt b/history/provinces/e_germany.txt index c0f708e4e..5f70294cb 100644 --- a/history/provinces/e_germany.txt +++ b/history/provinces/e_germany.txt @@ -311,7 +311,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -360,7 +360,7 @@ level = 1 } district = { - type = port_of_calais_01_district + type = small_port_01_district level = 1 } } @@ -369,15 +369,12 @@ 2792 = { holding = city_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = city_holding_district level = 1 } - district = { - type = port_of_calais_01_district - level = 1 - } } } } diff --git a/history/provinces/e_greece.txt b/history/provinces/e_greece.txt index f9766d05b..d91b0d255 100644 --- a/history/provinces/e_greece.txt +++ b/history/provinces/e_greece.txt @@ -396,7 +396,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -638,7 +638,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -647,7 +647,7 @@ 12324 = { holding = city 1.1.1 = { - special_district_slot = fortified_port_of_malaga_01_district + special_district_slot = fortified_port_01_district } } 12323 = { @@ -1417,15 +1417,12 @@ rite = byzantine_rite holding = castle_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = castle_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } diff --git a/history/provinces/e_iberia.txt b/history/provinces/e_iberia.txt index 85e4787a4..6dbaed837 100644 --- a/history/provinces/e_iberia.txt +++ b/history/provinces/e_iberia.txt @@ -303,7 +303,7 @@ rite = penitente_rite holding = castle_holding 1.1.1 = { - special_district_slot = fortified_port_of_malaga_01_district + special_district_slot = fortified_port_01_district } 2555.1.1 = { province_size = 7 @@ -442,7 +442,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = large_port_01_district level = 1 } } @@ -1380,7 +1380,7 @@ rite = compostelan_rite holding = castle_holding 1.1.1 = { - special_district_slot = port_of_valencia_01_district + special_district_slot = small_port_01_district } 2555.1.1 = { province_size = 7 @@ -1999,7 +1999,7 @@ level = 1 } district = { - type = fortified_port_of_porto_01_district + type = fortified_port_01_district level = 1 } } @@ -2117,15 +2117,12 @@ 1780 = { holding = city_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = city_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } diff --git a/history/provinces/e_italy.txt b/history/provinces/e_italy.txt index 521c9bd5d..06a93a3e4 100644 --- a/history/provinces/e_italy.txt +++ b/history/provinces/e_italy.txt @@ -404,52 +404,52 @@ level = 1 } district = { - type = fortified_port_of_genoa_01_district + type = fortified_port_01_district level = 2 } } } -867.1.1 = { + 867.1.1 = { districts = { - district = { - type = city_holding_district - level = 1 - } - district = { - type = fortified_port_of_genoa_01_district - level = 2 - } - district = { - type = port_district - level = 1 - } - } -} - 1066.1.1 = { - - districts = { - district = { - type = city_holding_district - level = 1 - } - district = { - type = fortified_port_of_genoa_01_district - level = 2 - } - district = { - type = port_district - level = 2 - } - district = { - type = walls_district - level = 1 - buildings = { - outer_walls_1 + district = { + type = city_holding_district + level = 1 + } + district = { + type = fortified_port_01_district + level = 2 + } + district = { + type = port_district + level = 1 + } + } + } + 1066.1.1 = { + + districts = { + district = { + type = city_holding_district + level = 1 + } + district = { + type = fortified_port_01_district + level = 2 + } + district = { + type = port_district + level = 2 + } + district = { + type = walls_district + level = 1 + buildings = { + outer_walls_1 + } } } } -} 1099.1.1 = { } 1178.1.1 = { @@ -460,7 +460,7 @@ level = 1 } district = { - type = fortified_port_of_genoa_01_district + type = fortified_port_01_district level = 2 } district = { @@ -493,7 +493,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -513,10 +513,6 @@ type = city_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } @@ -834,7 +830,7 @@ rite = roman_rite holding = castle_holding 1.1.1 = { - special_district_slot = fortified_port_of_ajaccio_01_district + special_district_slot = fortified_port_01_district } } 2649 = { @@ -1426,8 +1422,8 @@ level = 1 } district = { - type = port_of_liverpool_01_district - level = 1 + type = small_port_01_district + level = 2 } district = { type = port_district @@ -1585,7 +1581,7 @@ rite = roman_rite holding = city_holding 1.1.1 = { - special_district_slot = port_of_bari_01_district + special_district_slot = small_port_01_district } 1066.1.1 = { @@ -1694,8 +1690,8 @@ level = 1 } district = { - type = port_of_liverpool_01_district - level = 1 + type = small_port_01_district + level = 2 } } } @@ -1873,7 +1869,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } diff --git a/history/provinces/e_nistrenia.txt b/history/provinces/e_nistrenia.txt index efa93fe6a..a45377e9e 100644 --- a/history/provinces/e_nistrenia.txt +++ b/history/provinces/e_nistrenia.txt @@ -2419,15 +2419,12 @@ rite = byzantine_rite holding = tribal_holding 1.1.1 = { + special_district_slot = small_port_01_district districts = { district = { type = tribal_holding_district level = 1 } - district = { - type = port_of_liverpool_01_district - level = 1 - } } } } diff --git a/history/provinces/e_scandinavia.txt b/history/provinces/e_scandinavia.txt index 4d9204a74..2cb3f6cba 100644 --- a/history/provinces/e_scandinavia.txt +++ b/history/provinces/e_scandinavia.txt @@ -236,7 +236,7 @@ 1.1.1 = { districts = { district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } @@ -592,7 +592,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = large_port_01_district level = 1 } } @@ -1115,7 +1115,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = large_port_01_district level = 1 } } @@ -1293,21 +1293,18 @@ rite = folktro_rite holding = tribal_holding 1020.1.1 = { - culture = vestsk - rite = nobelian_rite - holding = castle_holding + culture = vestsk + rite = nobelian_rite + holding = castle_holding + special_district_slot = small_port_01_district districts = { - district = { - type = castle_holding_district - level = 1 - } - district = { - type = port_of_liverpool_01_district - level = 1 + district = { + type = castle_holding_district + level = 1 + } } } } -} 258 = { holding = none } diff --git a/history/provinces/e_visegrad.txt b/history/provinces/e_visegrad.txt index a025b85f2..836e2cb21 100644 --- a/history/provinces/e_visegrad.txt +++ b/history/provinces/e_visegrad.txt @@ -322,7 +322,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } district = { diff --git a/history/provinces/e_yugoslavia.txt b/history/provinces/e_yugoslavia.txt index 511cb2ee1..ebe5c90d5 100644 --- a/history/provinces/e_yugoslavia.txt +++ b/history/provinces/e_yugoslavia.txt @@ -141,7 +141,7 @@ rite = roman_rite holding = castle_holding 1.1.1 = { - special_district_slot = port_of_split_01_district + special_district_slot = small_port_01_district } } 3552 = { @@ -688,7 +688,7 @@ 3574 = { holding = city_holding 1.1.1 = { - special_district_slot = fortified_port_of_kotor_01_district + special_district_slot = fortified_port_01_district } } 3573 = { diff --git a/history/provinces/e_zapadnorussia.txt b/history/provinces/e_zapadnorussia.txt index 8728584b5..dd6dd2c30 100644 --- a/history/provinces/e_zapadnorussia.txt +++ b/history/provinces/e_zapadnorussia.txt @@ -40,7 +40,7 @@ level = 1 } district = { - type = port_of_liverpool_01_district + type = small_port_01_district level = 1 } } diff --git a/localization/english/replace/zz_NEOW_buildings_l_english.yml b/localization/english/replace/zz_NEOW_buildings_l_english.yml index 13ac4ff63..f2e6eb38b 100644 --- a/localization/english/replace/zz_NEOW_buildings_l_english.yml +++ b/localization/english/replace/zz_NEOW_buildings_l_english.yml @@ -20,39 +20,56 @@ building_tell_mines_08_desc:2 "Chimneys jut from the tallest mounds, covering the skies in thick smoke as the forges below smelt the remains of the old world in order to fuel the new one." building_type_leuven_university_01:1 "Leuven University" - building_type_leuven_university_01_desc:0 "$building_leuven_university_01_desc$" - building_leuven_university_01:0 "Leuven University" - building_leuven_university_01_desc:0 "$building_type_generic_university_desc$\n\nWith its traditions reaching all the way to the 15th century, Leuven University is one of the most important places of knowledge in Western Europe. Scholars and scientists are attracted from far away to study and expand their knowledge even after the Event." + building_type_leuven_university_01_desc:0 "$leuven_university_01_desc$" + leuven_university_01:0 "Leuven University" + leuven_university_01_desc:0 "$building_type_generic_university_desc$\n\nWith its traditions reaching all the way to the 15th century, Leuven University is one of the most important places of knowledge in Western Europe. Scholars and scientists are attracted from far away to study and expand their knowledge even after the Event." building_type_court_of_europa_01:1 "Court of Europa" - building_type_court_of_europa_01_desc:0 "$building_court_of_europa_01_desc$" - building_court_of_europa_01:0 "Court of Europa" - building_court_of_europa_01_desc:0 "Following the Event, the Hague became the central hub of the First European 'Empire', serving as one of the few civilised places in the nascent post-Event world. After its conquest at the hands of the Bonapartes of Gallia, the Hague became home to the governors of the Benelux. With the thunderous collapse of Gallia it briefly lost prominancy with the fragmentation of the Benelux, but following the reunification of the region under King and Grand Duke Leopold vun Schengen, it once again became the captial of a restored Europa." - building_court_of_europa_02:0 "Grand Court of Europa" - building_court_of_europa_02_desc:0 "Soon, the small court faced many issues, as the land around it grew, but the court did not. People needed a better place to handle their affairs. The Grand Court of Europe would be constructed, not only a massive complex of palaces and gardens, but also an extensive fortification line, protecting the court from enemy invasions." + building_type_court_of_europa_01_desc:0 "$court_of_europa_01_desc$" + court_of_europa_01:0 "Court of Europa" + court_of_europa_01_desc:0 "Following the Event, the Hague became the central hub of the First European 'Empire', serving as one of the few civilised places in the nascent post-Event world. After its conquest at the hands of the Bonapartes of Gallia, the Hague became home to the governors of the Benelux. With the thunderous collapse of Gallia it briefly lost prominancy with the fragmentation of the Benelux, but following the reunification of the region under King and Grand Duke Leopold vun Schengen, it once again became the captial of a restored Europa." + court_of_europa_02:0 "Grand Court of Europa" + court_of_europa_02_desc:0 "Soon, the small court faced many issues, as the land around it grew, but the court did not. People needed a better place to handle their affairs. The Grand Court of Europe would be constructed, not only a massive complex of palaces and gardens, but also an extensive fortification line, protecting the court from enemy invasions." building_type_walls_of_nijmegen_01:1 "Walls of Nijmegen" - building_type_walls_of_nijmegen_01_desc:0 "$building_walls_of_nijmegen_01_desc$" - building_walls_of_nijmegen_01:0 "Walls of Nijmegen" - building_walls_of_nijmegen_01_desc:0 "Built on the command of Grand Chancellor Leopold, the walls of Nijmegen are an impressive sight. They were constructed to protect the main trade route from France to Holland and to fortify one of the only crossings over the lower Rhine River." + building_type_walls_of_nijmegen_01_desc:0 "$walls_of_nijmegen_01_desc$" + walls_of_nijmegen_01:0 "Walls of Nijmegen" + walls_of_nijmegen_01_desc:0 "Built on the command of Grand Chancellor Leopold, the walls of Nijmegen are an impressive sight. They were constructed to protect the main trade route from France to Holland and to fortify one of the only crossings over the lower Rhine River." - building_type_port_of_amsterdam_01:1 "Port of Amsterdam" - building_type_port_of_amsterdam_01_desc:0 "$building_port_of_amsterdam_01_desc$" - building_port_of_amsterdam_01:0 "Extensive Harbour" - building_port_of_amsterdam_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_amsterdam_02:0 "Bustling Port" - building_port_of_amsterdam_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_amsterdam_03:0 "Grand Port" - building_port_of_amsterdam_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." + building_type_large_port_01:1 "Wolrd-Class Port" + building_type_large_port_01_desc:0 "$large_port_01_desc$" + large_port_01:0 "Natural Harbor" + large_port_01_desc:0 "The coast of this region has always been home to many minor harbors and small cities that trade goods from surrounding regions. However, there is still a lot of potential left for improvement." + large_port_02:0 "Extensive Harbor" + large_port_02_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." + large_port_03:0 "Bustling Port" + large_port_03_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." + large_port_04:0 "Shipwright Unions" + large_port_04_desc:0 "With the demmand for ships increasing, shipwrights started to organize themselves from small groups into fewer larget unions to satisfy the rising demand for ships. Furthermore, many wharfs were built in order to facilitate the ever-growing busyness of the port." + large_port_05:0 "World-Class Port" + large_port_05_desc:0 "Tens of tons of goods are moved in and out of this harbor every month and many profitable trade routes go through the port to acquire goods from faraway lands. The name of this port is not only known by local merchants, but even faraway merchants half of the continent." - building_type_port_of_antwerpen_01:1 "Port of Antwerpen" - building_type_port_of_antwerpen_01_desc:0 "$building_port_of_antwerpen_01_desc$" - building_port_of_antwerpen_01:0 "Extensive Harbour" - building_port_of_antwerpen_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_antwerpen_02:0 "Bustling Port" - building_port_of_antwerpen_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_antwerpen_03:0 "Grand Port" - building_port_of_antwerpen_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." + building_type_small_port_01:1 "Regional Port" + building_type_small_port_01_desc:0 "$small_port_01_desc$" + small_port_01:0 "Natural Harbor" + small_port_01_desc:0 "The coast of this region has always been home to many minor harbors and small cities that trade goods from surrounding regions. However, there is still a lot of potential left for improvement." + small_port_02:0 "Extensive Harbor" + small_port_02_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." + small_port_03:0 "Bustling Port" + small_port_03_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." + small_port_04:0 "Regional Port" + small_port_04_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." + + building_type_fortified_port_01:1 "Fortified Port" + building_type_fortified_01_desc:0 "$fortified_port_01_desc$" + fortified_port_01:0 "Natural Harbor" + fortified_port_01_desc:0 "The coast of this region has always been home to many minor harbors and small cities that trade goods from surrounding regions. However, there is still a lot of potential left for improvement." + fortified_port_02:0 "Fortified Harbors" + fortified_port_02_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." + fortified_port_03:0 "Fortified Port" + fortified_port_03_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." + fortified_port_04:0 "Fortified Grand Port" + fortified_port_04_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." building_type_zone_rouge_01:1 "Zone Rouge" building_type_zone_rouge_01_desc:0 "$building_zone_rouge_01_desc$" @@ -85,15 +102,6 @@ building_palace_versailles_03:0 "Grand Palace of Versailles with Exquisite Gardens" building_palace_versailles_03_desc:0 "After a long effort, the halls of Versailles are once again filled with gold and decorations from faraway lands ; the rooms now shine like never before. The large gardens around the palace were also restored to fully tie the area together. \n\nNow hundreds of courtiers flock to the palace, just to be able to serve in this beautiful place." - building_type_port_of_calais_01:1 "Port of Calais" - building_type_port_of_calais_01_desc:0 "$building_port_of_calais_01_desc$" - building_port_of_calais_01:0 "Extensive Harbour" - building_port_of_calais_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_calais_02:0 "Bustling Port" - building_port_of_calais_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_calais_03:0 "Grand Port" - building_port_of_calais_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - building_type_academie_labsurde_01:1 "Académie de l'Absurde" building_type_academie_labsurde_01_desc:0 "$building_academie_labsurde_01_desc$" building_academie_labsurde_01:0 "Academy of the Absurd" @@ -128,24 +136,6 @@ building_fort_de_bordeaux_01:0 "Fort de Bordeaux" building_fort_de_bordeaux_01_desc:0 "Bordeaux, firstly just a city along the Garonne, is now a grand fortress. Using its strategic position at the mouth of the Garonne, its tall and thick walls are a formidable barrier for many small and medium armies, posing a chokehold for any invasion from the south. " - building_type_fortified_port_of_monaco_01:1 "Fortified Port of Monaco" - building_type_fortified_port_of_monaco_01_desc:0 "$building_fortified_port_of_monaco_01_desc$" - building_fortified_port_of_monaco_01:0 "Fortified Harbors" - building_fortified_port_of_monaco_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_monaco_02:0 "Fortified Port" - building_fortified_port_of_monaco_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_monaco_03:0 "Fortified Grand Port" - building_fortified_port_of_monaco_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - - building_type_port_of_la_rochelle_01:1 "Port of Calais" - building_type_port_of_la_rochelle_01_desc:0 "$building_port_of_la_rochelle_01$" - building_port_of_la_rochelle_01:0 "Extensive Harbour" - building_port_of_la_rochelle_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_la_rochelle_02:0 "Bustling Port" - building_port_of_la_rochelle_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_la_rochelle_03:0 "Grand Port" - building_port_of_la_rochelle_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - building_type_mont_saint_michel_01:1 "Mont-Saint-Michel" building_type_mont_saint_michel_01_desc:0 "$building_mont_saint_michel_01_desc$" building_mont_saint_michel_01:0 "Mont-Saint-Michel" @@ -240,38 +230,11 @@ building_university_coimbra_01:0 "University of Coimbra" building_university_coimbra_01_desc:0 "$building_type_generic_university_desc$\n\nFounded in the 13th century, the University of Coimbra is one of the oldest universities in Iberia. Scholars and scientists are attracted from far and wide to study and expand their knowledge even after the Event." - building_type_port_of_valencia_01:1 "Port of Valencia" - building_type_port_of_valencia_01_desc:0 "$building_port_of_valencia_01_desc$" - building_port_of_valencia_01:0 "Extensive Harbour" - building_port_of_valencia_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_valencia_02:0 "Bustling Port" - building_port_of_valencia_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_valencia_03:0 "Grand Port" - building_port_of_valencia_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - - building_type_fortified_port_of_porto_01:1 "Fortified Port of Porto" - building_type_fortified_port_of_porto_01_desc:0 "$building_fortified_port_of_porto_01_desc$" - building_fortified_port_of_porto_01:0 "Fortified Harbors" - building_fortified_port_of_porto_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_porto_02:0 "Fortified Port" - building_fortified_port_of_porto_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_porto_03:0 "Fortified Grand Port" - building_fortified_port_of_porto_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - building_type_fortress_pamplona_01:1 "Fortress of Pamplona" building_type_fortress_pamplona_01_desc:0 "$building_fortress_pamplona_01_desc$" building_fortress_pamplona_01:0 "Fortress of Pamplona" building_fortress_pamplona_01_desc:0 "Constructed on top of a fort from the 16th century, the fortress of Pamplona protects the city of Pamplona and the Basque people. Many say as long as Pamplona holds, the Basque people will not be lost. Today, it's the largest fortress in the Pyrenees mountains, overshadowed only by the Fortress Monastery of Andorra." - building_type_fortified_port_of_malaga_01:1 "Fortified Port of Málaga" - building_type_fortified_port_of_malaga_01_desc:0 "$building_fortified_port_of_malaga_01_desc$" - building_fortified_port_of_malaga_01:0 "Fortified Harbors" - building_fortified_port_of_malaga_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_malaga_02:0 "Fortified Port" - building_fortified_port_of_malaga_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_malaga_03:0 "Fortified Grand Port" - building_fortified_port_of_malaga_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - building_type_statue_isildur_01:1 "Statue of Isildur Bonaparte" building_type_statue_isildur_01_desc:0 "$building_statue_isildur_01_desc$" building_statue_isildur_01:0 "Equestrian Statue of Isildur Bonaparte" @@ -394,33 +357,6 @@ building_island_fortress_malta_01:1 "Great Island Fortress of Malta" building_island_fortress_malta_01_desc:0 "Built to protect the small island of Malta, the Great Island Fortress of Malta is a defensive marvel. With its walls stretching from the already steep cliffs, it makes landing and further operations very difficult for the attackers, while giving a great defensive advantage to its defenders." - building_type_port_of_bari_01:1 "Port of Bari" - building_type_port_of_bari_01_desc:0 "$building_port_of_bari_01_desc$" - building_port_of_bari_01:0 "Extensive Harbour" - building_port_of_bari_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_bari_02:0 "Bustling Port" - building_port_of_bari_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_bari_03:0 "Grand Port" - building_port_of_bari_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - - building_type_fortified_port_of_ajaccio_01:1 "Fortified Port of Ajaccio" - building_type_fortified_port_of_ajaccio_01_desc:0 "$building_fortified_port_of_ajaccio_01_desc$" - building_fortified_port_of_ajaccio_01:0 "Fortified Harbors" - building_fortified_port_of_ajaccio_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_ajaccio_02:0 "Fortified Port" - building_fortified_port_of_ajaccio_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_ajaccio_03:0 "Fortified Grand Port" - building_fortified_port_of_ajaccio_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - - building_type_fortified_port_of_genoa_01:1 "Fortified Port of Genoa" - building_type_fortified_port_of_genoa_01_desc:0 "$building_fortified_port_of_genoa_01_desc$" - building_fortified_port_of_genoa_01:0 "Fortified Harbors" - building_fortified_port_of_genoa_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_genoa_02:0 "Fortified Port" - building_fortified_port_of_genoa_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_genoa_03:0 "Fortified Grand Port" - building_fortified_port_of_genoa_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - building_type_castel_nuovo_01:1 "Castel Nuovo" building_type_castel_nuovo_01_desc:0 "$building_castel_nuovo_01_desc$" building_castel_nuovo_01:1 "Make-shift Fortifications" @@ -562,25 +498,6 @@ building_krowfymply_castle_02:1 "The Crow's Nest" building_krowfymply_castle_02_desc:0 "Built by Arthur Crowtemple to solidify his dynasty's rule, it has served as the official residence of the First Lords and Ladies, over the centuries becoming merely ceremonial. \n\nThe castle's location is told in legends to be where the young Crowtemple was born and later in life converted to the teachings of the prophet Aleister Crowley." - building_type_fortified_port_of_bristol_01:1 "Fortified Port of Bristol" - building_type_fortified_port_of_bristol_01_desc:0 "$building_fortified_port_of_bristol_01_desc$" - building_fortified_port_of_bristol_01:0 "Fortified Harbors" - building_fortified_port_of_bristol_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_bristol_02:0 "Fortified Port" - building_fortified_port_of_bristol_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_bristol_03:0 "Fortified Grand Port" - building_fortified_port_of_bristol_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - - building_type_port_of_belfast_01:1 "Port of Belfast" - building_type_port_of_belfast_01_desc:0 "$building_port_of_belfast_01_desc$" - building_port_of_belfast_01:0 "Extensive Harbour" - building_port_of_belfast_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_belfast_02:0 "Bustling Port" - building_port_of_belfast_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_belfast_03:0 "Grand Port" - building_port_of_belfast_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - - building_type_glasgow_cathedral_01:1 "Glasgow Cathedral" building_type_glasgow_cathedral_01_desc:0 "$building_glasgow_cathedral_01_desc$" building_glasgow_cathedral_01:0 "Glasgow Cathedral" @@ -596,15 +513,6 @@ building_cambridge_university_01:1 "Cambridge University" building_cambridge_university_01_desc:0 "$building_type_generic_university_desc$ \n\nBeing the main competitor of Oxford University, Cambridge university has a deep and long history. However, it still falls below the prestige and success of Oxford, but still is able to pull many scholars and students." - building_type_port_of_liverpool_01:1 "Port of Amsterdam" - building_type_port_of_liverpool_01_desc:0 "$building_port_of_liverpool_01_desc$" - building_port_of_liverpool_01:0 "Extensive Harbour" - building_port_of_liverpool_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_liverpool_02:0 "Bustling Port" - building_port_of_liverpool_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_liverpool_03:0 "Grand Port" - building_port_of_liverpool_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - # building_type_coal_mines_01:1 "Coal Mines" # building_type_coal_mines_01_desc:0 "$building_coal_mines_01_desc$" # building_coal_mines_01:1 "Coal Mining Settlement" @@ -778,24 +686,6 @@ building_zenica_iron_mines_04:1 "Zenica Mining Complex" building_zenica_iron_mines_04_desc:0 "$building_rammelsberg_mines_04_desc$" - building_type_fortified_port_of_kotor_01:1 "Fortified Port of Kotor" - building_type_fortified_port_of_kotor_01_desc:0 "$building_fortified_port_of_kotor_01_desc$" - building_fortified_port_of_kotor_01:0 "Fortified Harbors" - building_fortified_port_of_kotor_01_desc:0 "In a region of strategic importance, but also of economic opportunities, several smaller harbors started to fortify themselves to protect themselves and their goods from raiders and smaller armies, creating several chokepoints for the enemy. However, these harbors have little interest in working together to properly organize themselves." - building_fortified_port_of_kotor_02:0 "Fortified Port" - building_fortified_port_of_kotor_02_desc:0 "As trade demands grew and the harbors became more centralized, a central port was constructed with tough walls that could easily stop an enemy ambush and medium armies. Over time, the main castle was connected to the port with walls, creating a single entity. Furthermore, the castle could be supplied by sea, further improving its strategic importance." - building_fortified_port_of_kotor_03:0 "Fortified Grand Port" - building_fortified_port_of_kotor_03_desc:0 "With more money flowing into the port, expansion was needed. The port almost doubled in size, and the walls were higher and thicker. Furthermore, the castle and the port slowly became one as more people moved into the protected walls connecting the castle and the port." - - building_type_port_of_split_01:1 "Port of Split" - building_type_port_of_split_01_desc:0 "$building_port_of_split_01_desc$" - building_port_of_split_01:0 "Extensive Harbour" - building_port_of_split_01_desc:0 "A small port has been constructed in a trade-rich region to allow for easier transport of goods overseas. Several small harbors work together to bring goods in and out of the city, but the capacity is small while the opportunity is large." - building_port_of_split_02:0 "Bustling Port" - building_port_of_split_02_desc:0 "As trade grows, so does the port. With the influx of new merchants into the city, the port needs to grow too , harboring ships from faraway lands and trading goods never seen before." - building_port_of_split_03:0 "Grand Port" - building_port_of_split_03_desc:0 "As trade grew increasingly, several new docks were set up, covering almost the entire coastline of the city. New harbor storage and cargo cranes were needed. With the increased need for ships, several shipyards popped up to facilitate the new demand." - building_type_communal_settlement_01:1 "Communal Settlement" building_type_communal_settlement_01_desc:1 "$building_communal_settlement_01_desc$" building_communal_settlement_01:1 "Small Communal Center" @@ -1143,22 +1033,6 @@ leclerc_dyeworks_02_desc:0 "$building_leclerc_dyeworks_02_desc$" leclerc_dyeworks_03:0 "$building_leclerc_dyeworks_03$" leclerc_dyeworks_03_desc:0 "$building_leclerc_dyeworks_03_desc$" - vineyards_01:0 "$building_vineyards_01$" - vineyards_01_desc:0 "$building_vineyards_01_desc$" - vineyards_02:0 "$building_vineyards_02$" - vineyards_02_desc:0 "$building_vineyards_02_desc$" - vineyards_03:0 "$building_vineyards_03$" - vineyards_03_desc:0 "$building_vineyards_03_desc$" - vineyards_04:0 "$building_vineyards_04$" - vineyards_04_desc:0 "$building_vineyards_04_desc$" - vineyards_05:0 "$building_vineyards_05$" - vineyards_05_desc:0 "$building_vineyards_05_desc$" - vineyards_06:0 "$building_vineyards_06$" - vineyards_06_desc:0 "$building_vineyards_06_desc$" - vineyards_07:0 "$building_vineyards_07$" - vineyards_07_desc:0 "$building_vineyards_07_desc$" - vineyards_08:0 "$building_vineyards_08$" - vineyards_08_desc:0 "$building_vineyards_08_desc$" potato_fields_01:0 "$building_potato_fields_01$" potato_fields_01_desc:0 "$building_potato_fields_01_desc$" potato_fields_02:0 "$building_potato_fields_02$" @@ -1241,26 +1115,6 @@ air_dock_04_desc:0 "$building_air_dock_04_desc$" mount_athos_04:0 "$building_mount_athos_04$" mount_athos_04_desc:0 "$building_mount_athos_04_desc$" - leuven_university_01:0 "$building_leuven_university_01$" - leuven_university_01_desc:0 "$building_leuven_university_01_desc$" - court_of_europa_01:0 "$building_court_of_europa_01$" - court_of_europa_01_desc:0 "$building_court_of_europa_01_desc$" - court_of_europa_02:0 "$building_court_of_europa_02$" - court_of_europa_02_desc:0 "$building_court_of_europa_02_desc$" - walls_of_nijmegen_01:0 "$building_walls_of_nijmegen_01$" - walls_of_nijmegen_01_desc:0 "$building_walls_of_nijmegen_01_desc$" - port_of_amsterdam_01:0 "$building_port_of_amsterdam_01$" - port_of_amsterdam_01_desc:0 "$building_port_of_amsterdam_01_desc$" - port_of_amsterdam_02:0 "$building_port_of_amsterdam_02$" - port_of_amsterdam_02_desc:0 "$building_port_of_amsterdam_02_desc$" - port_of_amsterdam_03:0 "$building_port_of_amsterdam_03$" - port_of_amsterdam_03_desc:0 "$building_port_of_amsterdam_03_desc$" - port_of_antwerpen_01:0 "$building_port_of_antwerpen_01$" - port_of_antwerpen_01_desc:0 "$building_port_of_antwerpen_01_desc$" - port_of_antwerpen_02:0 "$building_port_of_antwerpen_02$" - port_of_antwerpen_02_desc:0 "$building_port_of_antwerpen_02_desc$" - port_of_antwerpen_03:0 "$building_port_of_antwerpen_03$" - port_of_antwerpen_03_desc:0 "$building_port_of_antwerpen_03_desc$" zone_rouge_01:0 "$building_zone_rouge_01$" zone_rouge_01_desc:0 "$building_zone_rouge_01_desc$" verdun_memorial_01:0 "$building_verdun_memorial_01$" @@ -1277,12 +1131,6 @@ palace_versailles_02_desc:0 "$building_palace_versailles_02_desc$" palace_versailles_03:0 "$building_palace_versailles_03$" palace_versailles_03_desc:0 "$building_palace_versailles_03_desc$" - port_of_calais_01:0 "$building_port_of_calais_01$" - port_of_calais_01_desc:0 "$building_port_of_calais_01_desc$" - port_of_calais_02:0 "$building_port_of_calais_02$" - port_of_calais_02_desc:0 "$building_port_of_calais_02_desc$" - port_of_calais_03:0 "$building_port_of_calais_03$" - port_of_calais_03_desc:0 "$building_port_of_calais_03_desc$" academie_labsurde_01:0 "$building_academie_labsurde_01$" academie_labsurde_01_desc:0 "$building_academie_labsurde_01_desc$" palace_fontainebleau_01:0 "$building_palace_fontainebleau_01$" @@ -1299,18 +1147,6 @@ chateau_bretagne_02_desc:0 "$building_chateau_bretagne_02_desc$" fort_de_bordeaux_01:0 "$building_fort_de_bordeaux_01$" fort_de_bordeaux_01_desc:0 "$building_fort_de_bordeaux_01_desc$" - fortified_port_of_monaco_01:0 "$building_fortified_port_of_monaco_01$" - fortified_port_of_monaco_01_desc:0 "$building_fortified_port_of_monaco_01_desc$" - fortified_port_of_monaco_02:0 "$building_fortified_port_of_monaco_02$" - fortified_port_of_monaco_02_desc:0 "$building_fortified_port_of_monaco_02_desc$" - fortified_port_of_monaco_03:0 "$building_fortified_port_of_monaco_03$" - fortified_port_of_monaco_03_desc:0 "$building_fortified_port_of_monaco_03_desc$" - port_of_la_rochelle_01:0 "$building_port_of_la_rochelle_01$" - port_of_la_rochelle_01_desc:0 "$building_port_of_la_rochelle_01_desc$" - port_of_la_rochelle_02:0 "$building_port_of_la_rochelle_02$" - port_of_la_rochelle_02_desc:0 "$building_port_of_la_rochelle_02_desc$" - port_of_la_rochelle_03:0 "$building_port_of_la_rochelle_03$" - port_of_la_rochelle_03_desc:0 "$building_port_of_la_rochelle_03_desc$" mont_saint_michel_01:0 "$building_mont_saint_michel_01$" mont_saint_michel_01_desc:0 "$building_mont_saint_michel_01_desc$" fortress_andorra_01:0 "$building_fortress_andorra_01$" @@ -1343,26 +1179,8 @@ madrid_university_01_desc:0 "$building_madrid_university_01_desc$" university_coimbra_01:0 "$building_university_coimbra_01$" university_coimbra_01_desc:0 "$building_university_coimbra_01_desc$" - port_of_valencia_01:0 "$building_port_of_valencia_01$" - port_of_valencia_01_desc:0 "$building_port_of_valencia_01_desc$" - port_of_valencia_02:0 "$building_port_of_valencia_02$" - port_of_valencia_02_desc:0 "$building_port_of_valencia_02_desc$" - port_of_valencia_03:0 "$building_port_of_valencia_03$" - port_of_valencia_03_desc:0 "$building_port_of_valencia_03_desc$" - fortified_port_of_porto_01:0 "$building_fortified_port_of_porto_01$" - fortified_port_of_porto_01_desc:0 "$building_fortified_port_of_porto_01_desc$" - fortified_port_of_porto_02:0 "$building_fortified_port_of_porto_02$" - fortified_port_of_porto_02_desc:0 "$building_fortified_port_of_porto_02_desc$" - fortified_port_of_porto_03:0 "$building_fortified_port_of_porto_03$" - fortified_port_of_porto_03_desc:0 "$building_fortified_port_of_porto_03_desc$" fortress_pamplona_01:0 "$building_fortress_pamplona_01$" fortress_pamplona_01_desc:0 "$building_fortress_pamplona_01_desc$" - fortified_port_of_malaga_01:0 "$building_fortified_port_of_malaga_01$" - fortified_port_of_malaga_01_desc:0 "$building_fortified_port_of_malaga_01_desc$" - fortified_port_of_malaga_02:0 "$building_fortified_port_of_malaga_02$" - fortified_port_of_malaga_02_desc:0 "$building_fortified_port_of_malaga_02_desc$" - fortified_port_of_malaga_03:0 "$building_fortified_port_of_malaga_03$" - fortified_port_of_malaga_03_desc:0 "$building_fortified_port_of_malaga_03_desc$" statue_isildur_01:0 "$building_statue_isildur_01$" statue_isildur_01_desc:0 "$building_statue_isildur_01_desc$" fourviere_01:0 "$building_fourviere_01$" @@ -1413,24 +1231,6 @@ palermo_cathedral_01_desc:0 "$building_palermo_cathedral_01_desc$" island_fortress_malta_01:0 "$building_island_fortress_malta_01$" island_fortress_malta_01_desc:0 "$building_island_fortress_malta_01_desc$" - port_of_bari_01:0 "$building_port_of_bari_01$" - port_of_bari_01_desc:0 "$building_port_of_bari_01_desc$" - port_of_bari_02:0 "$building_port_of_bari_02$" - port_of_bari_02_desc:0 "$building_port_of_bari_02_desc$" - port_of_bari_03:0 "$building_port_of_bari_03$" - port_of_bari_03_desc:0 "$building_port_of_bari_03_desc$" - fortified_port_of_ajaccio_01:0 "$building_fortified_port_of_ajaccio_01$" - fortified_port_of_ajaccio_01_desc:0 "$building_fortified_port_of_ajaccio_01_desc$" - fortified_port_of_ajaccio_02:0 "$building_fortified_port_of_ajaccio_02$" - fortified_port_of_ajaccio_02_desc:0 "$building_fortified_port_of_ajaccio_02_desc$" - fortified_port_of_ajaccio_03:0 "$building_fortified_port_of_ajaccio_03$" - fortified_port_of_ajaccio_03_desc:0 "$building_fortified_port_of_ajaccio_03_desc$" - fortified_port_of_genoa_01:0 "$building_fortified_port_of_genoa_01$" - fortified_port_of_genoa_01_desc:0 "$building_fortified_port_of_genoa_01_desc$" - fortified_port_of_genoa_02:0 "$building_fortified_port_of_genoa_02$" - fortified_port_of_genoa_02_desc:0 "$building_fortified_port_of_genoa_02_desc$" - fortified_port_of_genoa_03:0 "$building_fortified_port_of_genoa_03$" - fortified_port_of_genoa_03_desc:0 "$building_fortified_port_of_genoa_03_desc$" castel_nuovo_01:0 "$building_castel_nuovo_01$" castel_nuovo_01_desc:0 "$building_castel_nuovo_01_desc$" castel_nuovo_02:0 "$building_castel_nuovo_02$" @@ -1505,30 +1305,12 @@ krowfymply_castle_01_desc:0 "$building_krowfymply_castle_01_desc$" krowfymply_castle_02:0 "$building_krowfymply_castle_02$" krowfymply_castle_02_desc:0 "$building_krowfymply_castle_02_desc$" - fortified_port_of_bristol_01:0 "$building_fortified_port_of_bristol_01$" - fortified_port_of_bristol_01_desc:0 "$building_fortified_port_of_bristol_01_desc$" - fortified_port_of_bristol_02:0 "$building_fortified_port_of_bristol_02$" - fortified_port_of_bristol_02_desc:0 "$building_fortified_port_of_bristol_02_desc$" - fortified_port_of_bristol_03:0 "$building_fortified_port_of_bristol_03$" - fortified_port_of_bristol_03_desc:0 "$building_fortified_port_of_bristol_03_desc$" - port_of_belfast_01:0 "$building_port_of_belfast_01$" - port_of_belfast_01_desc:0 "$building_port_of_belfast_01_desc$" - port_of_belfast_02:0 "$building_port_of_belfast_02$" - port_of_belfast_02_desc:0 "$building_port_of_belfast_02_desc$" - port_of_belfast_03:0 "$building_port_of_belfast_03$" - port_of_belfast_03_desc:0 "$building_port_of_belfast_03_desc$" glasgow_cathedral_01:0 "$building_glasgow_cathedral_01$" glasgow_cathedral_01_desc:0 "$building_glasgow_cathedral_01_desc$" oxford_university_01:0 "$building_oxford_university_01$" oxford_university_01_desc:0 "$building_oxford_university_01_desc$" cambridge_university_01:0 "$building_cambridge_university_01$" cambridge_university_01_desc:0 "$building_cambridge_university_01_desc$" - port_of_liverpool_01:0 "$building_port_of_liverpool_01$" - port_of_liverpool_01_desc:0 "$building_port_of_liverpool_01_desc$" - port_of_liverpool_02:0 "$building_port_of_liverpool_02$" - port_of_liverpool_02_desc:0 "$building_port_of_liverpool_02_desc$" - port_of_liverpool_03:0 "$building_port_of_liverpool_03$" - port_of_liverpool_03_desc:0 "$building_port_of_liverpool_03_desc$" giants_causeway_01:0 "$building_giants_causeway_01$" giants_causeway_01_desc:0 "$building_giants_causeway_01_desc$" loch_ness_01:0 "$building_loch_ness_01$" @@ -1619,18 +1401,6 @@ zenica_iron_mines_03_desc:0 "$building_zenica_iron_mines_03_desc$" zenica_iron_mines_04:0 "$building_zenica_iron_mines_04$" zenica_iron_mines_04_desc:0 "$building_zenica_iron_mines_04_desc$" - fortified_port_of_kotor_01:0 "$building_fortified_port_of_kotor_01$" - fortified_port_of_kotor_01_desc:0 "$building_fortified_port_of_kotor_01_desc$" - fortified_port_of_kotor_02:0 "$building_fortified_port_of_kotor_02$" - fortified_port_of_kotor_02_desc:0 "$building_fortified_port_of_kotor_02_desc$" - fortified_port_of_kotor_03:0 "$building_fortified_port_of_kotor_03$" - fortified_port_of_kotor_03_desc:0 "$building_fortified_port_of_kotor_03_desc$" - port_of_split_01:0 "$building_port_of_split_01$" - port_of_split_01_desc:0 "$building_port_of_split_01_desc$" - port_of_split_02:0 "$building_port_of_split_02$" - port_of_split_02_desc:0 "$building_port_of_split_02_desc$" - port_of_split_03:0 "$building_port_of_split_03$" - port_of_split_03_desc:0 "$building_port_of_split_03_desc$" nistrenian_palace_01:0 "$building_nistrenian_palace_01$" nistrenian_palace_01_desc:0 "$building_nistrenian_palace_01_desc$" winter_palace_01:0 "$building_winter_palace_01$" @@ -1717,16 +1487,6 @@ edenic_garden_district_desc_flavor:0 "$edenic_garden_01_desc$" thelemic_pyramids_district:0 "$thelemic_pyramids_01$" thelemic_pyramids_district_desc_flavor:0 "$thelemic_pyramids_01_desc$" - leuven_university_01_district:0 "$leuven_university_01$" - leuven_university_01_district_desc_flavor:0 "$leuven_university_01_desc$" - court_of_europa_01_district:0 "$court_of_europa_01$" - court_of_europa_01_district_desc_flavor:0 "$court_of_europa_01_desc$" - walls_of_nijmegen_01_district:0 "$walls_of_nijmegen_01$" - walls_of_nijmegen_01_district_desc_flavor:0 "$walls_of_nijmegen_01_desc$" - port_of_amsterdam_01_district:0 "$port_of_amsterdam_01$" - port_of_amsterdam_01_district_desc_flavor:0 "$port_of_amsterdam_01_desc$" - port_of_antwerpen_01_district:0 "$port_of_antwerpen_01$" - port_of_antwerpen_01_district_desc_flavor:0 "$port_of_antwerpen_01_desc$" zone_rouge_01_district:0 "$zone_rouge_01$" zone_rouge_01_district_desc_flavor:0 "$zone_rouge_01_desc$" verdun_memorial_01_district:0 "$verdun_memorial_01$" @@ -1737,8 +1497,6 @@ napoleon_line_01_district_desc_flavor:0 "$napoleon_line_01_desc$" palace_versailles_01_district:0 "$palace_versailles_01$" palace_versailles_01_district_desc_flavor:0 "$palace_versailles_01_desc$" - port_of_calais_01_district:0 "$port_of_calais_01$" - port_of_calais_01_district_desc_flavor:0 "$port_of_calais_01_desc$" academie_labsurde_01_district:0 "$academie_labsurde_01$" academie_labsurde_01_district_desc_flavor:0 "$academie_labsurde_01_desc$" palace_fontainebleau_01_district:0 "$palace_fontainebleau_01$" @@ -1751,10 +1509,6 @@ chateau_bretagne_01_district_desc_flavor:0 "$chateau_bretagne_01_desc$" fort_de_bordeaux_01_district:0 "$fort_de_bordeaux_01$" fort_de_bordeaux_01_district_desc_flavor:0 "$fort_de_bordeaux_01_desc$" - fortified_port_of_monaco_01_district:0 "$fortified_port_of_monaco_01$" - fortified_port_of_monaco_01_district_desc_flavor:0 "$fortified_port_of_monaco_01_desc$" - port_of_la_rochelle_01_district:0 "$port_of_la_rochelle_01$" - port_of_la_rochelle_01_district_desc_flavor:0 "$port_of_la_rochelle_01_desc$" mont_saint_michel_01_district:0 "$mont_saint_michel_01$" mont_saint_michel_01_district_desc_flavor:0 "$mont_saint_michel_01_desc$" fortress_andorra_01_district:0 "$fortress_andorra_01$" @@ -1781,14 +1535,8 @@ madrid_university_01_district_desc_flavor:0 "$madrid_university_01_desc$" university_coimbra_01_district:0 "$university_coimbra_01$" university_coimbra_01_district_desc_flavor:0 "$university_coimbra_01_desc$" - port_of_valencia_01_district:0 "$port_of_valencia_01$" - port_of_valencia_01_district_desc_flavor:0 "$port_of_valencia_01_desc$" - fortified_port_of_porto_01_district:0 "$fortified_port_of_porto_01$" - fortified_port_of_porto_01_district_desc_flavor:0 "$fortified_port_of_porto_01_desc$" fortress_pamplona_01_district:0 "$fortress_pamplona_01$" fortress_pamplona_01_district_desc_flavor:0 "$fortress_pamplona_01_desc$" - fortified_port_of_malaga_01_district:0 "$fortified_port_of_malaga_01$" - fortified_port_of_malaga_01_district_desc_flavor:0 "$fortified_port_of_malaga_01_desc$" statue_isildur_01_district:0 "$statue_isildur_01$" statue_isildur_01_district_desc_flavor:0 "$statue_isildur_01_desc$" fourviere_01_district:0 "$fourviere_01$" @@ -1827,12 +1575,6 @@ palermo_cathedral_01_district_desc_flavor:0 "$palermo_cathedral_01_desc$" island_fortress_malta_01_district:0 "$island_fortress_malta_01$" island_fortress_malta_01_district_desc_flavor:0 "$island_fortress_malta_01_desc$" - port_of_bari_01_district:0 "$port_of_bari_01$" - port_of_bari_01_district_desc_flavor:0 "$port_of_bari_01_desc$" - fortified_port_of_ajaccio_01_district:0 "$fortified_port_of_ajaccio_01$" - fortified_port_of_ajaccio_01_district_desc_flavor:0 "$fortified_port_of_ajaccio_01_desc$" - fortified_port_of_genoa_01_district:0 "$fortified_port_of_genoa_01$" - fortified_port_of_genoa_01_district_desc_flavor:0 "$fortified_port_of_genoa_01_desc$" castel_nuovo_01_district:0 "$castel_nuovo_01$" castel_nuovo_01_district_desc_flavor:0 "$castel_nuovo_01_desc$" mountain_fortress_imperia_01_district:0 "$mountain_fortress_imperia_01$" @@ -1865,18 +1607,12 @@ cardiff_castle_01_district_desc_flavor:0 "$cardiff_castle_01_desc$" krowfymply_castle_01_district:0 "$krowfymply_castle_01$" krowfymply_castle_01_district_desc_flavor:0 "$krowfymply_castle_01_desc$" - fortified_port_of_bristol_01_district:0 "$fortified_port_of_bristol_01$" - fortified_port_of_bristol_01_district_desc_flavor:0 "$fortified_port_of_bristol_01_desc$" - port_of_belfast_01_district:0 "$port_of_belfast_01$" - port_of_belfast_01_district_desc_flavor:0 "$port_of_belfast_01_desc$" glasgow_cathedral_01_district:0 "$glasgow_cathedral_01$" glasgow_cathedral_01_district_desc_flavor:0 "$glasgow_cathedral_01_desc$" oxford_university_01_district:0 "$oxford_university_01$" oxford_university_01_district_desc_flavor:0 "$oxford_university_01_desc$" cambridge_university_01_district:0 "$cambridge_university_01$" cambridge_university_01_district_desc_flavor:0 "$cambridge_university_01_desc$" - port_of_liverpool_01_district:0 "$port_of_liverpool_01$" - port_of_liverpool_01_district_desc_flavor:0 "$port_of_liverpool_01_desc$" giants_causeway_01_district:0 "$giants_causeway_01$" giants_causeway_01_district_desc_flavor:0 "$giants_causeway_01_desc$" loch_ness_01_district:0 "$loch_ness_01$" @@ -1933,10 +1669,6 @@ bor_mines_01_district_desc_flavor:0 "$bor_mines_01_desc$" zenica_iron_mines_01_district:0 "$zenica_iron_mines_01$" zenica_iron_mines_01_district_desc_flavor:0 "$zenica_iron_mines_01_desc$" - fortified_port_of_kotor_01_district:0 "$fortified_port_of_kotor_01$" - fortified_port_of_kotor_01_district_desc_flavor:0 "$fortified_port_of_kotor_01_desc$" - port_of_split_01_district:0 "$port_of_split_01$" - port_of_split_01_district_desc_flavor:0 "$port_of_split_01_desc$" nistrenian_palace_01_district:0 "$nistrenian_palace_01$" nistrenian_palace_01_district_desc_flavor:0 "$nistrenian_palace_01_desc$" winter_palace_01_district:0 "$winter_palace_01$" diff --git a/localization/english/replace/zz_NEOW_duchy_special_districts_l_english.yml b/localization/english/replace/zz_NEOW_duchy_special_districts_l_english.yml new file mode 100644 index 000000000..f0c85e71a --- /dev/null +++ b/localization/english/replace/zz_NEOW_duchy_special_districts_l_english.yml @@ -0,0 +1,13 @@ +l_english: + leuven_university_01_district: "$building_type_leuven_university_01$" + leuven_university_01_district_desc_flavor: "$leuven_university_01_desc$" + court_of_europa_01_district: "$building_type_court_of_europa_01$" + court_of_europa_01_district_desc_flavor: "$court_of_europa_01_desc$" + walls_of_nijmegen_01: "$building_type_walls_of_nijmegen_01$" + walls_of_nijmegen_01_district_desc_flavor: "$walls_of_nijmegen_01_desc$" + large_port_01_district: "$building_type_large_port_01$" + large_port_01_01_district_desc_flavor: "$large_port_05_desc$" + small_port_01_district: "$building_type_small_port_01$" + small_port_01_district_desc_flavor: "$small_port_04_desc$" + fortified_port_01_district: "$building_type_fortified_port_01$" + fortified_port_01_district_desc_flavor: "$fortified_port_04_desc$" \ No newline at end of file