diff --git a/common/buildings/00_castle_buildings.txt b/common/buildings/00_castle_buildings.txt index 4afc59145..5f04ccce6 100644 --- a/common/buildings/00_castle_buildings.txt +++ b/common/buildings/00_castle_buildings.txt @@ -412,7 +412,7 @@ castle_01 = { } can_construct = { - culture ?= { + culture = { has_innovation = innovation_motte } japan_castle_construction_trigger = yes @@ -477,11 +477,6 @@ castle_01 = { defender_holding_advantage = 2 } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -1 - } - province_rite_modifier = { parameter = tenet_tax_increase_per_piety_level tax_per_piety_level = 0.1 @@ -571,7 +566,7 @@ castle_01 = { } modifier = { factor = 5 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } } } @@ -954,14 +949,10 @@ castle_02 = { building_requirement_tribal = no } can_construct = { - trigger_if = { - limit = { exists = culture } - culture ?= { has_innovation = innovation_battlements } - japan_castle_construction_trigger = yes - } - trigger_else = { - always = no + culture = { + has_innovation = innovation_battlements } + japan_castle_construction_trigger = yes } cost_gold = main_building_tier_2_cost @@ -1014,11 +1005,6 @@ castle_02 = { defender_holding_advantage = 3 } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -2 - } - province_rite_modifier = { parameter = tenet_tax_increase_per_piety_level tax_per_piety_level = 0.1 @@ -1056,11 +1042,11 @@ castle_02 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { add = 10 - scope:holder.culture ?= { has_cultural_era_or_later = culture_era_high_medieval } + scope:holder.culture = { has_cultural_era_or_later = culture_era_high_medieval } } modifier = { factor = 3 @@ -1467,7 +1453,7 @@ castle_03 = { building_requirement_tribal = no } can_construct = { - culture ?= { + culture = { has_innovation = innovation_hoardings } japan_castle_construction_trigger = yes @@ -1523,11 +1509,6 @@ castle_03 = { defender_holding_advantage = 4 } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -3 - } - province_rite_modifier = { parameter = tenet_tax_increase_per_piety_level tax_per_piety_level = 0.1 @@ -1567,11 +1548,11 @@ castle_03 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { add = 10 - scope:holder.culture ?= { has_cultural_era_or_later = culture_era_late_medieval } + scope:holder.culture = { has_cultural_era_or_later = culture_era_late_medieval } } modifier = { factor = 3 @@ -1968,7 +1949,7 @@ castle_04 = { building_requirement_tribal = no } can_construct = { - culture ?= { + culture = { has_innovation = innovation_machicolations } japan_castle_construction_trigger = yes @@ -2023,11 +2004,6 @@ castle_04 = { defender_holding_advantage = 5 } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -4 - } - province_rite_modifier = { parameter = tenet_tax_increase_per_piety_level tax_per_piety_level = 0.1 @@ -2067,7 +2043,7 @@ castle_04 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { factor = 3 diff --git a/common/buildings/00_city_buildings.txt b/common/buildings/00_city_buildings.txt deleted file mode 100644 index 2a11cd323..000000000 --- a/common/buildings/00_city_buildings.txt +++ /dev/null @@ -1,2802 +0,0 @@ -@holding_illustration_western = "gfx/interface/illustrations/holding_types/city_western.dds" -@holding_illustration_india = "gfx/interface/illustrations/holding_types/city_india.dds" -@holding_illustration_seasia = "gfx/interface/illustrations/holding_types/tgp_tgp_city_se_asia.dds" -@holding_illustration_china = "gfx/interface/illustrations/holding_types/tgp_city_china.dds" -@holding_illustration_japan = "gfx/interface/illustrations/holding_types/tgp_city_japan.dds" -@holding_illustration_mediterranean = "gfx/interface/illustrations/holding_types/city_mediterranean.dds" -@holding_illustration_mena = "gfx/interface/illustrations/holding_types/city_mena.dds" -@holding_illustration_norse = "gfx/interface/illustrations/holding_types/fp1_city_norse.dds" -@holding_illustration_iberian = "gfx/interface/illustrations/holding_types/fp2_city_iberian.dds" -@holding_illustration_iranian = "gfx/interface/illustrations/holding_types/fp3_city_iranian.dds" -@holding_illustration_byzantine = "gfx/interface/illustrations/holding_types/ep3_city_byzantine.dds" -@holding_illustration_trosky = "gfx/interface/illustrations/holding_types/kcd_castle_trosky.dds" - -city_01 = { - construction_time = slow_construction_time - - assets = { - ### FP1 Norse ### - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_a_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_mena_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mena } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_mediterranean_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_indian_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_india } - } - - ### FP2 Iberian ### - asset = { - type = pdxmesh - name = "fp2_building_iberian_city_01_mesh" - requires_dlc_flag = the_fate_of_iberia - illustration = @holding_illustration_iberian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/iberian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iberian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - ### FP3 Iranian ### - asset = { - type = pdxmesh - name = "fp3_building_persian_city_01_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - asset = { - type = pdxmesh - name = "fp3_building_persian_city_01_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_india } - } - - ### EP3 Byzantine ### - asset = { - type = pdxmesh - name = "ep3_byzantine_city_01_mesh" - requires_dlc_flag = roads_to_power - illustration = @holding_illustration_byzantine - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { byzantine_building_gfx caucasian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - name = "tgp_building_se_asia_city_01_a_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/sea_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { southeast_asian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP China - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { chinese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Japan - asset = { - type = pdxmesh - name = "tgp_building_japanese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_japan - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/japanese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { japanese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - - #Steppe Graphical Culture is Special, it tries to keep local regional castles as far as possible - - #Steppe Main rule - MENA Cities - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_siberia graphical_steppe graphical_mena } #Use MENA in, MENA, Siberia and Steppe regions - } - #Steppe - East Asia - East Asian Cities - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_east_asia } #Use East Asian in East Asia - } - #Steppe - South Asia, includes East Asia if you lack TGP - asset = { - type = pdxmesh - names = { - "building_india_city_01_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_india graphical_east_asia } - } - #Steppe - Mediterranean graphical_mediterranean - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - #Steppe - Western World - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_western } - } - - #Base Looks - Also acts as Fallbacks without DLC - - #Western; - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "western_city_01_mena_a_mesh" - "western_city_01_mena_b_mesh" - "western_city_01_mena_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "western_city_01_indian_a_mesh" - "western_city_01_indian_b_mesh" - "western_city_01_indian_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "western_city_01_mediterranean_a_mesh" - "western_city_01_mediterranean_b_mesh" - "western_city_01_mediterranean_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MENA ### - asset = { - type = pdxmesh - names = { - "building_mena_city_01_western_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_indian_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mediterranean_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ### INDIAN ### - asset = { - type = pdxmesh - names = { - "building_india_city_01_western_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_siberia } #+4 - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mena_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_india graphical_east_asia } - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mediterranean_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MEDITERRANEAN ### - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_western_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mena_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_indian_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ## Trosky ## - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_trosky - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - provinces = { 4134 } - } - - } - - can_construct_potential = { - barony_cannot_construct_holding = no - } - - can_construct = { - culture ?= { - has_innovation = innovation_city_planning - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - building_requirement_tribal_holding_in_county = yes - building_requirement_nomad = no - building_requirement_nomad_holding_in_county = yes - building_requirement_herder = no - building_requirement_herder_holding_in_county = yes - } - cost_gold = main_building_tier_1_cost - - levy = poor_building_levy_tier_2 - max_garrison = normal_building_max_garrison_tier_1 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_1 - province_modifier = { - monthly_income = good_building_tax_tier_2 - travel_danger = -10 - } - - province_culture_modifier = { - parameter = city_buildings_more_powerful - levy_size = 0.25 - tax_mult = 0.01 - } - - county_culture_modifier = { - parameter = city_buildings_more_county_opinion - county_opinion_add = 5 - } - - province_terrain_modifier = { - parameter = maritime_mercantilism_coastal_holdings - is_coastal = yes - tax_mult = maritime_mercantilism_coastal_holdings_value - } - - - county_culture_modifier = { - parameter = city_buildings_more_powerful - development_growth_factor = 0.05 - } - - county_culture_modifier = { - parameter = city_buildings_less_control - monthly_county_control_growth_factor = -0.25 - } - - province_terrain_modifier = { - parameter = coastal_holding_bonuses - is_coastal = yes - build_speed = -0.1 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 2 - } - - county_dynasty_modifier = { - county_holder_dynasty_perk = fp2_urbanism_legacy_1 # check if the dynasty of the county holder has a specific perk - development_growth_factor = fp2_urbanism_legacy_1_bonus_value - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -1 - } - - - flag = city - next_building = city_02 - - type_icon = "icon_building_guild_halls.dds" - - on_complete = { - county.holder = { - if = { - limit = { - any_vassal = { - vassal_stance = parochial - } - save_temporary_scope_as = holder_scope - } - custom_tooltip = parochial_vassal_approves_holding_construction - hidden_effect = { - every_vassal = { - vassal_stance = parochial - add_opinion = { - target = prev - modifier = parochial_approves_holding_construction_opinion - } - } - } - } - } - #Mandala Creator Aspect - creator_mandala_built_regular_holding_piety_effect = yes - - # Building Oath - hidden_effect = { - if = { - limit = { - county.holder = { - has_character_modifier = oath_of_buildings - } - } - county.holder = { save_scope_as = holder } - add_random_economic_building_effect = yes - add_random_military_building_effect = yes - add_random_fortification_building_effect = yes - } - } - } - - ai_value = { - base = 0 - modifier = { - add = 100 - scope:holder = { - domain_limit_available < 1 - } - } - modifier = { - factor = 0 - scope:holder = { - government_has_flag = government_is_theocracy - } - } - modifier = { - add = 50 - county = { - NOT = { - any_county_province = { - has_building_or_higher = city_01 - } - } - } - } - modifier = { - factor = 5 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city } - } - } -} - -city_02 = { - construction_time = slow_construction_time - - assets = { - ### FP1 Norse ### - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_a_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_mena_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mena } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_mediterranean_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_01_indian_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_india } - } - - ### FP2 Iberian ### - asset = { - type = pdxmesh - name = "fp2_building_iberian_city_01_mesh" - requires_dlc_flag = the_fate_of_iberia - illustration = @holding_illustration_iberian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/iberian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iberian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - ### FP3 Iranian ### - asset = { - type = pdxmesh - name = "fp3_building_persian_city_01_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - asset = { - type = pdxmesh - name = "fp3_building_persian_city_01_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_india } - } - - ### EP3 Byzantine ### - asset = { - type = pdxmesh - name = "ep3_byzantine_city_01_mesh" - requires_dlc_flag = roads_to_power - illustration = @holding_illustration_byzantine - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { byzantine_building_gfx caucasian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - name = "tgp_building_se_asia_city_01_a_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/sea_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { southeast_asian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP China - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { chinese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Japan - asset = { - type = pdxmesh - name = "tgp_building_japanese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_japan - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/japanese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { japanese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - - #Steppe Graphical Culture is Special, it tries to keep local regional castles as far as possible - - #Steppe Main rule - MENA Cities - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_siberia graphical_steppe graphical_mena } #Use MENA in, MENA, Siberia and Steppe regions - } - #Steppe - East Asia - East Asian Cities - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_01_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_east_asia } #Use East Asian in East Asia - } - #Steppe - South Asia, includes East Asia if you lack TGP - asset = { - type = pdxmesh - names = { - "building_india_city_01_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_india graphical_east_asia } - } - #Steppe - Mediterranean graphical_mediterranean - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - #Steppe - Western World - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_western } - } - - #Base Looks - Also acts as Fallbacks without DLC - - #Western; - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "western_city_01_mena_a_mesh" - "western_city_01_mena_b_mesh" - "western_city_01_mena_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "western_city_01_indian_a_mesh" - "western_city_01_indian_b_mesh" - "western_city_01_indian_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "western_city_01_mediterranean_a_mesh" - "western_city_01_mediterranean_b_mesh" - "western_city_01_mediterranean_c_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MENA ### - asset = { - type = pdxmesh - names = { - "building_mena_city_01_western_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_indian_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_01_mediterranean_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ### INDIAN ### - asset = { - type = pdxmesh - names = { - "building_india_city_01_western_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_siberia } #+4 - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mena_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_india graphical_east_asia } - } - asset = { - type = pdxmesh - names = { - "building_india_city_01_mediterranean_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MEDITERRANEAN ### - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_western_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mena_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_indian_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_01_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 0 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ## Trosky ## - asset = { - type = pdxmesh - names = { - "western_city_01_a_mesh" - "western_city_01_b_mesh" - "western_city_01_c_mesh" - } - illustration = @holding_illustration_trosky - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 0 } } - provinces = { 4134 } - } - - } - - can_construct_potential = { - building_requirement_tribal = no - } - can_construct = { - trigger_if = { - limit = { exists = culture } - trigger_if = { - limit = { - NOT = { - culture ?= { has_cultural_parameter = next_level_cities } - } - } - culture ?= { has_innovation = innovation_manorialism } - } - trigger_else = { - culture ?= { has_cultural_parameter = next_level_cities } - } - } - trigger_else = { - always = no - } - } - cost_gold = main_building_tier_2_cost - - levy = poor_building_levy_tier_4 - max_garrison = normal_building_max_garrison_tier_2 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_2 - province_modifier = { - monthly_income = good_building_tax_tier_4 - travel_danger = -12 - } - - province_culture_modifier = { - parameter = city_buildings_more_powerful - levy_size = 0.5 - tax_mult = 0.02 - } - - county_culture_modifier = { - parameter = city_buildings_more_county_opinion - county_opinion_add = 10 - } - - province_terrain_modifier = { - parameter = maritime_mercantilism_coastal_holdings - is_coastal = yes - tax_mult = maritime_mercantilism_coastal_holdings_value - } - - county_culture_modifier = { - parameter = city_buildings_more_powerful - development_growth_factor = 0.1 - } - - county_culture_modifier = { - parameter = city_buildings_less_control - monthly_county_control_growth_factor = -0.25 - } - - province_terrain_modifier = { - parameter = coastal_holding_bonuses - is_coastal = yes - build_speed = -0.1 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 3 - } - - county_dynasty_modifier = { - county_holder_dynasty_perk = fp2_urbanism_legacy_1 # check if the dynasty of the county holder has a specific perk - development_growth_factor = fp2_urbanism_legacy_1_bonus_value - } - - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -2 - } - flag = city - next_building = city_03 - - on_complete = { - barony.holder = { - if = { - limit = { - any_vassal = { - vassal_stance = parochial - } - save_temporary_scope_as = holder_scope - } - custom_tooltip = parochial_vassal_approves_holding_upgrade - hidden_effect = { - every_vassal = { - vassal_stance = parochial - add_opinion = { - target = prev - modifier = parochial_approves_holding_upgrade_opinion - } - } - } - } - } - #Mandala Creator Aspect - creator_mandala_upgraded_regular_holding_piety_effect = yes - } - ai_value = { - base = 6 - modifier = { - add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city } - } - modifier = { - factor = 2 - scope:holder.capital_province = this - } - modifier = { - factor = 0.1 - free_building_slots >= 1 - } - modifier = { - factor = 0.3 - years_from_game_start <= 0.01 - } - } -} - -city_03 = { - construction_time = slow_construction_time - - assets = { - ### FP1 Norse ### - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_a_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_mena_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mena } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_mediterranean_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_indian_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_india } - } - - ### FP2 Iberian ### - asset = { - type = pdxmesh - name = "fp2_building_iberian_city_02_mesh" - requires_dlc_flag = the_fate_of_iberia - illustration = @holding_illustration_iberian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/iberian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iberian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - ### FP3 Iranian ### - asset = { - type = pdxmesh - name = "fp3_building_persian_city_02_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - asset = { - type = pdxmesh - name = "fp3_building_persian_city_02_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_india } - } - - ### EP3 Byzantine ### - asset = { - type = pdxmesh - name = "ep3_byzantine_city_02_mesh" - requires_dlc_flag = roads_to_power - illustration = @holding_illustration_byzantine - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { byzantine_building_gfx caucasian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - name = "tgp_building_se_asia_city_02_a_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/sea_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { southeast_asian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP China - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { chinese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Japan - asset = { - type = pdxmesh - name = "tgp_building_japanese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_japan - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/japanese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { japanese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - - #Steppe Graphical Culture is Special, it tries to keep local regional castles as far as possible - - #Steppe Main rule - MENA Cities - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_siberia graphical_steppe graphical_mena } #Use MENA in, MENA, Siberia and Steppe regions - } - #Steppe - East Asia - East Asian Cities - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_east_asia } #Use East Asian in East Asia - } - #Steppe - South Asia, includes East Asia if you lack TGP - asset = { - type = pdxmesh - names = { - "building_india_city_02_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_india graphical_east_asia } - } - #Steppe - Mediterranean graphical_mediterranean - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - #Steppe - Western World - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_western } - } - - #Base Looks - Also acts as Fallbacks without DLC - - #Western; - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_mena_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_indian_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MENA ### - asset = { - type = pdxmesh - names = { - "building_mena_city_02_western_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 20 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_indian_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ### INDIAN ### - asset = { - type = pdxmesh - names = { - "building_india_city_02_western_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_siberia } #+4 - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mena_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_india graphical_east_asia } - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MEDITERRANEAN ### - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_western_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mena_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_indian_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ## Trosky ## - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_trosky - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - provinces = { 4134 } - } - - } - - can_construct_potential = { - building_requirement_tribal = no - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_cities - } - } - } - culture ?= { - has_innovation = innovation_windmills - } - } - trigger_else = { - culture ?= { - has_cultural_parameter = next_level_cities - } - culture ?= { - has_innovation = innovation_manorialism - } - } - } - cost_gold = main_building_tier_3_cost - next_building = city_04 - - levy = poor_building_levy_tier_6 - max_garrison = normal_building_max_garrison_tier_3 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_3 - province_modifier = { - monthly_income = good_building_tax_tier_6 - travel_danger = -14 - } - - province_culture_modifier = { - parameter = city_buildings_more_powerful - levy_size = 0.75 - tax_mult = 0.03 - } - - county_culture_modifier = { - parameter = city_buildings_more_county_opinion - county_opinion_add = 15 - } - - - province_terrain_modifier = { - parameter = maritime_mercantilism_coastal_holdings - is_coastal = yes - tax_mult = maritime_mercantilism_coastal_holdings_value - } - - county_culture_modifier = { - parameter = city_buildings_more_powerful - development_growth_factor = 0.15 - } - - county_culture_modifier = { - parameter = city_buildings_less_control - monthly_county_control_growth_factor = -0.25 - } - - province_terrain_modifier = { - parameter = coastal_holding_bonuses - is_coastal = yes - build_speed = -0.1 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 4 - } - - county_dynasty_modifier = { - county_holder_dynasty_perk = fp2_urbanism_legacy_1 # check if the dynasty of the county holder has a specific perk - development_growth_factor = fp2_urbanism_legacy_1_bonus_value - } - - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -4 - } - flag = city - - on_complete = { - barony.holder = { - if = { - limit = { - any_vassal = { - vassal_stance = parochial - } - save_temporary_scope_as = holder_scope - } - custom_tooltip = parochial_vassal_approves_holding_upgrade - hidden_effect = { - every_vassal = { - vassal_stance = parochial - add_opinion = { - target = prev - modifier = parochial_approves_holding_upgrade_opinion - } - } - } - } - } - #Mandala Creator Aspect - creator_mandala_upgraded_regular_holding_piety_effect = yes - } - ai_value = { - base = 5 - modifier = { - add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city } - } - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -city_04 = { - construction_time = slow_construction_time - - assets = { - ### FP1 Norse ### - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_a_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_mena_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mena } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_mediterranean_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - asset = { - type = pdxmesh - names = { - "fp1_building_norse_city_02_indian_mesh" - } - requires_dlc_flag = the_northern_lords - illustration = @holding_illustration_norse - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/nordic_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { norse_building_gfx } - graphical_regions = { graphical_india } - } - - ### FP2 Iberian ### - asset = { - type = pdxmesh - name = "fp2_building_iberian_city_02_mesh" - requires_dlc_flag = the_fate_of_iberia - illustration = @holding_illustration_iberian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/iberian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iberian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - ### FP3 Iranian ### - asset = { - type = pdxmesh - name = "fp3_building_persian_city_02_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } #4 - } - - asset = { - type = pdxmesh - name = "fp3_building_persian_city_02_a_01_mesh" - requires_dlc_flag = legacy_of_persia - illustration = @holding_illustration_iranian - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { iranian_building_gfx } - graphical_regions = { graphical_india } - } - - ### EP3 Byzantine ### - asset = { - type = pdxmesh - name = "ep3_byzantine_city_02_mesh" - requires_dlc_flag = roads_to_power - illustration = @holding_illustration_byzantine - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { byzantine_building_gfx caucasian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - name = "tgp_building_se_asia_city_02_a_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/sea_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { southeast_asian_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP China - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { chinese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - # TGP Japan - asset = { - type = pdxmesh - name = "tgp_building_japanese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_japan - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/japanese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { japanese_building_gfx } - graphical_regions = { graphical_western graphical_mena graphical_india graphical_mediterranean graphical_steppe graphical_east_asia graphical_siberia } - } - - #Steppe Graphical Culture is Special, it tries to keep local regional castles as far as possible - - #Steppe Main rule - MENA Cities - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_siberia graphical_steppe graphical_mena } #Use MENA in, MENA, Siberia and Steppe regions - } - #Steppe - East Asia - East Asian Cities - asset = { - type = pdxmesh - name = "tgp_building_chinese_city_02_mesh" - requires_dlc_flag = all_under_heaven - illustration = @holding_illustration_china - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/chinese_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_east_asia } #Use East Asian in East Asia - } - #Steppe - South Asia, includes East Asia if you lack TGP - asset = { - type = pdxmesh - names = { - "building_india_city_02_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_india graphical_east_asia } - } - #Steppe - Mediterranean graphical_mediterranean - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_mediterranean } - } - - #Steppe - Western World - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { steppe_building_gfx } - graphical_regions = { graphical_western } - } - - #Base Looks - Also acts as Fallbacks without DLC - - #Western; - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_mena_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_indian_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_western_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_western - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - western_building_gfx - #DLC Fallbacks: - norse_building_gfx east_slavic_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MENA ### - asset = { - type = pdxmesh - names = { - "building_mena_city_02_western_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 20 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_indian_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mena_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_mena - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mena_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mena_building_gfx arabic_group_building_gfx berber_group_building_gfx african_building_gfx - #DLC Fallback: - iranian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ### INDIAN ### - asset = { - type = pdxmesh - names = { - "building_india_city_02_western_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_siberia } #+4 - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mena_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_india graphical_east_asia } - } - asset = { - type = pdxmesh - names = { - "building_india_city_02_mediterranean_mesh" - } - illustration = @holding_illustration_india - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/indian_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - indian_building_gfx tibetan_building_gfx - #DLC Fallback: - southeast_asian_building_gfx chinese_building_gfx japanese_building_gfx indian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - - ### MEDITERRANEAN ### - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_western_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mena_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mena } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_indian_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_india } - } - asset = { - type = pdxmesh - names = { - "building_mediterranean_city_02_mesh" - } - illustration = @holding_illustration_mediterranean - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/mediterranean_city" soundparameter = { "Tier" = 2 } } - graphical_cultures = { - mediterranean_building_gfx - #DLC Fallbacks: - iberian_building_gfx byzantine_building_gfx caucasian_building_gfx - } - graphical_regions = { graphical_mediterranean } - } - ## Trosky ## - asset = { - type = pdxmesh - names = { - "building_western_city_02_mesh" - } - illustration = @holding_illustration_trosky - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/western_city" soundparameter = { "Tier" = 2 } } - provinces = { 4134 } - } - - } - - can_construct_potential = { - building_requirement_tribal = no - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_cities - } - } - } - culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - culture ?= { - has_cultural_parameter = next_level_cities - } - culture ?= { - has_innovation = innovation_windmills - } - } - } - cost_gold = main_building_tier_4_cost - - levy = poor_building_levy_tier_8 - max_garrison = normal_building_max_garrison_tier_7 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_4 - province_modifier = { - monthly_income = good_building_tax_tier_8 - travel_danger = -16 - } - - province_culture_modifier = { - parameter = city_buildings_more_powerful - levy_size = 1 - tax_mult = 0.04 - } - - county_culture_modifier = { - parameter = city_buildings_more_county_opinion - county_opinion_add = 20 - } - - province_terrain_modifier = { - parameter = maritime_mercantilism_coastal_holdings - is_coastal = yes - tax_mult = maritime_mercantilism_coastal_holdings_value - } - - county_culture_modifier = { - parameter = city_buildings_more_powerful - development_growth_factor = 0.2 - } - - county_culture_modifier = { - parameter = city_buildings_less_control - monthly_county_control_growth_factor = -0.25 - } - - province_terrain_modifier = { - parameter = coastal_holding_bonuses - is_coastal = yes - build_speed = -0.1 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 5 - } - - county_dynasty_modifier = { - county_holder_dynasty_perk = fp2_urbanism_legacy_1 # check if the dynasty of the county holder has a specific perk - development_growth_factor = fp2_urbanism_legacy_1_bonus_value - } - - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -4 - } - flag = city - - on_complete = { - barony.holder = { - if = { - limit = { - any_vassal = { - vassal_stance = parochial - } - save_temporary_scope_as = holder_scope - } - custom_tooltip = parochial_vassal_approves_holding_upgrade - hidden_effect = { - every_vassal = { - vassal_stance = parochial - add_opinion = { - target = prev - modifier = parochial_approves_holding_upgrade_opinion - } - } - } - } - } - #Mandala Creator Aspect - creator_mandala_upgraded_regular_holding_piety_effect = yes - } - ai_value = { - base = 4 - modifier = { - add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_city } - } - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - - -#### -# -# City Buildings -# -#### - -### Guild Halls - -guild_halls_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - has_building_or_higher = city_01 - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - county_modifier = { - development_growth_factor = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.1 - } - - - next_building = guild_halls_02 - - type_icon = "icon_building_guild_halls.dds" - - ai_value = { - base = 500 - ai_tier_1_building_modifier = yes - modifier = { - add = 500 - scope:holder = { - government_has_flag = government_is_republic - } - } - } -} - -guild_halls_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - has_building_or_higher = city_01 - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - culture ?= { - trigger_if = { - limit = { - NOT = { has_cultural_parameter = next_level_guild_halls } - } - has_innovation = innovation_crop_rotation - } - } - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - } - county_modifier = { - development_growth_factor = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.2 - } - - next_building = guild_halls_03 - ai_value = { - base = 9 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_03 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_manorialism - } - has_building_or_higher = city_02 - } - trigger_else = { - culture ?= { - has_innovation = innovation_crop_rotation - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_01 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - } - county_modifier = { - development_growth_factor = 0.15 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.4 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = guild_halls_04 - ai_value = { - base = 8 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_04 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_manorialism - } - has_building_or_higher = city_02 - - } - trigger_else = { - culture ?= { - has_innovation = innovation_crop_rotation - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_01 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - } - county_modifier = { - development_growth_factor = 0.2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.5 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = guild_halls_05 - ai_value = { - base = 7 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_05 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_guilds - } - has_building_or_higher = city_03 - } - trigger_else = { - culture ?= { - has_innovation = innovation_manorialism - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_02 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - } - county_modifier = { - development_growth_factor = 0.25 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.6 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = guild_halls_06 - ai_value = { - base = 6 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_06 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_guilds - } - has_building_or_higher = city_03 - } - trigger_else = { - culture ?= { - has_innovation = innovation_manorialism - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_02 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - } - county_modifier = { - development_growth_factor = 0.3 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.6 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = guild_halls_07 - ai_value = { - base = 5 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_07 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_cranes - } - has_building_or_higher = city_04 - } - trigger_else = { - culture ?= { - has_innovation = innovation_guilds - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_03 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - } - county_modifier = { - development_growth_factor = 0.35 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.7 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = guild_halls_08 - ai_value = { - base = 4 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -guild_halls_08 = { - construction_time = standard_construction_time - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - } - } - culture ?= { - has_innovation = innovation_cranes - } - has_building_or_higher = city_04 - } - trigger_else = { - culture ?= { - has_innovation = innovation_guilds - } - culture ?= { - has_cultural_parameter = next_level_guild_halls - } - has_building_or_higher = city_03 - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - } - county_modifier = { - development_growth_factor = 0.4 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.8 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} diff --git a/common/buildings/00_special_buildings.txt b/common/buildings/00_special_buildings.txt index 68f770aa0..e8463ae48 100644 --- a/common/buildings/00_special_buildings.txt +++ b/common/buildings/00_special_buildings.txt @@ -57,7 +57,7 @@ holy_site_cathedral_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -137,7 +137,7 @@ holy_site_mosque_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -223,7 +223,7 @@ holy_site_fire_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -308,7 +308,7 @@ holy_site_pagan_grand_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -396,7 +396,7 @@ holy_site_indian_grand_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -497,7 +497,7 @@ holy_site_buddhist_grand_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -580,7 +580,7 @@ holy_site_japanese_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -663,7 +663,7 @@ holy_site_chinese_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -746,7 +746,7 @@ holy_site_se_asia_pagan_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -829,7 +829,7 @@ holy_site_other_grand_temple_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -1405,7 +1405,7 @@ holy_site_cologne_cathedral_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -1504,7 +1504,7 @@ holy_site_canterbury_cathedral_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -1600,7 +1600,7 @@ holy_site_canterbury_cathedral_02 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -1696,7 +1696,7 @@ holy_site_canterbury_cathedral_03 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -1917,7 +1917,7 @@ visby_ringmur_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_battlements } } @@ -2464,7 +2464,7 @@ alhambra_02 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -2557,7 +2557,7 @@ citadel_of_aleppo_02 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -2668,7 +2668,7 @@ the_tower_of_london_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_battlements } } @@ -2699,7 +2699,7 @@ the_tower_of_london_01 = { modifier = { factor = 5 scope:holder = { - culture ?= { + culture = { has_cultural_parameter = ai_more_likely_to_castle } } @@ -2730,7 +2730,7 @@ london_bridge_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_development_03 } } @@ -2793,7 +2793,7 @@ notre_dame_01 = { can_construct = { christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_windmills } } @@ -2871,7 +2871,7 @@ brihadeeswarar_temple_01 = { can_construct = { scope:holder = { - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -4183,7 +4183,7 @@ hotin_fort_02 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -4232,7 +4232,7 @@ golden_gate_of_kiev_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_battlements } } @@ -4288,7 +4288,7 @@ heddal_stave_church_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } } @@ -4353,7 +4353,7 @@ temple_of_uppsala_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_city_planning } } @@ -4439,7 +4439,7 @@ temple_of_uppsala_02 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -4519,7 +4519,7 @@ lund_cathedral_01 = { } } scope:holder = { - culture ?= { + culture = { has_innovation = innovation_crop_rotation } } @@ -4719,7 +4719,7 @@ aljaferia_palace_01 = { type_icon = "aljaferia.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -4864,7 +4864,7 @@ alcazar_of_segovia_01 = { type_icon = "alcazar_segovia.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5080,7 +5080,7 @@ soltaniyeh_01 = { can_construct = { scope:holder = { - culture ?= { + culture = { has_innovation = innovation_development_03 } } @@ -5242,7 +5242,7 @@ falak_ol_aflak_citadel_01 = { type_icon = "icon_structure_falak_ol_aflak_citadel.dds" can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5353,7 +5353,7 @@ great_wall_of_gorgan_01 = { type_icon = "icon_structure_great_wall_of_gorgan.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5442,7 +5442,7 @@ rainbow_mountains_01 = { type_icon = "icon_structure_ala_daghlar_mountains.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5489,7 +5489,7 @@ mount_damavand_01 = { type_icon = "icon_structure_mount_damavand.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5545,7 +5545,7 @@ tomb_of_cyrus_01 = { type_icon = "icon_structure_tomb_of_cyrus.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5596,7 +5596,7 @@ ark_of_bukhara_01 = { type_icon = "icon_structure_ark_of_bukhara.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -5646,7 +5646,7 @@ shah_i_zinda_01 = { type_icon = "icon_structure_shah_i_zindah.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_development_01 } } @@ -5691,7 +5691,7 @@ shah_i_zinda_02 = { type_icon = "icon_structure_ruins_of_ctesiphon.dds" can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_hoardings } } @@ -6132,7 +6132,7 @@ kassiopi_castle = { can_construct = { scope:holder = { - culture ?= { + culture = { has_innovation = innovation_battlements } } @@ -6486,7 +6486,7 @@ despot_palace = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_primogeniture has_cultural_pillar = heritage_byzantine } @@ -6542,7 +6542,9 @@ meteora_01 = { } is_enabled = { - scope:holder.religion = religion:eastern_orthodox_religion + scope:holder.rite = { + rite_has_doctrine = special_doctrine_is_eastern_christian_faith + } } character_modifier = { @@ -6594,13 +6596,15 @@ meteora_02 = { cost_gold = 1000 can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } } is_enabled = { - scope:holder.religion = religion:eastern_orthodox_religion + scope:holder.rite = { + rite_has_doctrine = special_doctrine_is_eastern_christian_faith + } } character_modifier = { @@ -6663,7 +6667,9 @@ mount_athos_01 = { } is_enabled = { - scope:holder.religion = religion:eastern_orthodox_religion + scope:holder.rite = { + rite_has_doctrine = special_doctrine_is_eastern_christian_faith + } } character_modifier = { @@ -6712,7 +6718,9 @@ mount_athos_02 = { } is_enabled = { - scope:holder.religion = religion:eastern_orthodox_religion + scope:holder.rite = { + rite_has_doctrine = special_doctrine_is_eastern_christian_faith + } } character_modifier = { @@ -6767,13 +6775,15 @@ mount_athos_03 = { cost_gold = 1000 can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } } is_enabled = { - scope:holder.religion = religion:eastern_orthodox_religion + scope:holder.rite = { + rite_has_doctrine = special_doctrine_is_eastern_christian_faith + } } character_modifier = { @@ -7020,7 +7030,7 @@ etchmiadzin_cathedral = { } is_enabled = { - scope:holder.faith = faith:armenian_apostolic + scope:holder.rite = rite:armenian_rite } character_modifier = { @@ -9504,7 +9514,7 @@ mount_fuji_01 = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } } - scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony } + scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } } } } @@ -9560,7 +9570,7 @@ itsukushima_jinja_01 = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } } - scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony } + scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } } } } @@ -9625,7 +9635,7 @@ itsukushima_jinja_02 = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } } - scope:holder.faith ?= { has_doctrine = special_doctrine_immaterial_harmony } + scope:holder.faith = { has_doctrine = special_doctrine_immaterial_harmony } } } } @@ -11182,7 +11192,7 @@ trosky_castle_01 = { } can_construct = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_battlements } } diff --git a/common/buildings/00_standard_economy_buildings.txt b/common/buildings/00_standard_economy_buildings.txt deleted file mode 100644 index 26e4f7645..000000000 --- a/common/buildings/00_standard_economy_buildings.txt +++ /dev/null @@ -1,11267 +0,0 @@ -############################## -# Standard Economy Buildings # -############################## - -# Tradeports - Normal Tax, Development -# Cattle Pastures - Poor Tax, Normal Levy, Supply Limit -# Hunting Grounds - Poor Tax, Small Levy, Defensive Advantage -# Orchards - Normal Tax, Small Levy, Development -# Farm Estates - Massive Tax -# Cereal Fields - Large Tax, Mixed Bonuses -# Logging Camps - Normal Tax, Normal Build Speed -# Peat Quarries - Normal Tax, Poor Build Speed -# Hill Farms - Normal Tax, Defensive Advantage -# Elephant Pens - Normal Tax, Elephant Cavalry -# Plantations - Normal Tax -# Quarries - Poor Tax, Poor Build Speed -# Caravanserai - Late Game Building - Massive Tax, Defender Advantage, Dev Growth % and flat value, MaA maintenance and Merc hire cost -# Windmills - Late Game Building - Massive Tax, Supply Limit, Holding Taxes, Dev Growth % and flat value -# Watermills - Late Game Building - Massive Tax, Supply Limit, Building and Holding construction cost reduction, Holding Taxes, Dev Growth % and flat value -# Qanats - Cultural Building - Dev Growth % and flat value, Supply Limit, Travel bonus -# Murex Farms - Mediterranean Building - Influence, Dev Growth % and flat value, Tax -# Waterworks - is in India, Southeast Asia, or China, prov is county captain and terrain is NOT mountains or desert mountains - -### caravanserai - -caravanserai_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - - exists = scope:holder.culture - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_innovation = innovation_guilds } - } - - trigger_if = { - limit = { - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = second_caravanserai } - } - } - custom_tooltip = { - text = has_two_caravanserai_in_county - county = { - any_county_province = { - count < 2 - has_building_or_higher = caravanserai_01 - } - } - } - } - trigger_else = { - custom_tooltip = { - text = not_allowed_second_caravanserai - county = { - any_county_province = { - count < 1 - has_building_or_higher = caravanserai_01 - } - } - } - } - } - - is_enabled = { - trigger_if = { - limit = { - exists = culture - NOT = { - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_windmills_cities } - } - } - } - is_county_capital = yes - } - trigger_else = { - OR = { - is_county_capital = yes - AND = { - NOR = { - has_building_or_higher = watermills_01 - has_building_or_higher = windmills_01 - } - has_building_or_higher = city_01 - } - } - } - trigger_if = { - limit = { - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = second_caravanserai } - } - } - county = { - any_county_province = { - count <= 2 - has_building_or_higher = caravanserai_01 - } - } - } - trigger_else = { - county = { - any_county_province = { - count <= 1 - has_building_or_higher = caravanserai_01 - } - } - } - } - show_disabled = yes - - can_construct = { - trigger_if = { - limit = { - has_holding_type = city_holding - is_county_capital = no - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_windmills_cities } - } - } - has_building_or_higher = city_01 - NOR = { - has_building_or_higher = watermills_01 - has_building_or_higher = windmills_01 - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - is_county_capital = yes - } - } - - cost_gold = expensive_building_tier_1_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_1 - defender_holding_advantage = normal_building_advantage_tier_1 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_1 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_1 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_1 - development_growth = normal_building_development_growth_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_02 - - type_icon = "icon_building_caravanserai.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - add = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_cereal_fields_requirement_terrain = yes - NOT = { - has_building_or_higher = cereal_fields_01 - } - } - } -} - -caravanserai_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct = { - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_2_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_2 - defender_holding_advantage = normal_building_advantage_tier_2 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_2 - development_growth = normal_building_development_growth_tier_2 - travel_danger = -2 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_2 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_03 - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -caravanserai_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_3_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_3 - defender_holding_advantage = normal_building_advantage_tier_3 - hostile_raid_time = 0.2 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_3 - development_growth = normal_building_development_growth_tier_3 - travel_danger = -3 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_3 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_04 - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -caravanserai_04 = { - construction_time = slow_construction_time - effect_desc = caravanserai_effects_desc - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_4_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_4 - defender_holding_advantage = normal_building_advantage_tier_4 - hostile_raid_time = 0.4 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_4 - development_growth = normal_building_development_growth_tier_4 - travel_danger = -4 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_4 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_05 - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -caravanserai_05 = { - construction_time = slow_construction_time - effect_desc = caravanserai_effects_desc - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_5_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_5 - defender_holding_advantage = normal_building_advantage_tier_5 - hostile_raid_time = 0.6 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_5 - development_growth = normal_building_development_growth_tier_5 - travel_danger = -5 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_5 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_06 - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -caravanserai_06 = { - construction_time = slow_construction_time - effect_desc = caravanserai_effects_desc - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_6_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_6 - defender_holding_advantage = normal_building_advantage_tier_6 - hostile_raid_time = 0.8 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_6 - development_growth = normal_building_development_growth_tier_6 - travel_danger = -6 - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_6 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_6 - #small artifact quality bonus if TIT-40761 gets implemented - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_07 - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -caravanserai_07 = { - construction_time = slow_construction_time - effect_desc = caravanserai_effects_desc - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_7_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_7 - defender_holding_advantage = normal_building_advantage_tier_7 - hostile_raid_time = 1 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_7 - development_growth = normal_building_development_growth_tier_7 - travel_danger = -7 - #small artifact quality bonus if TIT-40761 gets implemented - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_7 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = caravanserai_08 - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -caravanserai_08 = { - construction_time = slow_construction_time - effect_desc = caravanserai_effects_desc - - can_construct_potential = { - building_caravanserai_requirement_terrain = yes - } - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_8_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_8 - defender_holding_advantage = normal_building_advantage_tier_8 - hostile_raid_time = 1.2 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_8 - development_growth = normal_building_development_growth_tier_8 - travel_danger = -8 - #small artifact quality bonus if TIT-40761 gets implemented - } - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_8 - mercenary_hire_cost_mult = normal_building_maa_maintenance_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### watermills - -watermills_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_watermills_requirement_terrain = yes - AND = { - has_building_or_higher = logging_camps_04 - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_forestries_unlock } - } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - trigger_if = { - limit = { - exists = culture - NOT = { - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_windmills_cities } - } - } - } - is_county_capital = yes - } - trigger_else = { - OR = { - is_county_capital = yes - AND = { - NOR = { - has_building_or_higher = windmills_01 - has_building_or_higher = caravanserai_01 - } - has_building_or_higher = city_01 - } - } - } - } - show_disabled = yes - - can_construct = { - trigger_if = { - limit = { - has_holding_type = city_holding - is_county_capital = no - culture ?= { - has_cultural_parameter = watermills_windmills_cities - } - } - NOR = { - has_building_or_higher = windmills_01 - has_building_or_higher = caravanserai_01 - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - is_county_capital = yes - } - OR = { - trigger_if = { - limit = { exists = culture } - OR = { - culture ?= { has_innovation = innovation_windmills } - culture ?= { - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { - has_building_or_higher = logging_camps_04 - culture ?= { has_cultural_parameter = watermills_forestries_unlock } - } - } - } - trigger_else = { always = no } - } - } - - cost_gold = expensive_building_tier_1_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_1 - supply_limit_mult = 0.1 - holding_build_gold_cost = -0.05 - build_gold_cost = -0.05 - } - - county_modifier = { - development_growth = good_building_development_growth_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_02 - - type_icon = "icon_building_watermills.dds" - - ai_value = { - base = 20 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - - modifier = { - factor = 10 - has_building_or_higher = windmills_01 - } - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - } -} - -watermills_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_watermills_requirement_terrain = yes - AND = { - has_building_or_higher = logging_camps_04 - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_forestries_unlock } - } - } - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct = { - - - - - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from innovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Cultural Tradition - has_building_or_higher = logging_camps_04 - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_2_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_2 - supply_limit_mult = 0.2 - holding_build_gold_cost = -0.10 - build_gold_cost = -0.10 - } - - county_modifier = { - development_growth = good_building_development_growth_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_03 - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -watermills_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_watermills_requirement_terrain = yes - AND = { - has_building_or_higher = logging_camps_04 - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from innovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Cultural Tradition - has_building_or_higher = logging_camps_04 - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_3_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_3 - supply_limit_mult = 0.3 - holding_build_gold_cost = -0.14 - build_gold_cost = -0.14 - } - - county_modifier = { - development_growth = good_building_development_growth_tier_3 - development_growth_factor = normal_building_development_growth_factor_tier_1 - tax_mult = normal_building_tax_mult_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_04 - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -watermills_04 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_watermills_requirement_terrain = yes - AND = { - has_building_or_higher = logging_camps_04 - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from innovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Cultural Tradition - has_building_or_higher = logging_camps_04 - culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_4_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_4 - supply_limit_mult = 0.4 - holding_build_gold_cost = -0.18 - build_gold_cost = -0.18 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_2 - development_growth = good_building_development_growth_tier_4 - tax_mult = normal_building_tax_mult_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_05 - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -watermills_05 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_watermills_requirement_terrain = yes - } - can_construct = { - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_5_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_5 - supply_limit_mult = 0.5 - holding_build_gold_cost = -0.22 - build_gold_cost = -0.22 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_3 - development_growth = good_building_development_growth_tier_5 - tax_mult = normal_building_tax_mult_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_06 - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -watermills_06 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_watermills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_6_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_6 - supply_limit_mult = 0.6 - holding_build_gold_cost = -0.24 - build_gold_cost = -0.24 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_4 - development_growth = good_building_development_growth_tier_6 - tax_mult = normal_building_tax_mult_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_07 - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -watermills_07 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_watermills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_7_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_7 - supply_limit_mult = 0.7 - holding_build_gold_cost = -0.26 - build_gold_cost = -0.26 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_5 - development_growth = good_building_development_growth_tier_7 - tax_mult = normal_building_tax_mult_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watermills_08 - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -watermills_08 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_watermills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_8_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_8 - supply_limit_mult = 0.8 - holding_build_gold_cost = -0.30 - build_gold_cost = -0.30 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_6 - development_growth = good_building_development_growth_tier_8 - tax_mult = normal_building_tax_mult_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### Windmills - -windmills_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_windmills_requirement_terrain = yes - AND = { - has_building_or_higher = hill_farms_04 - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = windmills_hill_farms_unlock } - } - trigger_else = { always = no } - } - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - trigger_if = { - limit = { exists = scope:holder.culture } - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { has_cultural_parameter = watermills_windmills_cities } - } - } - is_county_capital = yes - } - trigger_else = { - scope:holder.culture ?= { has_cultural_parameter = watermills_windmills_cities } - OR = { - is_county_capital = yes - AND = { - NOR = { - has_building_or_higher = watermills_01 - has_building_or_higher = caravanserai_01 - } - has_building_or_higher = city_01 - } - } - } - } - trigger_else = { always = no } - } - show_disabled = yes - - can_construct = { - trigger_if = { - limit = { - has_holding_type = city_holding - is_county_capital = no - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = watermills_windmills_cities } - } - } - has_building_or_higher = city_01 - NOR = { - has_building_or_higher = watermills_01 - has_building_or_higher = caravanserai_01 - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - is_county_capital = yes - } - OR = { - trigger_if = { - limit = { exists = culture } - OR = { - culture ?= { has_innovation = innovation_windmills } - culture ?= { - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { - has_building_or_higher = hill_farms_04 - culture ?= { has_cultural_parameter = windmills_hill_farms_unlock } - } - } - } - trigger_else = { always = no } - } - } - - cost_gold = expensive_building_tier_1_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_1 - tax_mult = good_building_tax_mult_tier_1 - supply_limit_mult = 0.1 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_1 - development_growth = good_building_development_growth_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_02 - - type_icon = "icon_building_windmills.dds" - - ai_value = { - base = 20 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - - modifier = { - factor = 10 - has_building_or_higher = watermills_01 - } - modifier = { - factor = 2 - is_coastal = yes - } - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - } -} - -windmills_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_windmills_requirement_terrain = yes - AND = { - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from inovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Culture trad - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_2_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_2 - tax_mult = good_building_tax_mult_tier_2 - supply_limit_mult = 0.2 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_2 - development_growth = good_building_development_growth_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_03 - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -windmills_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_windmills_requirement_terrain = yes - AND = { - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from inovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Culture trad - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_3_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_3 - tax_mult = good_building_tax_mult_tier_3 - supply_limit_mult = 0.3 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_3 - development_growth = good_building_development_growth_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_04 - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -windmills_04 = { - construction_time = slow_construction_time - - can_construct_potential = { - OR = { - building_windmills_requirement_terrain = yes - AND = { - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - OR = { - culture ?= { # Standard unlock from inovation (High medieval) - has_innovation = innovation_windmills - } - culture ?= { # Unlock from culture trad early but still need the previous Civic economic building inovation (Early medieval) - has_cultural_parameter = next_level_w_mills - has_innovation = innovation_manorialism - } - AND = { # Unlock from Culture trad - has_building_or_higher = hill_farms_04 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_4_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_4 - tax_mult = good_building_tax_mult_tier_4 - supply_limit_mult = 0.4 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_4 - development_growth = good_building_development_growth_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_05 - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -windmills_05 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_windmills_requirement_terrain = yes - } - can_construct = { - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_5_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_5 - tax_mult = good_building_tax_mult_tier_5 - supply_limit_mult = 0.5 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_5 - development_growth = good_building_development_growth_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_06 - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -windmills_06 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_windmills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_6_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_6 - tax_mult = good_building_tax_mult_tier_6 - supply_limit_mult = 0.6 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_6 - development_growth = good_building_development_growth_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_07 - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -windmills_07 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_windmills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_7_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_7 - tax_mult = good_building_tax_mult_tier_7 - supply_limit_mult = 0.7 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_7 - development_growth = good_building_development_growth_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = windmills_08 - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -windmills_08 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_windmills_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = next_level_w_mills - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_windmills - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_8_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_8 - tax_mult = good_building_tax_mult_tier_8 - supply_limit_mult = 0.8 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_8 - development_growth = good_building_development_growth_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - - - - -# Qanats - -qanats_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - is_county_capital = yes - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_1 - supply_limit = normal_building_supply_limit_tier_1 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_1 - development_growth = good_building_development_growth_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = qanats_02 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 20 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_2 - supply_limit = normal_building_supply_limit_tier_2 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_2 - development_growth = good_building_development_growth_tier_2 - travel_danger = -2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = qanats_03 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 9 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_3 - supply_limit = normal_building_supply_limit_tier_3 - build_speed = normal_building_build_speed_tier_3 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_3 - development_growth = good_building_development_growth_tier_3 - travel_danger = -3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = qanats_04 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_4 - supply_limit = normal_building_supply_limit_tier_4 - build_speed = normal_building_build_speed_tier_4 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_4 - development_growth = good_building_development_growth_tier_4 - travel_danger = -4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = qanats_05 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_5 - supply_limit = normal_building_supply_limit_tier_5 - build_speed = normal_building_build_speed_tier_5 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_5 - development_growth = good_building_development_growth_tier_5 - travel_danger = -5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - effect_desc = unlocks_cereal_fields_and_orchards - - next_building = qanats_06 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_6 - supply_limit = normal_building_supply_limit_tier_6 - build_speed = normal_building_build_speed_tier_6 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_6 - development_growth = good_building_development_growth_tier_6 - travel_danger = -6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - effect_desc = unlocks_cereal_fields_and_orchards - - next_building = qanats_07 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_7 - supply_limit = normal_building_supply_limit_tier_7 - build_speed = normal_building_build_speed_tier_7 - } - - character_modifier = { - negate_health_penalty_add = 0.1 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_7 - development_growth = good_building_development_growth_tier_7 - travel_danger = -7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - effect_desc = unlocks_cereal_fields_and_orchards - - next_building = qanats_08 - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -qanats_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_qanats_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - can_construct = { - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_8 - supply_limit = normal_building_supply_limit_tier_8 - build_speed = normal_building_build_speed_tier_8 - } - - character_modifier = { - negate_health_penalty_add = 0.2 - } - - county_modifier = { - development_growth_factor = good_building_development_growth_factor_tier_8 - development_growth = good_building_development_growth_tier_8 - travel_danger = -8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - effect_desc = unlocks_cereal_fields_and_orchards - - - type_icon = "icon_building_qanats.dds" - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - } -} - -# Murex Farms - -murex_farm_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.05 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_1 - development_growth = normal_building_development_growth_tier_1 - } - - character_modifier = { - monthly_influence = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_02 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 14 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - modifier = { - factor = 2 - scope:holder = { - government_has_flag = government_is_administrative - } - } - } -} - -murex_farm_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.1 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_2 - development_growth = normal_building_development_growth_tier_2 - } - - character_modifier = { - monthly_influence = 0.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_03 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 9 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.2 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_3 - development_growth = normal_building_development_growth_tier_3 - } - - character_modifier = { - monthly_influence = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_04 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 8 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_4 - development_growth = normal_building_development_growth_tier_4 - } - - character_modifier = { - monthly_influence = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_05 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 7 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.4 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_5 - development_growth = normal_building_development_growth_tier_5 - } - - character_modifier = { - monthly_influence = 1.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_06 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 6 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.5 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_6 - development_growth = normal_building_development_growth_tier_6 - } - - character_modifier = { - monthly_influence = 1.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_07 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 5 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.6 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_7 - development_growth = normal_building_development_growth_tier_7 - } - - character_modifier = { - monthly_influence = 2.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = murex_farm_08 - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 4 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -murex_farm_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_murex_farm_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.7 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_8 - development_growth = normal_building_development_growth_tier_8 - } - - character_modifier = { - monthly_influence = 3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_murex_farms.dds" - - ai_value = { - base = 3 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -### paddy_fields - -paddy_fields_01 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = good_building_tax_tier_1 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.02 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.02 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_1 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_02 - - type_icon = "building_rice.dds" - - ai_value = { - base = 15 # paddy fields should take priority when possible - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_paddy_fields_improvement_from_culture_modifier = yes # Only on the level 1 to secure having pasture when the AI is from an appropriate culture - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - modifier = { - factor = 2 - scope:holder.culture ?= { has_innovation = innovation_champa_rice } - } - modifier = { - factor = 0 - scope:holder.culture ?= { has_innovation = innovation_champa_rice } # this also allows farm estates to be built in rice fields - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - } -} - -paddy_fields_02 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = good_building_tax_tier_2 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.04 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.04 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_1 - levy_size = innovation_champa_rice_levy_size_value_1 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -paddy_fields_03 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = good_building_tax_tier_3 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.06 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.06 - } - - county_modifier = { - supply_limit = 400 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_3 - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -paddy_fields_04 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = good_building_tax_tier_4 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.08 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.08 - } - - county_modifier = { - supply_limit = 400 - development_growth_factor = 0.05 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_2 - levy_size = innovation_champa_rice_levy_size_value_2 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_2 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_4 - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -paddy_fields_05 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = good_building_tax_tier_5 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.12 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.12 - } - - county_modifier = { - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_5 - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -paddy_fields_06 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = good_building_tax_tier_6 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.16 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.16 - } - - county_modifier = { - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - church_holding_build_gold_cost = -0.05 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_3 - levy_size = innovation_champa_rice_levy_size_value_3 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_3 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_6 - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -paddy_fields_07 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = good_building_tax_tier_7 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.18 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.18 - } - - county_modifier = { - levy_reinforcement_rate = 0.05 - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - city_holding_build_gold_cost = -0.05 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_7 - stationed_maa_toughness_mult = normal_maa_toughness_tier_7 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = paddy_fields_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -paddy_fields_08 = { - construction_time = standard_construction_time - effect_desc = paddy_fields_effect_desc - - can_construct_potential = { - building_paddy_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = rice_cultivators_next_level_paddy_fields - } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = good_building_tax_tier_8 - } - province_terrain_modifier = { - terrain = terraced_hills - development_growth_factor = 0.20 - } - province_terrain_modifier = { - terrain = floodplains - development_growth_factor = 0.20 - } - - county_modifier = { - levy_reinforcement_rate = 0.05 - supply_limit = 1600 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - city_holding_build_gold_cost = -0.05 - } - - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = terraced_hills - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = floodplains - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - province_terrain_modifier = { - parameter = champa_rice_building_bonuses - terrain = wetlands - tax_mult = innovation_champa_rice_tax_mult_value_4 - levy_size = innovation_champa_rice_levy_size_value_4 - development_growth_factor = innovation_champa_rice_development_growth_factor_value_4 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_8 - stationed_maa_toughness_mult = normal_maa_toughness_tier_8 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -# Spice plantations - -spice_plantation_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.05 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_1_cost - - character_modifier = { - monthly_prestige = 0.03 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_02 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 12 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - modifier = { - factor = 2 - scope:holder = { - government_has_flag = government_is_administrative - } - } - } -} - -spice_plantation_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.1 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_2_cost - - character_modifier = { - monthly_prestige = 0.06 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_03 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 9 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.2 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_3_cost - - character_modifier = { - monthly_prestige = 0.09 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_04 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 8 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_4_cost - - character_modifier = { - monthly_prestige = 0.12 - legitimacy_gain_mult = 0.01 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_05 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 7 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.4 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_5_cost - - character_modifier = { - monthly_prestige = 0.15 - legitimacy_gain_mult = 0.02 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_06 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 6 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.5 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_6_cost - - character_modifier = { - monthly_prestige = 0.18 - legitimacy_gain_mult = 0.03 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_07 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 5 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.6 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_7_cost - - character_modifier = { - monthly_prestige = 0.21 - legitimacy_gain_mult = 0.04 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 2.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = spice_plantation_08 - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 4 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -spice_plantation_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_spice_plantation_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = 0.7 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_8_cost - - character_modifier = { - monthly_prestige = 0.24 - legitimacy_gain_mult = 0.05 - } - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_spice_plantation.dds" - - ai_value = { - base = 3 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -# Waterworks -# building_waterworks_requirement_terrain = is in India, Southeast Asia, or China, prov is county captain and terrain is NOT mountains or desert mountains - -waterworks_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - supply_limit_mult = 0.1 - tax_mult = low_building_tax_mult_tier_1 - levy_size = 0.02 - epidemic_resistance = 2 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.01 - development_growth_factor = normal_building_development_growth_factor_tier_1 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_1 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_02 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - scope:holder.capital_province = this - } - modifier = { - add = 2 - scope:holder = { - government_has_mechanic = administrative # infrastucture, babeyyy - } - } - modifier = { - factor = 0 - num_buildings < 5 - } - modifier = { - factor = 0 - NOR = { - has_building_or_higher = farm_estates_01 - has_building_or_higher = orchards_01 - has_building_or_higher = cereal_fields_01 - has_building_or_higher = paddy_fields_01 - num_buildings >= 8 - } - } - } -} - -waterworks_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - supply_limit_mult = 0.2 - tax_mult = low_building_tax_mult_tier_2 - levy_size = 0.04 - epidemic_resistance = 4 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.02 - development_growth_factor = normal_building_development_growth_factor_tier_2 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_2 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_03 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 9 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - supply_limit_mult = 0.3 - tax_mult = low_building_tax_mult_tier_3 - levy_size = 0.06 - epidemic_resistance = 6 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.03 - development_growth_factor = normal_building_development_growth_factor_tier_3 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_3 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_04 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 8 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 02 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - supply_limit_mult = 0.4 - tax_mult = low_building_tax_mult_tier_4 - levy_size = 0.08 - epidemic_resistance = 8 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.04 - development_growth_factor = normal_building_development_growth_factor_tier_4 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_4 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_05 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 7 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - supply_limit_mult = 0.5 - tax_mult = low_building_tax_mult_tier_5 - levy_size = 0.1 - epidemic_resistance = 10 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.05 - development_growth_factor = normal_building_development_growth_factor_tier_5 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_5 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_06 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 6 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 03 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - supply_limit_mult = 0.6 - tax_mult = low_building_tax_mult_tier_6 - levy_size = 0.12 - epidemic_resistance = 12 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.06 - development_growth_factor = normal_building_development_growth_factor_tier_6 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_6 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 1.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_07 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 5 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - supply_limit_mult = 0.7 - tax_mult = low_building_tax_mult_tier_7 - levy_size = 0.14 - epidemic_resistance = 14 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.07 - development_growth_factor = normal_building_development_growth_factor_tier_7 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_7 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 2.3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = waterworks_08 - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 4 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -waterworks_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_waterworks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 04 } - } - - is_enabled = { - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - county = { NOT = { has_county_modifier = backwater_county_modifier } } - } - - can_construct = { - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - supply_limit_mult = 1 - tax_mult = low_building_tax_mult_tier_8 - levy_size = 0.16 - epidemic_resistance = 16 - } - - county_culture_modifier = { - parameter = waterworks_additional_bonuses - build_gold_cost = -0.08 - development_growth_factor = normal_building_development_growth_factor_tier_8 - } - - county_modifier = { - development_growth_factor = normal_building_development_growth_factor_tier_8 - } - - character_government_modifier = { - parameter = government_has_influence - monthly_influence = 3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_waterworks.dds" - - ai_value = { - base = 3 - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -### Trade Port - -common_tradeport_01 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - trigger_if = { # Sometimes tribals can into botes - limit = { - NOT = { - culture ?= { - has_cultural_parameter = trade_ports_enabled_for_tribals - } - } - } - - building_requirement_castle_city_church = { LEVEL = 01 } - } - trigger_else = { - OR = { - has_building_or_higher = tribe_01 - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - } - - can_construct_showing_failures_only = { - # building_requirement_tribal = no - - } - - cost_gold = normal_building_tier_1_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -0.3 - monthly_income = 0.1 - } - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - county_modifier = { - development_growth_factor = 0.05 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.1 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.02 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_02 - - type_icon = "icon_building_tradeport.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - - modifier = { - add = 5 - culture ?= { - has_cultural_parameter = trade_ports_enabled_for_tribals - } - } - modifier = { - add = 5 - culture ?= { - has_cultural_parameter = trade_ports_stationed_maa_bonus - } - } - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - - } -} - -common_tradeport_02 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - - - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = trade_ports_enabled_for_tribals - } - } - - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - trigger_else = { - OR = { - has_building_or_higher = tribe_01 - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_crop_rotation - } - } - trigger_else = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - - } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -0.6 - monthly_income = 0.2 - } - can_construct_showing_failures_only = { - # building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - } - county_modifier = { - development_growth_factor = 0.1 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.1 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.04 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_03 - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -common_tradeport_03 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_crop_rotation - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -0.9 - monthly_income = 0.3 - } - is_enabled = { - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - # building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - } - county_modifier = { - development_growth_factor = 0.15 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.15 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.06 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_04 - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -common_tradeport_04 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_crop_rotation - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -1.2 - monthly_income = 0.4 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - } - county_modifier = { - development_growth_factor = 0.2 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.15 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.08 - } - character_culture_modifier = { - parameter = trade_ports_give_levies - men_at_arms_limit = 1 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_05 - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -common_tradeport_05 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_manorialism - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -1.5 - monthly_income = 0.5 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - } - county_modifier = { - development_growth_factor = 0.25 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.2 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.1 - } - character_culture_modifier = { - parameter = trade_ports_give_levies - men_at_arms_limit = 1 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_06 - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -common_tradeport_06 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_manorialism - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -1.8 - monthly_income = 0.6 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - } - county_modifier = { - development_growth_factor = 0.3 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.2 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.12 - } - character_culture_modifier = { - parameter = trade_ports_give_levies - men_at_arms_limit = 2 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_07 - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -common_tradeport_07 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_cranes - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_guilds - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -2.1 - monthly_income = 0.7 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - } - county_modifier = { - development_growth_factor = 0.35 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.25 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.14 - } - character_culture_modifier = { - parameter = trade_ports_give_levies - men_at_arms_limit = 2 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = common_tradeport_08 - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -common_tradeport_08 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_common_tradeport_requirement_terrain = yes - } - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - } - } - culture ?= { - has_innovation = innovation_cranes - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture ?= { - has_innovation = innovation_guilds - } - culture ?= { - has_cultural_parameter = next_level_trade_ports - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_barter_goods = -2.4 - monthly_income = 0.8 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - } - county_modifier = { - development_growth_factor = 0.4 - } - - county_culture_modifier = { - parameter = trade_ports_give_control_growth - monthly_county_control_growth_add = 0.25 - } - province_culture_modifier = { - parameter = trade_ports_give_levies - levy_size = 0.16 - } - character_culture_modifier = { - parameter = trade_ports_give_levies - men_at_arms_limit = 3 - } - province_culture_modifier = { - parameter = trade_ports_stationed_maa_bonus - stationed_maa_toughness_mult = normal_maa_toughness_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### Pastures - -pastures_01 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - show_disabled = yes - - cost_gold = normal_building_tier_1_cost - - levy = small_building_levy_tier_1 - province_modifier = { - monthly_income = normal_building_tax_tier_1 - supply_limit = normal_building_supply_limit_tier_1 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.01 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_1 - tax_mult = 0.01 - levy_size = 0.01 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.01 - levy_size = 0.01 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_02 - - type_icon = "icon_building_pastures.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_pasture_improvement_from_culture_modifier = yes # Only on the level 1 to secure having pasture when the AI is from an appropriate culture - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 4 - AND = { - exists = culture - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = farm_estates_pastures_unlock } - } - } - } - } -} - -pastures_02 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = normal_building_tier_2_cost - - levy = small_building_levy_tier_2 - province_modifier = { - monthly_income = normal_building_tax_tier_2 - supply_limit = normal_building_supply_limit_tier_2 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.02 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_2 - tax_mult = 0.01 - levy_size = 0.01 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.01 - levy_size = 0.01 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -pastures_03 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - levy = small_building_levy_tier_3 - province_modifier = { - monthly_income = normal_building_tax_tier_3 - supply_limit = normal_building_supply_limit_tier_3 - levy_reinforcement_rate = 0.1 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.03 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_3 - tax_mult = 0.02 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - levy_size = 0.02 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -pastures_04 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - levy = small_building_levy_tier_4 - province_modifier = { - monthly_income = normal_building_tax_tier_4 - supply_limit = normal_building_supply_limit_tier_4 - levy_reinforcement_rate = 0.1 - } - county_modifier = { - development_growth_factor = 0.02 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.04 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_4 - tax_mult = 0.02 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - levy_size = 0.02 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -pastures_05 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - levy = small_building_levy_tier_5 - province_modifier = { - monthly_income = normal_building_tax_tier_5 - supply_limit = normal_building_supply_limit_tier_5 - levy_reinforcement_rate = 0.1 - garrison_size = 0.05 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.05 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_5 - tax_mult = 0.03 - levy_size = 0.03 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - levy_size = 0.03 - } - county_modifier = { - development_growth_factor = 0.02 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -pastures_06 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - levy = small_building_levy_tier_6 - province_modifier = { - monthly_income = normal_building_tax_tier_6 - supply_limit = normal_building_supply_limit_tier_6 - levy_reinforcement_rate = 0.1 - garrison_size = 0.05 - } - county_modifier = { - development_growth_factor = 0.02 - county_opinion_add = 2 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.06 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_6 - tax_mult = 0.03 - levy_size = 0.03 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - levy_size = 0.03 - } - - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -pastures_07 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - levy = small_building_levy_tier_7 - province_modifier = { - monthly_income = normal_building_tax_tier_7 - supply_limit = normal_building_supply_limit_tier_7 - levy_reinforcement_rate = 0.1 - garrison_size = 0.05 - } - county_modifier = { - development_growth_factor = 0.02 - county_opinion_add = 2 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.07 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_7 - tax_mult = 0.04 - levy_size = 0.04 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - levy_size = 0.04 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = pastures_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -pastures_08 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - levy = small_building_levy_tier_8 - province_modifier = { - monthly_income = normal_building_tax_tier_8 - supply_limit = normal_building_supply_limit_tier_8 - levy_reinforcement_rate = 0.15 - garrison_size = 0.05 - } - county_modifier = { - development_growth_factor = 0.02 - county_opinion_add = 2 - } - character_culture_modifier = { - parameter = pastures_building_bonuses - light_cavalry_maintenance_mult = -0.08 - } - province_culture_modifier = { - parameter = pastures_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_8 - tax_mult = 0.04 - levy_size = 0.04 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - levy_size = 0.04 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### hunting_grounds - -hunting_grounds_01 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { - NOT = { has_cultural_parameter = vegetarian_building_ban } - } - } - trigger_else = { always = no } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { - NOT = { has_cultural_parameter = vegetarian_building_ban } - } - } - trigger_if = { - limit = { exists = culture } - culture ?= { - NOT = { has_cultural_parameter = vegetarian_building_ban } - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_1_cost - - levy = poor_building_levy_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_1 - monthly_income = poor_building_tax_tier_1 - hostile_raid_time = 0.1 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.01 - archers_recruitment_cost_mult = -0.01 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_1 - stationed_archers_toughness_mult = low_maa_toughness_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_02 - - type_icon = "icon_building_hunting_grounds.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_hunting_grounds_improvement_from_culture_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 0 - building_cereal_fields_requirement_terrain = yes - NOT = { - has_building_or_higher = cereal_fields_01 - } - } - modifier = { - factor = 0 - scope:holder = { - government_has_flag = government_is_republic - } - NOT = { - has_building_or_higher = guild_halls_01 - } - } - } -} - -hunting_grounds_02 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_2_cost - - levy = poor_building_levy_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - monthly_income = poor_building_tax_tier_2 - hostile_raid_time = 0.2 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.02 - archers_recruitment_cost_mult = -0.02 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_2 - stationed_archers_toughness_mult = low_maa_toughness_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -hunting_grounds_03 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_3_cost - - levy = poor_building_levy_tier_3 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_3 - monthly_income = poor_building_tax_tier_3 - hostile_raid_time = 0.3 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.02 - archers_recruitment_cost_mult = -0.02 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_3 - stationed_archers_toughness_mult = low_maa_toughness_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hunting_grounds_04 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_4_cost - - levy = poor_building_levy_tier_4 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_4 - monthly_income = poor_building_tax_tier_4 - hostile_raid_time = 0.4 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.03 - archers_recruitment_cost_mult = -0.03 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_4 - stationed_archers_toughness_mult = low_maa_toughness_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hunting_grounds_05 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_5_cost - - levy = poor_building_levy_tier_5 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_5 - monthly_income = poor_building_tax_tier_5 - hostile_raid_time = 0.5 - } - - character_modifier = { - men_at_arms_maintenance = -0.01 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.03 - archers_recruitment_cost_mult = -0.03 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_5 - stationed_archers_toughness_mult = low_maa_toughness_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hunting_grounds_06 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_6_cost - - levy = poor_building_levy_tier_6 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_6 - monthly_income = poor_building_tax_tier_6 - hostile_raid_time = 0.6 - } - - character_modifier = { - men_at_arms_maintenance = -0.01 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.03 - archers_recruitment_cost_mult = -0.03 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_6 - stationed_archers_toughness_mult = low_maa_toughness_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hunting_grounds_07 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_7_cost - - levy = poor_building_levy_tier_7 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_7 - monthly_income = poor_building_tax_tier_7 - hostile_raid_time = 0.7 - } - - character_modifier = { - men_at_arms_maintenance = -0.01 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.04 - archers_recruitment_cost_mult = -0.04 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_7 - stationed_archers_toughness_mult = low_maa_toughness_tier_7 - } - - county_modifier = { - development_growth_factor = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hunting_grounds_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hunting_grounds_08 = { - construction_time = quick_construction_time - effect_desc = hunting_grounds_desc - - can_construct_potential = { - building_hunting_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - is_enabled = { - scope:holder.culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - culture ?= { - NOT = { - has_cultural_parameter = vegetarian_building_ban - } - } - } - - show_disabled = yes - - cost_gold = cheap_building_tier_8_cost - - levy = poor_building_levy_tier_8 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_8 - monthly_income = poor_building_tax_tier_8 - hostile_raid_time = 0.8 - } - - character_modifier = { - men_at_arms_maintenance = -0.01 - } - - character_culture_modifier = { - parameter = hunting_archery_building_bonuses - archers_maintenance_mult = -0.04 - archers_recruitment_cost_mult = -0.04 - } - - province_culture_modifier = { - parameter = hunting_archery_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_8 - stationed_archers_toughness_mult = low_maa_toughness_tier_8 - } - - county_modifier = { - development_growth_factor = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### orchards - -orchards_01 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - levy = small_building_levy_tier_1 - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - county_modifier = { - development_growth_factor = 0.05 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.01 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_02 - - type_icon = "icon_building_orchards.dds" - - ai_value = { - base = 15 # Significantly higher than normal, they're just that good - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_orchard_improvement_from_culture_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - modifier = { - factor = 2 - trigger_if = { - limit = { exists = culture } - culture ?= { has_cultural_parameter = vegetarian_fruit_orchard_allowed } - } - trigger_else = { always = no } - } - } -} - -orchards_02 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = normal_building_tier_2_cost - - levy = small_building_levy_tier_2 - province_modifier = { - monthly_income = normal_building_tax_tier_2 - levy_reinforcement_rate = 0.1 - } - county_modifier = { - development_growth_factor = 0.1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -orchards_03 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - levy = small_building_levy_tier_3 - province_modifier = { - monthly_income = normal_building_tax_tier_3 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.15 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - supply_limit_mult = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -orchards_04 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - levy = small_building_levy_tier_4 - province_modifier = { - monthly_income = normal_building_tax_tier_4 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.2 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - supply_limit_mult = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -orchards_05 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - levy = small_building_levy_tier_5 - province_modifier = { - monthly_income = normal_building_tax_tier_5 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.25 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.05 - supply_limit_mult = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -orchards_06 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - levy = small_building_levy_tier_6 - province_modifier = { - monthly_income = normal_building_tax_tier_6 - supply_limit = 1000 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.3 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.06 - supply_limit_mult = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -orchards_07 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - levy = small_building_levy_tier_7 - province_modifier = { - monthly_income = normal_building_tax_tier_7 - supply_limit = 1000 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.35 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.07 - supply_limit_mult = 0.1 - } - character_modifier = { - monthly_prestige = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = orchards_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -orchards_08 = { - construction_time = standard_construction_time - effect_desc = orchards_effect_desc - - can_construct_potential = { - building_orchards_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - levy = small_building_levy_tier_8 - province_modifier = { - monthly_income = normal_building_tax_tier_8 - supply_limit = 1000 - levy_reinforcement_rate = 0.1 - supply_limit_mult = 0.1 - } - county_modifier = { - development_growth_factor = 0.4 - levy_size = 0.02 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.08 - supply_limit_mult = 0.1 - } - character_modifier = { - monthly_prestige = 0.1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### farm estates - -farm_estates_01 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - can_construct_showing_failures_only = { - OR = { - AND = { - building_farm_estates_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { has_innovation = innovation_champa_rice } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - } - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_02 - - type_icon = "icon_building_farm_estates.dds" - - ai_value = { - base = 15 # Significantly higher than normal, they're just that good - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_farm_estate_improvement_from_culture_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - } -} - -farm_estates_02 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - can_construct_showing_failures_only = { - OR = { - AND = { - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - building_farm_estates_requirement_terrain = yes - } - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { has_innovation = innovation_champa_rice } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_2 - supply_limit_mult = 0.15 - supply_limit = 500 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 4 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -farm_estates_03 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - farm_estates_3_4_trigger = yes - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_3 - supply_limit_mult = 0.15 - supply_limit = 500 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - } - - county_modifier = { - development_growth_factor = 0.02 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 6 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -farm_estates_04 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - farm_estates_3_4_trigger = yes - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_4 - supply_limit_mult = 0.15 - supply_limit = 1000 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.05 - } - - county_modifier = { - development_growth_factor = 0.02 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -farm_estates_05 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct = { - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { - has_innovation = innovation_champa_rice - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - terrain = farmlands - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_5 - supply_limit_mult = 0.15 - levy_size = 0.05 - supply_limit = 1000 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.06 - } - - county_modifier = { - development_growth_factor = 0.02 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 10 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -farm_estates_06 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct = { - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { - has_innovation = innovation_champa_rice - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - terrain = farmlands - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_6 - supply_limit_mult = 0.15 - levy_size = 0.05 - supply_limit = 1000 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.06 - } - - county_modifier = { - development_growth_factor = 0.05 - tax_mult = 0.01 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 12 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -farm_estates_07 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct = { - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { - has_innovation = innovation_champa_rice - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - terrain = farmlands - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_7 - supply_limit_mult = 0.15 - levy_size = 0.05 - supply_limit = 1000 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.07 - } - - county_modifier = { - development_growth_factor = 0.05 - tax_mult = 0.01 - monthly_county_control_growth_add = 0.2 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 14 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = farm_estates_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -farm_estates_08 = { - construction_time = slow_construction_time - effect_desc = farm_estates_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct = { - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - building_paddy_fields_requirement_terrain = yes - scope:holder.culture ?= { - has_innovation = innovation_champa_rice - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - terrain = farmlands - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = excellent_building_tax_tier_8 - supply_limit_mult = 0.15 - levy_size = 0.05 - supply_limit = 1000 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.08 - } - county_modifier = { - development_growth_factor = 0.05 - tax_mult = 0.02 - monthly_county_control_growth_add = 0.2 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 16 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### cereal_fields - -cereal_fields_01 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = good_building_tax_tier_1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - } - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_1 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_02 - - type_icon = "icon_building_cereal_fields.dds" - - ai_value = { - base = 12 # A little bit higher than normal, they're just that good - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_cereal_fields_improvement_from_culture_modifier = yes # Only on the level 1 to secure having pasture when the AI is from an appropriate culture - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - modifier = { - add = 6 - county = { - has_county_modifier = fertile_desert_mountains_modifier - } - } - modifier = { - factor = 2 - AND = { - building_watermills_requirement_terrain = yes - building_windmills_requirement_terrain = yes - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - } -} - -cereal_fields_02 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - OR = { - building_farm_estates_requirement_terrain = yes - AND = { - has_building_or_higher = pastures_04 - culture ?= { - has_cultural_parameter = farm_estates_pastures_unlock - } - } - building_paddy_fields_requirement_terrain = yes - } - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = good_building_tax_tier_2 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - } - - county_modifier = { - tax_mult = 0.01 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 4 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -cereal_fields_03 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_crop_rotation - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = good_building_tax_tier_3 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - } - - county_modifier = { - tax_mult = 0.01 - supply_limit = 400 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_3 - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 6 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -cereal_fields_04 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_crop_rotation - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = good_building_tax_tier_4 - } - - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.05 - } - - county_modifier = { - tax_mult = 0.01 - supply_limit = 400 - development_growth_factor = 0.05 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_4 - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 8 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -cereal_fields_05 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = good_building_tax_tier_5 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.06 - } - - county_modifier = { - tax_mult = 0.01 - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_5 - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 10 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -cereal_fields_06 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_manorialism - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = good_building_tax_tier_6 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.07 - } - - county_modifier = { - tax_mult = 0.01 - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - church_holding_build_gold_cost = -0.05 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_6 - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 12 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -cereal_fields_07 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = good_building_tax_tier_7 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.08 - } - - county_modifier = { - levy_reinforcement_rate = 0.05 - tax_mult = 0.01 - supply_limit = 400 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - church_holding_build_gold_cost = -0.05 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_7 - stationed_maa_toughness_mult = normal_maa_toughness_tier_7 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 14 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = cereal_fields_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -cereal_fields_08 = { - construction_time = standard_construction_time - effect_desc = cereal_fields_effect_desc - - can_construct_potential = { - building_cereal_fields_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = vegetarian_next_level_cereal_fields - has_innovation = innovation_guilds - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = good_building_tax_tier_8 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.09 - } - - county_modifier = { - levy_reinforcement_rate = 0.05 - tax_mult = 0.02 - supply_limit = 1600 - development_growth_factor = 0.05 - supply_limit_mult = 0.05 - church_holding_build_gold_cost = -0.05 - } - - province_culture_modifier = { - parameter = collective_lands_farms_bonuses - stationed_maa_damage_mult = normal_maa_damage_tier_8 - stationed_maa_toughness_mult = normal_maa_toughness_tier_8 - } - - province_culture_modifier = { - parameter = brewery_farming_bonus - county_opinion_add = 16 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### logging_camps - -logging_camps_01 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - build_speed = good_building_build_speed_tier_1 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_damage_mult = low_maa_damage_tier_1 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.02 - build_gold_cost = -0.01 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_02 - - type_icon = "icon_building_logging_camps.dds" - - ai_value = { - base = 12 # A little bit higher than normal, they're very handy for further development - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_logging_camp_improvement_from_culture_modifier = yes - modifier = { - factor = 0 - scope:holder = { - government_has_flag = government_is_republic - } - NOT = { - has_building_or_higher = guild_halls_01 - } - } - modifier = { - factor = 4 - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_cultural_parameter = watermills_forestries_unlock } - } - trigger_else = { always = no } - } - } -} - -logging_camps_02 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = cheap_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - build_speed = good_building_build_speed_tier_2 - } - county_modifier = { - church_holding_build_gold_cost = -0.05 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_damage_mult = low_maa_damage_tier_2 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.04 - build_gold_cost = -0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - modifier = { - factor = 4 - scope:holder.culture ?= { - has_cultural_parameter = watermills_forestries_unlock - } - } - } -} - -logging_camps_03 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - build_speed = good_building_build_speed_tier_3 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_damage_mult = low_maa_damage_tier_3 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.06 - build_gold_cost = -0.03 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -logging_camps_04 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - build_speed = good_building_build_speed_tier_4 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - supply_limit = 300 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_damage_mult = low_maa_damage_tier_4 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.08 - build_gold_cost = -0.04 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -logging_camps_05 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - build_speed = good_building_build_speed_tier_5 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - supply_limit = 300 - tax_mult = 0.01 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_5 - stationed_skirmishers_damage_mult = low_maa_damage_tier_5 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.1 - build_gold_cost = -0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -logging_camps_06 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - build_speed = good_building_build_speed_tier_6 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - supply_limit = 600 - tax_mult = 0.01 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_6 - stationed_skirmishers_damage_mult = low_maa_damage_tier_6 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.12 - build_gold_cost = -0.06 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -logging_camps_07 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - build_speed = good_building_build_speed_tier_7 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - supply_limit = 600 - tax_mult = 0.02 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_7 - stationed_skirmishers_damage_mult = low_maa_damage_tier_7 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.14 - build_gold_cost = -0.07 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = logging_camps_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -logging_camps_08 = { - construction_time = standard_construction_time - effect_desc = logging_camps_desc - - can_construct_potential = { - building_logging_camps_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - build_speed = good_building_build_speed_tier_8 - } - - character_modifier = { - army_maintenance_mult = -0.01 - } - - county_modifier = { - church_holding_build_gold_cost = -0.05 - supply_limit = 600 - tax_mult = 0.02 - development_growth_factor = 0.02 - } - province_culture_modifier = { - parameter = logging_camps_building_bonuses - stationed_archers_damage_mult = low_maa_damage_tier_8 - stationed_skirmishers_damage_mult = low_maa_damage_tier_8 - } - county_culture_modifier = { - parameter = logging_camps_building_bonuses - build_speed = -0.16 - build_gold_cost = -0.08 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### peat_quarries - -peat_quarries_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - build_speed = normal_building_build_speed_tier_1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.02 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.02 - build_gold_cost = -0.01 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_02 - - type_icon = "icon_building_peat_quarries.dds" - - ai_value = { - base = 12 # A little bit higher than normal, they're very handy for further development - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_peat_quarries_improvement_from_culture_modifier = yes - } -} - -peat_quarries_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = cheap_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - build_speed = normal_building_build_speed_tier_2 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.03 - } - - county_modifier = { - build_gold_cost = -0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.04 - build_gold_cost = -0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -peat_quarries_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - build_speed = normal_building_build_speed_tier_3 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.04 - } - - county_modifier = { - build_gold_cost = -0.05 - supply_limit = 200 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.06 - build_gold_cost = -0.03 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -peat_quarries_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - build_speed = normal_building_build_speed_tier_4 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.05 - } - - county_modifier = { - build_gold_cost = -0.05 - supply_limit = 200 - supply_limit_mult = 0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.08 - build_gold_cost = -0.04 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -peat_quarries_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - build_speed = normal_building_build_speed_tier_5 - hostile_raid_time = 0.1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.06 - } - - county_modifier = { - build_gold_cost = -0.05 - supply_limit = 200 - supply_limit_mult = 0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.10 - build_gold_cost = -0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -peat_quarries_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - build_speed = normal_building_build_speed_tier_6 - hostile_raid_time = 0.1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.07 - } - - county_modifier = { - build_gold_cost = -0.05 - supply_limit = 200 - supply_limit_mult = 0.05 - development_growth_factor = 0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.12 - build_gold_cost = -0.06 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -peat_quarries_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - build_speed = normal_building_build_speed_tier_7 - hostile_raid_time = 0.1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.08 - } - - county_modifier = { - build_gold_cost = -0.1 - supply_limit = 200 - supply_limit_mult = 0.05 - development_growth_factor = 0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.14 - build_gold_cost = -0.07 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = peat_quarries_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -peat_quarries_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_peat_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - build_speed = normal_building_build_speed_tier_8 - hostile_raid_time = 0.1 - } - province_terrain_modifier = { - parameter = coastal_agriculture_building_bonuses - is_coastal = yes - tax_mult = 0.09 - } - - county_modifier = { - build_gold_cost = -0.1 - supply_limit = 600 - supply_limit_mult = 0.05 - development_growth_factor = 0.05 - } - county_culture_modifier = { - parameter = peat_quarries_building_bonuses - build_speed = -0.16 - build_gold_cost = -0.08 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### hill_farms - -hill_farms_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.01 - counter_efficiency = 0.01 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_1 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.01 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_02 - - type_icon = "icon_building_hill_farms.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_hill_farms_improvement_from_culture_modifier = yes - modifier = { - factor = 0 - scope:holder = { - government_has_flag = government_is_republic - } - NOT = { - has_building_or_higher = guild_halls_01 - } - } - modifier = { - factor = 4 - culture ?= { - has_cultural_parameter = windmills_hill_farms_unlock - } - } - } -} - -hill_farms_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - defender_holding_advantage = 1 - stationed_skirmishers_toughness_mult = 0.02 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.02 - counter_efficiency = 0.02 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_2 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.01 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -hill_farms_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - defender_holding_advantage = 1 - stationed_skirmishers_toughness_mult = 0.02 - } - - county_modifier = { - supply_limit = 300 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.03 - counter_efficiency = 0.03 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_3 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.02 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hill_farms_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - defender_holding_advantage = 2 - stationed_skirmishers_toughness_mult = 0.04 - } - - county_modifier = { - supply_limit = 300 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.04 - counter_efficiency = 0.04 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_4 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.02 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hill_farms_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - defender_holding_advantage = 2 - stationed_skirmishers_toughness_mult = 0.04 - } - - county_modifier = { - supply_limit = 300 - supply_limit_mult = 0.02 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.05 - counter_efficiency = 0.05 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_5 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.03 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hill_farms_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - defender_holding_advantage = 2 - stationed_skirmishers_toughness_mult = 0.04 - } - - county_modifier = { - supply_limit = 300 - supply_limit_mult = 0.02 - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.06 - counter_efficiency = 0.06 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_6 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.03 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hill_farms_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - defender_holding_advantage = 2 - stationed_skirmishers_toughness_mult = 0.04 - } - - county_modifier = { - supply_limit = 600 - supply_limit_mult = 0.02 - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.07 - counter_efficiency = 0.07 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_7 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.04 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_farms_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -hill_farms_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_hill_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - defender_holding_advantage = 2 - stationed_skirmishers_toughness_mult = 0.04 - } - - county_modifier = { - supply_limit = 600 - supply_limit_mult = 0.02 - development_growth_factor = 0.1 - } - character_culture_modifier = { - parameter = hill_farms_building_bonuses - knight_effectiveness_mult = 0.08 - counter_efficiency = 0.08 - } - province_culture_modifier = { - parameter = hill_farms_building_bonuses - defender_holding_advantage = normal_building_advantage_tier_8 - } - county_culture_modifier = { - parameter = hill_farms_building_bonuses - levy_size = 0.04 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### elephant_pens - -elephant_pens_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - build_speed = good_building_build_speed_tier_1 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_1 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_1 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_1 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.01 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_02 - - type_icon = "icon_building_elephant_pens.dds" - - ai_value = { - base = 12 # A little bit higher than normal, they're very handy for further development - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -elephant_pens_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - build_speed = good_building_build_speed_tier_2 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_2 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_2 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_2 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.02 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -elephant_pens_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - build_speed = good_building_build_speed_tier_3 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_3 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_3 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_3 - } - county_modifier = { - build_gold_cost = -0.02 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.03 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.15 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -elephant_pens_04 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - build_speed = good_building_build_speed_tier_4 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_4 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_4 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_4 - } - county_modifier = { - build_gold_cost = -0.02 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.04 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.20 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -elephant_pens_05 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - build_speed = good_building_build_speed_tier_5 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_5 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_5 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_5 - } - county_modifier = { - build_gold_cost = -0.02 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.05 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.25 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -elephant_pens_06 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - build_speed = good_building_build_speed_tier_6 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_6 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_6 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_6 - } - county_modifier = { - build_gold_cost = -0.02 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.06 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.30 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -elephant_pens_07 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - build_speed = good_building_build_speed_tier_7 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_7 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_7 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_7 - } - county_modifier = { - build_gold_cost = -0.02 - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.07 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.35 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = elephant_pens_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -elephant_pens_08 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_elephant_pens_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - build_speed = good_building_build_speed_tier_8 - stationed_elephant_cavalry_damage_mult = high_maa_damage_tier_8 - stationed_elephant_cavalry_toughness_mult = high_maa_toughness_tier_8 - } - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_8 - } - county_modifier = { - build_gold_cost = -0.02 - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = elephant_pens_building_bonuses - elephant_cavalry_maintenance_mult = -0.08 - } - county_culture_modifier = { - parameter = elephant_pens_building_bonuses - development_growth_factor = 0.40 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### plantations - -plantations_01 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.1 - } - province_modifier = { - monthly_income = poor_building_tax_tier_1 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.01 - camel_cavalry_maintenance_mult = -0.01 - light_cavalry_recruitment_cost_mult = -0.01 - camel_cavalry_recruitment_cost_mult = -0.01 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_1 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.05 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_02 - - type_icon = "icon_building_plantations.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_plantations_improvement_from_culture_modifier = yes - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 0 - building_pastures_requirement_terrain = yes - NOT = { - has_building_or_higher = pastures_01 - } - } - modifier = { - factor = 0 - building_cereal_fields_requirement_terrain = yes - NOT = { - has_building_or_higher = cereal_fields_01 - } - } - modifier = { - factor = 0 - has_building_or_higher = city_01 - NOT = { - has_building_or_higher = guild_halls_01 - } - } - } -} - -plantations_02 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.2 - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = cheap_building_tier_2_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_2 - tax_mult = 0.01 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.02 - camel_cavalry_maintenance_mult = -0.02 - light_cavalry_recruitment_cost_mult = -0.02 - camel_cavalry_recruitment_cost_mult = -0.02 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_2 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.1 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -plantations_03 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_3 - tax_mult = 0.01 - stationed_light_cavalry_toughness_mult = 0.02 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.03 - camel_cavalry_maintenance_mult = -0.03 - light_cavalry_recruitment_cost_mult = -0.03 - camel_cavalry_recruitment_cost_mult = -0.03 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_3 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.2 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.7 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -plantations_04 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.4 - } - cost_gold = cheap_building_tier_4_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_4 - tax_mult = 0.02 - stationed_light_cavalry_toughness_mult = 0.02 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.04 - camel_cavalry_maintenance_mult = -0.04 - light_cavalry_recruitment_cost_mult = -0.04 - camel_cavalry_recruitment_cost_mult = -0.04 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_4 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.3 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.8 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -plantations_05 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.5 - } - province_modifier = { - monthly_income = poor_building_tax_tier_5 - tax_mult = 0.02 - supply_limit = 200 - stationed_light_cavalry_toughness_mult = 0.02 - } - county_modifier = { - development_growth_factor = 0.02 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.05 - camel_cavalry_maintenance_mult = -0.05 - light_cavalry_recruitment_cost_mult = -0.05 - camel_cavalry_recruitment_cost_mult = -0.05 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_5 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.4 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 0.9 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -plantations_06 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.6 - } - province_modifier = { - monthly_income = poor_building_tax_tier_6 - tax_mult = 0.02 - supply_limit = 400 - stationed_light_cavalry_toughness_mult = 0.02 - } - county_modifier = { - development_growth_factor = 0.02 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.06 - camel_cavalry_maintenance_mult = -0.06 - light_cavalry_recruitment_cost_mult = -0.06 - camel_cavalry_recruitment_cost_mult = -0.06 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_6 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.5 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -plantations_07 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.7 - } - province_modifier = { - monthly_income = poor_building_tax_tier_7 - tax_mult = 0.02 - supply_limit = 400 - stationed_light_cavalry_toughness_mult = 0.02 - } - county_modifier = { - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.07 - camel_cavalry_maintenance_mult = -0.07 - light_cavalry_recruitment_cost_mult = -0.07 - camel_cavalry_recruitment_cost_mult = -0.07 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_7 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.6 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = plantations_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -plantations_08 = { - construction_time = quick_construction_time - effect_desc = plantations_effect_desc - - can_construct_potential = { - building_plantations_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.8 - } - province_modifier = { - monthly_income = poor_building_tax_tier_8 - tax_mult = 0.02 - supply_limit = 600 - stationed_light_cavalry_toughness_mult = 0.02 - } - county_modifier = { - development_growth_factor = 0.05 - } - character_culture_modifier = { - parameter = plantations_building_bonuses - light_cavalry_maintenance_mult = -0.08 - camel_cavalry_maintenance_mult = -0.08 - light_cavalry_recruitment_cost_mult = -0.08 - camel_cavalry_recruitment_cost_mult = -0.08 - } - province_culture_modifier = { - parameter = plantations_building_bonuses - monthly_income = poor_building_extra_tax_tier_8 - } - province_government_modifier = { - parameter = government_is_prepublic - monthly_barter_goods = 0.7 - } - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_growth_add = 1.2 - } - - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### quarries - -quarries_01 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_1 - build_speed = good_building_build_speed_tier_1 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.01 - pikemen_maintenance_mult = -0.01 - heavy_cavalry_maintenance_mult = -0.01 - men_at_arms_recruitment_cost = -0.01 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.01 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_02 - - type_icon = "icon_building_quarries.dds" - - ai_value = { - base = 12 # A little bit higher than normal, they're very handy for further development - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_quarries_improvement_from_culture_modifier = yes - modifier = { - factor = 0 - scope:holder = { - government_has_flag = government_is_republic - } - NOT = { - has_building_or_higher = guild_halls_01 - } - } - } -} - -quarries_02 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_crop_rotation - } - } - - cost_gold = cheap_building_tier_2_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_2 - build_speed = good_building_build_speed_tier_2 - } - character_modifier = { - men_at_arms_maintenance = -0.01 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.02 - pikemen_maintenance_mult = -0.02 - heavy_cavalry_maintenance_mult = -0.02 - men_at_arms_recruitment_cost = -0.02 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.02 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_03 - - ai_value = { - base = 9 - 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 upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -quarries_03 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_3 - build_speed = good_building_build_speed_tier_3 - } - county_modifier = { - development_growth_factor = 0.02 - } - character_modifier = { - men_at_arms_maintenance = -0.01 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.03 - pikemen_maintenance_mult = -0.03 - heavy_cavalry_maintenance_mult = -0.03 - men_at_arms_recruitment_cost = -0.03 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.03 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -quarries_04 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_manorialism - } - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.3 - } - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - province_government_modifier = { - parameter = government_is_urepublic - monthly_income = 0.4 - } - cost_gold = cheap_building_tier_4_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_4 - build_speed = good_building_build_speed_tier_4 - } - county_modifier = { - development_growth_factor = 0.02 - build_gold_cost = -0.05 - } - character_modifier = { - men_at_arms_maintenance = -0.01 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.04 - pikemen_maintenance_mult = -0.04 - heavy_cavalry_maintenance_mult = -0.04 - men_at_arms_recruitment_cost = -0.04 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.04 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -quarries_05 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_5 - build_speed = good_building_build_speed_tier_5 - } - county_modifier = { - development_growth_factor = 0.02 - build_gold_cost = -0.05 - } - character_modifier = { - men_at_arms_maintenance = -0.02 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.05 - pikemen_maintenance_mult = -0.05 - heavy_cavalry_maintenance_mult = -0.05 - men_at_arms_recruitment_cost = -0.05 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.05 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -quarries_06 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_guilds - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_6 - build_speed = good_building_build_speed_tier_6 - } - county_modifier = { - development_growth_factor = 0.02 - build_gold_cost = -0.05 - garrison_size = 0.1 - } - character_modifier = { - men_at_arms_maintenance = -0.02 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.06 - pikemen_maintenance_mult = -0.06 - heavy_cavalry_maintenance_mult = -0.06 - men_at_arms_recruitment_cost = -0.06 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.06 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -quarries_07 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_7 - build_speed = good_building_build_speed_tier_7 - stationed_heavy_infantry_toughness_mult = 0.02 - stationed_pikemen_toughness_mult = 0.02 - } - county_modifier = { - development_growth_factor = 0.02 - build_gold_cost = -0.05 - garrison_size = 0.1 - } - character_modifier = { - men_at_arms_maintenance = -0.02 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.07 - pikemen_maintenance_mult = -0.07 - heavy_cavalry_maintenance_mult = -0.07 - men_at_arms_recruitment_cost = -0.07 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.07 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = quarries_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -quarries_08 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_quarries_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_cranes - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_8 - build_speed = good_building_build_speed_tier_8 - stationed_heavy_infantry_toughness_mult = 0.04 - stationed_pikemen_toughness_mult = 0.04 - stationed_heavy_cavalry_toughness_mult = 0.08 - } - county_modifier = { - development_growth_factor = 0.02 - build_gold_cost = -0.05 - garrison_size = 0.1 - } - character_modifier = { - men_at_arms_maintenance = -0.02 - } - character_culture_modifier = { - parameter = quarries_building_bonuses - heavy_infantry_maintenance_mult = -0.08 - pikemen_maintenance_mult = -0.08 - heavy_cavalry_maintenance_mult = -0.08 - men_at_arms_recruitment_cost = -0.08 - } - county_culture_modifier = { - parameter = quarries_building_bonuses - levy_size = 0.08 - } - province_culture_modifier = { - parameter = ancient_miners_quarries_building_bonuses - monthly_income = poor_building_tax_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_economical_building_preference_modifier = yes - } -} diff --git a/common/buildings/00_standard_fortification_buildings.txt b/common/buildings/00_standard_fortification_buildings.txt deleted file mode 100644 index 5aec3c7c3..000000000 --- a/common/buildings/00_standard_fortification_buildings.txt +++ /dev/null @@ -1,2285 +0,0 @@ -#################################### -# Standard Fortification Buildings # -#################################### - -# Ramparts - Archers, Skirmishers -# Curtain Walls - Heavy Cavalry, Economy -# Watchtowers - Heavy Infantry, Light Cavalry -# Hill Forts - Pikemen, Skirmishers - -### ramparts - -ramparts_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - levy = normal_building_levy_tier_1 - max_garrison = normal_building_max_garrison_tier_1 - province_modifier = { - fort_level = normal_building_fort_level_tier_1 - stationed_archers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_02 - - type_icon = "icon_building_ramparts.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { - factor = 5 - free_building_slots <= 3 - scope:holder.capital_province = this - } - modifier = { - factor = 5 - free_building_slots <= 2 - } - modifier = { - factor = 5 - free_building_slots <= 1 - } - culture_likely_to_fortify_modifier = yes - } -} - -ramparts_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { exists = culture } - trigger_if = { - limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } } - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_innovation = innovation_motte } - } - trigger_else = { always = no } - } - trigger_else = { - culture ?= { has_cultural_parameter = next_level_fortification } - } - } - trigger_else = { always = no } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - levy = normal_building_levy_tier_2 - max_garrison = normal_building_max_garrison_tier_2 - province_modifier = { - fort_level = normal_building_fort_level_tier_2 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_2 - travel_danger = -2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_03 - - ai_value = { - base = 9 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -ramparts_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = normal_building_levy_tier_3 - max_garrison = normal_building_max_garrison_tier_3 - province_modifier = { - fort_level = normal_building_fort_level_tier_3 - defender_holding_advantage = normal_building_advantage_tier_1 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_3 - travel_danger = -3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_04 - - ai_value = { - base = 8 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -ramparts_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = normal_building_levy_tier_4 - max_garrison = normal_building_max_garrison_tier_4 - province_modifier = { - fort_level = normal_building_fort_level_tier_4 - defender_holding_advantage = normal_building_advantage_tier_1 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_4 - travel_danger = -4 - } - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_05 - - ai_value = { - base = 7 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -ramparts_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = normal_building_levy_tier_5 - max_garrison = normal_building_max_garrison_tier_5 - province_modifier = { - fort_level = normal_building_fort_level_tier_5 - defender_holding_advantage = normal_building_advantage_tier_1 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_5 - stationed_skirmishers_damage_mult = low_maa_damage_tier_5 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_5 - travel_danger = -5 - } - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_06 - - ai_value = { - base = 6 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -ramparts_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = normal_building_levy_tier_6 - max_garrison = normal_building_max_garrison_tier_6 - province_modifier = { - fort_level = normal_building_fort_level_tier_6 - defender_holding_advantage = normal_building_advantage_tier_2 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_6 - stationed_skirmishers_damage_mult = low_maa_damage_tier_6 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_6 - travel_danger = -6 - } - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_07 - - ai_value = { - base = 5 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -ramparts_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = normal_building_levy_tier_7 - max_garrison = normal_building_max_garrison_tier_7 - province_modifier = { - fort_level = normal_building_fort_level_tier_7 - defender_holding_advantage = normal_building_advantage_tier_2 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_7 - stationed_skirmishers_damage_mult = low_maa_damage_tier_7 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_7 - travel_danger = -7 - } - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = ramparts_08 - - ai_value = { - base = 4 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -ramparts_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_ramparts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = normal_building_levy_tier_8 - max_garrison = normal_building_max_garrison_tier_8 - province_modifier = { - fort_level = normal_building_fort_level_tier_8 - defender_holding_advantage = normal_building_advantage_tier_2 - tax_mult = 0.02 - stationed_archers_damage_mult = low_maa_damage_tier_8 - stationed_skirmishers_damage_mult = low_maa_damage_tier_8 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_8 - travel_danger = -8 - } - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -### curtain_walls - -curtain_walls_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - max_garrison = normal_building_max_garrison_tier_1 - province_modifier = { - monthly_income = poor_building_tax_tier_1 - fort_level = normal_building_fort_level_tier_1 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_1 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_02 - - type_icon = "icon_building_curtain_walls.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_tier_1_economical_building_preference_modifier = yes - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { - factor = 5 - free_building_slots <= 3 - scope:holder.capital_province = this - } - modifier = { - factor = 5 - free_building_slots <= 2 - } - modifier = { - factor = 5 - free_building_slots <= 1 - } - } -} - -curtain_walls_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { exists = culture } - trigger_if = { - limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } } - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_innovation = innovation_motte } - } - trigger_else = { always = no } - } - trigger_else = { - culture ?= { has_cultural_parameter = next_level_fortification } - } - } - trigger_else = { always = no } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - max_garrison = normal_building_max_garrison_tier_2 - province_modifier = { - monthly_income = poor_building_tax_tier_2 - fort_level = normal_building_fort_level_tier_2 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_2 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_2 - travel_danger = -2 - } - - county_modifier = { - supply_limit = 300 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_03 - - ai_value = { - base = 9 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -curtain_walls_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - max_garrison = normal_building_max_garrison_tier_3 - province_modifier = { - monthly_income = poor_building_tax_tier_3 - fort_level = normal_building_fort_level_tier_3 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_3 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_3 - travel_danger = -3 - } - - county_modifier = { - supply_limit = 300 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_04 - - ai_value = { - base = 8 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -curtain_walls_04 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - max_garrison = normal_building_max_garrison_tier_4 - province_modifier = { - monthly_income = poor_building_tax_tier_4 - fort_level = normal_building_fort_level_tier_4 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_4 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_4 - travel_danger = -4 - } - - county_modifier = { - supply_limit = 300 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_05 - - ai_value = { - base = 7 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -curtain_walls_05 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - max_garrison = normal_building_max_garrison_tier_5 - province_modifier = { - monthly_income = poor_building_tax_tier_5 - fort_level = normal_building_fort_level_tier_5 - defender_holding_advantage = normal_building_advantage_tier_2 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_5 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_5 - travel_danger = -5 - } - - county_modifier = { - supply_limit = 300 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_06 - - ai_value = { - base = 6 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -curtain_walls_06 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - max_garrison = normal_building_max_garrison_tier_6 - province_modifier = { - monthly_income = poor_building_tax_tier_6 - fort_level = normal_building_fort_level_tier_6 - defender_holding_advantage = normal_building_advantage_tier_2 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_6 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_6 - travel_danger = -6 - } - - county_modifier = { - supply_limit = 300 - supply_limit_mult = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_07 - - ai_value = { - base = 5 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -curtain_walls_07 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - max_garrison = normal_building_max_garrison_tier_7 - province_modifier = { - monthly_income = poor_building_tax_tier_7 - fort_level = normal_building_fort_level_tier_7 - defender_holding_advantage = normal_building_advantage_tier_2 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_7 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_7 - travel_danger = -7 - } - - county_modifier = { - supply_limit = 300 - supply_limit_mult = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = curtain_walls_08 - - ai_value = { - base = 4 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -curtain_walls_08 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_curtain_walls_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - max_garrison = normal_building_max_garrison_tier_8 - province_modifier = { - monthly_income = poor_building_tax_tier_8 - fort_level = normal_building_fort_level_tier_8 - defender_holding_advantage = normal_building_advantage_tier_2 - stationed_heavy_cavalry_damage_mult = low_maa_damage_tier_8 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_8 - travel_danger = -8 - } - - county_modifier = { - supply_limit = 300 - supply_limit_mult = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - ai_economical_building_preference_modifier = yes - } -} - -### watchtowers - -watchtowers_01 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - max_garrison = normal_building_max_garrison_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_1 - fort_level = normal_building_fort_level_tier_1 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_1 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_1 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_02 - - type_icon = "icon_building_watchtowers.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { - factor = 5 - free_building_slots <= 3 - scope:holder.capital_province = this - } - modifier = { - factor = 5 - free_building_slots <= 2 - } - modifier = { - factor = 5 - free_building_slots <= 1 - } - } -} - -watchtowers_02 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { exists = culture } - trigger_if = { - limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } } - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_innovation = innovation_motte } - } - trigger_else = { always = no } - } - trigger_else = { - culture ?= { has_cultural_parameter = next_level_fortification } - } - } - trigger_else = { always = no } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - max_garrison = normal_building_max_garrison_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - fort_level = normal_building_fort_level_tier_2 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_2 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_2 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_2 - travel_danger = -2 - } - - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_03 - - ai_value = { - base = 9 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -watchtowers_03 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - max_garrison = normal_building_max_garrison_tier_3 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_3 - fort_level = normal_building_fort_level_tier_3 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_3 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_3 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_3 - travel_danger = -3 - } - - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_04 - - ai_value = { - base = 8 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -watchtowers_04 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - max_garrison = normal_building_max_garrison_tier_4 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_4 - fort_level = normal_building_fort_level_tier_4 - supply_limit = 300 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_4 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_4 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_4 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_4 - travel_danger = -4 - } - - county_modifier = { - hostile_raid_time = 0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_05 - - ai_value = { - base = 7 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -watchtowers_05 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - max_garrison = normal_building_max_garrison_tier_5 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_5 - fort_level = normal_building_fort_level_tier_5 - supply_limit = 300 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_5 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_5 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_5 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_5 - travel_danger = -5 - epidemic_resistance = 5 - } - - county_modifier = { - hostile_raid_time = 0.15 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_06 - - ai_value = { - base = 6 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -watchtowers_06 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - max_garrison = normal_building_max_garrison_tier_6 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_6 - fort_level = normal_building_fort_level_tier_6 - supply_limit = 300 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_6 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_6 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_6 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_6 - travel_danger = -6 - epidemic_resistance = 8 - } - - county_modifier = { - hostile_raid_time = 0.15 - supply_limit_mult = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_07 - - ai_value = { - base = 5 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -watchtowers_07 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - max_garrison = normal_building_max_garrison_tier_7 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_7 - fort_level = normal_building_fort_level_tier_7 - supply_limit = 600 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_7 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_7 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_7 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_7 - travel_danger = -7 - epidemic_resistance = 10 - } - - county_modifier = { - hostile_raid_time = 0.15 - supply_limit_mult = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = watchtowers_08 - - ai_value = { - base = 4 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -watchtowers_08 = { - construction_time = standard_construction_time - effect_desc = watchtowers_desc - - can_construct_potential = { - building_watchtowers_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - max_garrison = normal_building_max_garrison_tier_8 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_8 - fort_level = normal_building_fort_level_tier_8 - supply_limit = 600 - stationed_heavy_infantry_damage_mult = low_maa_damage_tier_8 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_8 - stationed_light_cavalry_damage_mult = low_maa_damage_tier_8 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_8 - travel_danger = -8 - epidemic_resistance = 12 - } - - county_modifier = { - hostile_raid_time = 0.2 - supply_limit_mult = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - modifier = { - add = 1 - scope:holder = { - culture ?= { - has_cultural_parameter = ai_more_likely_to_fortify - } - } - } - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -### hill_forts - -hill_forts_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - max_garrison = good_building_max_garrison_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_1 - fort_level = good_building_fort_level_tier_1 - stationed_skirmishers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_1 - stationed_pikemen_damage_mult = low_maa_damage_tier_1 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_02 - - type_icon = "icon_building_hill_forts.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { - factor = 5 - free_building_slots <= 3 - scope:holder.capital_province = this - } - modifier = { - factor = 5 - free_building_slots <= 2 - } - modifier = { - factor = 5 - free_building_slots <= 1 - } - } -} - -hill_forts_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { exists = culture } - trigger_if = { - limit = { NOT = { culture ?= { has_cultural_parameter = next_level_fortification } } } - trigger_if = { - limit = { exists = scope:holder.culture } - scope:holder.culture ?= { has_innovation = innovation_motte } - } - trigger_else = { always = no } - } - trigger_else = { - culture ?= { has_cultural_parameter = next_level_fortification } - } - } - trigger_else = { always = no } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - max_garrison = good_building_max_garrison_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - fort_level = good_building_fort_level_tier_2 - stationed_skirmishers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_2 - stationed_pikemen_damage_mult = low_maa_damage_tier_2 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_2 - travel_danger = -2 - } - county_modifier = { - monthly_county_control_growth_factor = 0.1 - monthly_county_control_decline_factor = -0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_03 - - ai_value = { - base = 9 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -hill_forts_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - max_garrison = good_building_max_garrison_tier_3 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_3 - fort_level = good_building_fort_level_tier_3 - stationed_skirmishers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_3 - stationed_pikemen_damage_mult = low_maa_damage_tier_3 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_3 - travel_danger = -3 - } - county_modifier = { - monthly_county_control_growth_factor = 0.1 - monthly_county_control_decline_factor = -0.1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -hill_forts_04 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 01 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_motte - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - max_garrison = good_building_max_garrison_tier_4 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_4 - fort_level = good_building_fort_level_tier_4 - stationed_skirmishers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_4 - stationed_pikemen_damage_mult = low_maa_damage_tier_4 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_4 - travel_danger = -4 - } - county_modifier = { - monthly_county_control_growth_factor = 0.1 - monthly_county_control_decline_factor = -0.1 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -hill_forts_05 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - max_garrison = good_building_max_garrison_tier_5 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_5 - fort_level = good_building_fort_level_tier_5 - stationed_skirmishers_damage_mult = low_maa_damage_tier_5 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_5 - stationed_pikemen_damage_mult = low_maa_damage_tier_5 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_5 - travel_danger = -5 - } - county_modifier = { - monthly_county_control_growth_factor = 0.15 - monthly_county_control_decline_factor = -0.15 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -hill_forts_06 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 02 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_battlements - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - max_garrison = good_building_max_garrison_tier_6 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_6 - fort_level = good_building_fort_level_tier_6 - stationed_skirmishers_damage_mult = low_maa_damage_tier_6 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_6 - stationed_pikemen_damage_mult = low_maa_damage_tier_6 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_6 - travel_danger = -6 - } - county_modifier = { - monthly_county_control_growth_factor = 0.15 - monthly_county_control_decline_factor = -0.15 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -hill_forts_07 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - max_garrison = good_building_max_garrison_tier_7 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_7 - fort_level = good_building_fort_level_tier_7 - stationed_skirmishers_damage_mult = low_maa_damage_tier_7 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_7 - stationed_pikemen_damage_mult = low_maa_damage_tier_7 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_7 - travel_danger = -7 - } - county_modifier = { - monthly_county_control_growth_factor = 0.15 - monthly_county_control_decline_factor = -0.15 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hill_forts_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -hill_forts_08 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_hill_forts_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture ?= { - has_cultural_parameter = next_level_fortification - } - } - } - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture ?= { - has_innovation = innovation_machicolations - } - } - trigger_else = { - building_requirement_castle_city_church = { LEVEL = 03 } - culture ?= { - has_cultural_parameter = next_level_fortification - } - scope:holder.culture ?= { - has_innovation = innovation_hoardings - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - max_garrison = good_building_max_garrison_tier_8 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_8 - fort_level = good_building_fort_level_tier_8 - stationed_skirmishers_damage_mult = low_maa_damage_tier_8 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_8 - stationed_pikemen_damage_mult = low_maa_damage_tier_8 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_8 - travel_danger = -8 - } - county_modifier = { - monthly_county_control_growth_factor = 0.2 - monthly_county_control_decline_factor = -0.2 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_fortify_modifier = yes - } -} diff --git a/common/buildings/00_standard_military_buildings.txt b/common/buildings/00_standard_military_buildings.txt deleted file mode 100644 index 4b8cebcc0..000000000 --- a/common/buildings/00_standard_military_buildings.txt +++ /dev/null @@ -1,6538 +0,0 @@ -############################### -# Standard Military Buildings # -############################### - -# Regimental Grounds - High Levy, All MaA, High MaA Maintenance -# - Farmland, Floodplain -# Barracks - Normal Levy, Heavy Infantry, Pikemen -# - Farmland, Plain, Dryland, Floodplain -# Warrior Lodges - Poor Levy, Heavy Infantry, Pikemen, Skirmishers, Flat Stationed MaA Pursuit -# - Certain Regions: Mountains, Desert Mountains, Hills (certain regions) -# Hillside Grazing - Poor Levy, Heavy Cavalry, Light Cavalry, Horse Archers -# - Certain Regions: Mountains, Desert Mountains, Hills (certain regions) -# Outposts - Poor Levy, Super Poor Tax, Defensive Advantage, Raid Time, Skirmishers, Archers -# - Forest, Taiga, Jungle, Wetland -# Camel Farms - Poor Levy, Super Poor Tax, Camel Cavalry, Light Cavalry -# - Camelry Region: Desert, Floodplain, Oasis, Dryland -# Horse Pastures - Low Levy, Low tax, Horse Archers, Light Cavalry, Flat Stationed MaA Screen -# - Eastern Steppe Region/Steppe Terrain -# Blacksmiths - Normal Stationed MaA bonuses, Holding Taxes %, Levy Reinforcement, Low Knight Effectiveness -# Stables - Low Levy, Light Cavalry, Heavy Cavalry -# Militia Camps - Normal Levy, Archers, Skirmishers -# Workshops - Late Game Building - Normal Tax, Siege Weapons, Recruitment Cost for Archers/Skirmishers, Maintenance for Archers/Skirmishers -# Wind Furnaces - Good Tax, Good Stationed MaA bonuses, high Knight Effectiveness -# - Wootz Steel Innovation - - -### wind_furnace - -wind_furnace_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_1 - stationed_maa_toughness_mult = high_maa_toughness_tier_1 - monthly_income = good_building_tax_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_02 - - type_icon = "icon_building_wind_furnaces.dds" - - ai_value = { - base = 100 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - - modifier = { - factor = 0 - has_holding_type = city_holding - } - modifier = { - factor = 0 - has_holding_type = church_holding - } - } -} - -wind_furnace_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { - has_innovation = innovation_barracks - } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_2 - stationed_maa_toughness_mult = high_maa_toughness_tier_2 - monthly_income = good_building_tax_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_03 - - ai_value = { - base = 9 - 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 - } - } -} - -wind_furnace_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_3 - stationed_maa_toughness_mult = high_maa_toughness_tier_3 - monthly_income = good_building_tax_tier_3 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wind_furnace_04 = { - construction_time = standard_construction_time - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_4 - stationed_maa_toughness_mult = high_maa_toughness_tier_4 - monthly_income = good_building_tax_tier_4 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wind_furnace_05 = { - construction_time = standard_construction_time - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_5 - stationed_maa_toughness_mult = high_maa_toughness_tier_5 - monthly_income = good_building_tax_tier_5 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wind_furnace_06 = { - construction_time = standard_construction_time - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_6 - stationed_maa_toughness_mult = high_maa_toughness_tier_6 - monthly_income = good_building_tax_tier_6 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wind_furnace_07 = { - construction_time = standard_construction_time - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_7 - stationed_maa_toughness_mult = high_maa_toughness_tier_7 - monthly_income = good_building_tax_tier_7 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = wind_furnace_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wind_furnace_08 = { - construction_time = standard_construction_time - effect_desc = windfurnaces_effects_desc - - can_construct_potential = { - building_wind_furnace_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - stationed_maa_damage_mult = high_maa_damage_tier_8 - stationed_maa_toughness_mult = high_maa_toughness_tier_8 - monthly_income = good_building_tax_tier_8 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### Powder Magazines - -powder_magazine_01 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_1_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture ?= { has_cultural_parameter = unlock_powder_magazines } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_1 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_1 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1 - stationed_maa_siege_value_add = 0.02 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_02 - - ai_value = { - base = 12 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 0 - has_holding_type = city_holding - } - modifier = { - factor = 0 - has_holding_type = church_holding - } - } -} - -powder_magazine_02 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_1_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_2 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_2 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 - stationed_maa_siege_value_add = 0.04 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_03 - - ai_value = { - base = 9 - 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 - } - } -} - -powder_magazine_03 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_1_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 02 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_3 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_3 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_3 - stationed_maa_siege_value_add = 0.06 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -powder_magazine_04 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_2_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 02 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_4 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_4 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_4 - stationed_maa_siege_value_add = 0.08 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -powder_magazine_05 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_2_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_5 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_5 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_5 - stationed_maa_siege_value_add = 0.1 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -powder_magazine_06 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_2_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 03 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_6 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_6 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_6 - stationed_maa_siege_value_add = 0.12 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -powder_magazine_07 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_3_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_7 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_7 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_7 - stationed_maa_siege_value_add = 0.14 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - next_building = powder_magazine_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -powder_magazine_08 = { - construction_time = standard_construction_time - effect_desc = powder_magazine_3_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 04 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { has_cultural_parameter = unlock_powder_magazines } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - stationed_gunpowder_damage_mult = high_maa_damage_tier_8 - stationed_gunpowder_toughness_mult = high_maa_toughness_tier_8 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_8 - stationed_maa_siege_value_add = 0.16 - } - character_modifier = { - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_powder_magazine.dds" - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### workshops - -workshops_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture ?= { - has_innovation = innovation_advanced_bowmaking - } - } - - cost_gold = expensive_building_tier_1_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_1 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1 - stationed_maa_siege_value_add = 0.05 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_1 - archers_maintenance_mult = good_building_maa_maintenance_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_02 - - type_icon = "icon_building_workshops.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - } -} - -workshops_02 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture = { - has_innovation = innovation_advanced_bowmaking - } - } - - cost_gold = expensive_building_tier_2_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_2 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2 - stationed_maa_siege_value_add = 0.1 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_2 - archers_maintenance_mult = good_building_maa_maintenance_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_03 - - ai_value = { - base = 9 - 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 - } - } -} - -workshops_03 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_advanced_bowmaking - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_3_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_3 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_3 - stationed_archers_damage_mult = high_maa_damage_tier_1 - stationed_skirmishers_damage_mult = high_maa_damage_tier_1 - stationed_maa_siege_value_add = 0.15 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_3 - archers_maintenance_mult = good_building_maa_maintenance_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -workshops_04 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_advanced_bowmaking - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_4_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_4 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_4 - stationed_archers_damage_mult = high_maa_damage_tier_2 - stationed_skirmishers_damage_mult = high_maa_damage_tier_2 - stationed_maa_siege_value_add = 0.2 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_4 - archers_maintenance_mult = good_building_maa_maintenance_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -workshops_05 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_advanced_bowmaking - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_5_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_5 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_5 - stationed_archers_damage_mult = high_maa_damage_tier_3 - stationed_skirmishers_damage_mult = high_maa_damage_tier_3 - stationed_maa_siege_value_add = 0.25 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_5 - archers_maintenance_mult = good_building_maa_maintenance_tier_5 - cultural_head_fascination_mult = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -workshops_06 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_6_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_6 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_6 - stationed_archers_damage_mult = high_maa_damage_tier_4 - stationed_skirmishers_damage_mult = high_maa_damage_tier_4 - stationed_maa_siege_value_add = 0.3 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_6 - archers_maintenance_mult = good_building_maa_maintenance_tier_6 - cultural_head_fascination_mult = 0.10 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -workshops_07 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_7_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_7 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_7 - stationed_archers_damage_mult = high_maa_damage_tier_5 - stationed_skirmishers_damage_mult = high_maa_damage_tier_5 - stationed_maa_siege_value_add = 0.35 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_7 - archers_maintenance_mult = good_building_maa_maintenance_tier_7 - cultural_head_fascination_mult = 0.15 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = workshops_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -workshops_08 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_workshops_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_8_cost - - province_modifier = { - monthly_income = normal_building_tax_tier_8 - stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_8 - stationed_archers_damage_mult = high_maa_damage_tier_6 - stationed_skirmishers_damage_mult = high_maa_damage_tier_6 - stationed_maa_siege_value_add = 0.4 - } - character_modifier = { - skirmishers_maintenance_mult = good_building_maa_maintenance_tier_8 - archers_maintenance_mult = good_building_maa_maintenance_tier_8 - cultural_head_fascination_mult = 0.20 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### horse_pastures - -horse_pastures_01 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct_showing_failures_only = { - } - - cost_gold = cheap_building_tier_1_cost - - levy = small_building_levy_tier_1 - - character_modifier = { - movement_speed = high_movement_speed_tier_1 - movement_speed_land_raiding = high_movement_speed_tier_1 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_1 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_1 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_1 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_1 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_1 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_02 - - type_icon = "icon_building_horse_pastures.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_camel_farms_modifier = yes - ai_stacking_bonus_hillside_grazing_modifier = yes - ai_stacking_bonus_stables_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - ai_archer_cavalry_modifier = yes - ai_light_cavalry_modifier = yes - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - add = -9 - has_building_or_higher = city_01 - } - modifier = { - add = -9 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -horse_pastures_02 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct_showing_failures_only = { - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - cost_gold = cheap_building_tier_2_cost - - levy = small_building_levy_tier_2 - - character_modifier = { - movement_speed = high_movement_speed_tier_2 - movement_speed_land_raiding = high_movement_speed_tier_2 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_2 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_2 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_2 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_2 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_2 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_03 - - ai_value = { - base = 9 - 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 - } - } -} - -horse_pastures_03 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = small_building_levy_tier_3 - - character_modifier = { - movement_speed = high_movement_speed_tier_3 - movement_speed_land_raiding = high_movement_speed_tier_3 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_3 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_3 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_3 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_3 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_3 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -horse_pastures_04 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = small_building_levy_tier_4 - - character_modifier = { - movement_speed = high_movement_speed_tier_4 - movement_speed_land_raiding = high_movement_speed_tier_4 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_4 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_4 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_4 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_4 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_4 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -horse_pastures_05 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = small_building_levy_tier_5 - - character_modifier = { - movement_speed = high_movement_speed_tier_5 - movement_speed_land_raiding = high_movement_speed_tier_5 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_5 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_5 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_5 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_5 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_5 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -horse_pastures_06 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = small_building_levy_tier_6 - - character_modifier = { - movement_speed = high_movement_speed_tier_6 - movement_speed_land_raiding = high_movement_speed_tier_6 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_6 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_6 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_6 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_6 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_6 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -horse_pastures_07 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = small_building_levy_tier_7 - - character_modifier = { - movement_speed = high_movement_speed_tier_7 - movement_speed_land_raiding = high_movement_speed_tier_7 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_7 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_7 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_7 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_7 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_7 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = horse_pastures_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -horse_pastures_08 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_horse_pastures_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = small_building_levy_tier_8 - - character_modifier = { - movement_speed = high_movement_speed_tier_8 - movement_speed_land_raiding = high_movement_speed_tier_8 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = normal_maa_toughness_tier_8 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_8 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_8 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_8 - stationed_archer_cavalry_screen_mult = normal_maa_screen_tier_8 - stationed_archer_cavalry_pursuit_mult = normal_maa_pursuit_tier_8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - - -### hillside_grazing - -hillside_grazing_01 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct_showing_failures_only = { - } - - cost_gold = cheap_building_tier_1_cost - - levy = small_building_levy_tier_1 - - province_modifier = { - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_1 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_1 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_1 - monthly_income = super_poor_building_tax_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_02 - - type_icon = "icon_building_hillside_grazing.dds" - - ai_value = { - base = 11 # Little nudge - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_camel_farms_modifier = yes - ai_stacking_bonus_horse_pastures_modifier = yes - ai_stacking_bonus_stables_modifier = yes - ai_archer_cavalry_modifier = yes - ai_light_cavalry_modifier = yes - ai_heavy_cavalry_modifier = yes - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - add = -10 - has_building_or_higher = city_01 - } - } -} - -hillside_grazing_02 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct_showing_failures_only = { - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - cost_gold = cheap_building_tier_2_cost - - levy = small_building_levy_tier_2 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_1 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_2 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_1 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_2 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_1 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_2 - monthly_income = super_poor_building_tax_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_03 - - ai_value = { - base = 9 - 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 - } - } -} - -hillside_grazing_03 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = small_building_levy_tier_3 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_2 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_3 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_2 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_3 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_2 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_3 - monthly_income = super_poor_building_tax_tier_3 - stationed_maa_screen_add = 4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -hillside_grazing_04 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = small_building_levy_tier_4 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_3 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_4 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_3 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_4 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_3 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_4 - monthly_income = super_poor_building_tax_tier_4 - stationed_maa_screen_add = 6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -hillside_grazing_05 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = small_building_levy_tier_5 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_4 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_5 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_4 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_5 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_4 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_5 - monthly_income = super_poor_building_tax_tier_5 - stationed_maa_screen_add = 8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -hillside_grazing_06 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = small_building_levy_tier_6 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_5 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_6 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_5 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_6 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_5 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_6 - monthly_income = super_poor_building_tax_tier_6 - stationed_maa_screen_add = 12 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -hillside_grazing_07 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = small_building_levy_tier_7 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_6 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_7 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_6 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_7 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_6 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_7 - monthly_income = super_poor_building_tax_tier_7 - stationed_maa_screen_add = 16 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = hillside_grazing_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -hillside_grazing_08 = { - construction_time = quick_construction_time - - can_construct_potential = { - building_hillside_grazing_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = small_building_levy_tier_8 - - province_modifier = { - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_7 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_8 - stationed_heavy_cavalry_toughness_mult = low_maa_toughness_tier_7 - stationed_heavy_cavalry_damage_mult = normal_maa_damage_tier_8 - stationed_archer_cavalry_toughness_mult = low_maa_toughness_tier_7 - stationed_archer_cavalry_damage_mult = normal_maa_damage_tier_8 - monthly_income = super_poor_building_tax_tier_8 - stationed_maa_screen_add = 20 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - - -### warrior_lodges - -warrior_lodges_01 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - trigger_if = { - limit = { - scope:holder = { - NOT = { - government_has_flag = government_is_tribal - } - } - } - NOT = { - has_holding_type = tribal_holding - } - } - } - - can_construct_showing_failures_only = { - } - - cost_gold = cheap_building_tier_1_cost - - levy = normal_building_levy_tier_1 - - province_modifier = { - stationed_skirmishers_damage_mult = normal_maa_damage_tier_1 - stationed_pikemen_damage_mult = normal_maa_damage_tier_1 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_02 - - type_icon = "icon_building_warrior_lodges.dds" - - ai_value = { - base = 11 # Little nudge - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_military_camps_modifier = yes - ai_stacking_bonus_smiths_modifier = yes - ai_stacking_bonus_wind_furnaces_modifier = yes - ai_stacking_bonus_outposts_modifier = yes - ai_skirmisher_modifier = yes - ai_pikemen_modifier = yes - ai_heavy_infantry_modifier = yes - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - add = -10 - has_building_or_higher = city_01 - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -warrior_lodges_02 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - trigger_if = { - limit = { - scope:holder = { - NOT = { - government_has_flag = government_is_tribal - } - } - } - NOT = { - has_holding_type = tribal_holding - } - } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - cost_gold = cheap_building_tier_2_cost - - levy = normal_building_levy_tier_2 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_1 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_1 - stationed_pikemen_damage_mult = normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_2 - travel_danger = -2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_03 - - ai_value = { - base = 9 - 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 - } - } -} - -warrior_lodges_03 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - trigger_if = { - limit = { - scope:holder = { - NOT = { - government_has_flag = government_is_tribal - } - } - } - NOT = { - has_holding_type = tribal_holding - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = normal_building_levy_tier_3 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_2 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_3 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_2 - stationed_pikemen_damage_mult = normal_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_3 - stationed_maa_pursuit_add = 4 - travel_danger = -3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -warrior_lodges_04 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - trigger_if = { - limit = { - scope:holder = { - NOT = { - government_has_flag = government_is_tribal - } - } - } - NOT = { - has_holding_type = tribal_holding - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = normal_building_levy_tier_4 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_3 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_4 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_3 - stationed_pikemen_damage_mult = normal_maa_damage_tier_4 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_3 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_4 - stationed_maa_pursuit_add = 6 - travel_danger = -4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -warrior_lodges_05 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = normal_building_levy_tier_5 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_4 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_5 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_4 - stationed_pikemen_damage_mult = normal_maa_damage_tier_5 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_4 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_5 - stationed_maa_pursuit_add = 8 - travel_danger = -5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -warrior_lodges_06 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = normal_building_levy_tier_6 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_5 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_6 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_5 - stationed_pikemen_damage_mult = normal_maa_damage_tier_6 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_5 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_6 - stationed_maa_pursuit_add = 12 - travel_danger = -6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -warrior_lodges_07 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = normal_building_levy_tier_7 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_6 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_7 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_6 - stationed_pikemen_damage_mult = normal_maa_damage_tier_7 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_6 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_7 - stationed_maa_pursuit_add = 16 - travel_danger = -7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = warrior_lodges_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -warrior_lodges_08 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_civil_cost_low_discount_effect_toto_desc - } - } - can_construct_potential = { - building_warrior_lodges_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = normal_building_levy_tier_8 - - province_modifier = { - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_7 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_8 - stationed_pikemen_toughness_mult = low_maa_toughness_tier_7 - stationed_pikemen_damage_mult = normal_maa_damage_tier_8 - stationed_heavy_infantry_toughness_mult = low_maa_toughness_tier_7 - stationed_heavy_infantry_damage_mult = normal_maa_damage_tier_8 - stationed_maa_pursuit_add = 20 - travel_danger = -8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### military_camps - -military_camps_01 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - levy = normal_building_levy_tier_1 - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_1 - stationed_skirmishers_damage_mult = high_maa_damage_tier_1 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_1 - travel_danger = -1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_02 - - type_icon = "icon_building_military_camps.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_warrior_lodges_modifier = yes - ai_stacking_bonus_outposts_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - ai_skirmisher_modifier = yes - ai_archer_modifier = yes - modifier = { - add = non_stationed_maa_bonus - has_stationed_regiment = yes - NOR = { - has_stationed_regiment_of_base_type = skirmishers - has_stationed_regiment_of_base_type = archers - } - } - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 0 - building_horse_pastures_requirement_terrain = yes - NOT = { - has_building_or_higher = horse_pastures_01 - } - } - modifier = { - factor = 0 - building_hillside_grazing_requirement_terrain = yes - NOT = { - has_building_or_higher = hillside_grazing_01 - } - } - modifier = { - factor = 0 - building_warrior_lodges_requirement_terrain = yes - NOT = { - has_building_or_higher = warrior_lodges_01 - } - } - modifier = { - add = -9 - has_building_or_higher = city_01 - } - modifier = { - add = -3 - OR = { - exists = barony.lessee - scope:holder = { - highest_held_title_tier <= tier_barony - } - } - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -military_camps_02 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - levy = normal_building_levy_tier_2 - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_2 - stationed_skirmishers_damage_mult = high_maa_damage_tier_2 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_2 - travel_danger = -2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_03 - - ai_value = { - base = 9 - 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 - } - } -} - -military_camps_03 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = normal_building_levy_tier_3 - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_3 - stationed_skirmishers_damage_mult = high_maa_damage_tier_3 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_3 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_1 - stationed_archers_toughness_mult = normal_maa_toughness_tier_1 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_1 - travel_danger = -3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -military_camps_04 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = normal_building_levy_tier_4 - - county_modifier = { - supply_limit = 200 - monthly_county_control_growth_factor = 0.05 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_4 - stationed_skirmishers_damage_mult = high_maa_damage_tier_4 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_4 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_2 - stationed_archers_toughness_mult = normal_maa_toughness_tier_2 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_2 - travel_danger = -4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -military_camps_05 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = normal_building_levy_tier_5 - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_5 - } - - county_modifier = { - supply_limit = 400 - monthly_county_control_growth_factor = 0.1 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_5 - stationed_skirmishers_damage_mult = high_maa_damage_tier_5 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_5 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_3 - stationed_archers_toughness_mult = normal_maa_toughness_tier_3 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_3 - travel_danger = -5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -military_camps_06 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = normal_building_levy_tier_6 - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_6 - } - - county_modifier = { - supply_limit = 600 - monthly_county_control_growth_factor = 0.15 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_6 - stationed_skirmishers_damage_mult = high_maa_damage_tier_6 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_6 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_4 - stationed_archers_toughness_mult = normal_maa_toughness_tier_4 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_4 - travel_danger = -6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -military_camps_07 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = normal_building_levy_tier_7 - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_7 - } - - county_modifier = { - supply_limit = 800 - monthly_county_control_growth_factor = 0.20 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_7 - stationed_skirmishers_damage_mult = high_maa_damage_tier_7 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_7 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_5 - stationed_archers_toughness_mult = normal_maa_toughness_tier_5 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_5 - travel_danger = -7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = military_camps_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -military_camps_08 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_military_camps_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_military_camps - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_military_camps - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = normal_building_levy_tier_8 - - character_modifier = { - men_at_arms_maintenance = normal_building_maa_maintenance_tier_8 - } - - county_modifier = { - supply_limit = 1000 - monthly_county_control_growth_factor = 0.25 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_8 - stationed_skirmishers_damage_mult = high_maa_damage_tier_8 - stationed_skirmishers_pursuit_mult = high_maa_pursuit_tier_8 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_6 - stationed_archers_toughness_mult = normal_maa_toughness_tier_6 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_6 - travel_danger = -8 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### regimental_grounds - -regimental_grounds_01 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_1_cost - - levy = excellent_building_levy_tier_1 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_1 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_1 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - travel_danger = -1 - } - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_02 - - type_icon = "icon_building_regimental_grounds.dds" - - ai_value = { - base = 13 # One of the best buildings, a slight nudge - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = -99 - has_building_or_higher = city_01 - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -regimental_grounds_02 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_2_cost - - levy = excellent_building_levy_tier_2 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_2 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - travel_danger = -2 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_2 - monthly_county_control_growth_factor = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_03 - - ai_value = { - base = 9 - 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 - } - } -} - -regimental_grounds_03 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_3_cost - - levy = excellent_building_levy_tier_3 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_3 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_3 - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - travel_danger = -3 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_3 - monthly_county_control_growth_factor = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -regimental_grounds_04 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_4_cost - - levy = excellent_building_levy_tier_4 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_4 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_4 - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - travel_danger = -4 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_4 - monthly_county_control_growth_factor = 0.05 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -regimental_grounds_05 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_5_cost - - levy = excellent_building_levy_tier_5 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_5 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_5 - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - supply_limit = 1000 - travel_danger = -5 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_5 - monthly_county_control_growth_factor = 0.05 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -regimental_grounds_06 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_6_cost - - levy = excellent_building_levy_tier_6 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_6 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_6 - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - supply_limit = 1000 - travel_danger = -6 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_6 - monthly_county_control_growth_factor = 0.05 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -regimental_grounds_07 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_7_cost - - levy = excellent_building_levy_tier_7 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_7 - knight_limit = 1 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_7 - stationed_maa_toughness_mult = normal_maa_toughness_tier_7 - supply_limit = 1000 - travel_danger = -7 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_7 - monthly_county_control_growth_factor = 0.05 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = regimental_grounds_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -regimental_grounds_08 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_wrestling_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_regimental_grounds_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = expensive_building_tier_8_cost - - levy = excellent_building_levy_tier_8 - - character_modifier = { - men_at_arms_maintenance = good_building_maa_maintenance_tier_8 - knight_limit = 1 - army_maintenance_mult = -0.01 - } - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_8 - stationed_maa_toughness_mult = normal_maa_toughness_tier_8 - supply_limit = 1000 - travel_danger = -8 - } - - county_modifier = { - levy_reinforcement_rate = high_levy_reinforcement_rate_tier_8 - monthly_county_control_growth_factor = 0.05 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### outposts - -outposts_01 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_1_cost - - levy = poor_building_levy_tier_1 - province_modifier = { - monthly_income = super_poor_building_tax_tier_1 - defender_holding_advantage = normal_building_advantage_tier_1 - stationed_skirmishers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_1 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_1 - stationed_archers_damage_mult = low_maa_damage_tier_1 - stationed_archers_toughness_mult = normal_maa_toughness_tier_1 - hostile_raid_time = 0.1 - travel_danger = -1 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.01 - archers_maintenance_mult = -0.01 - skirmishers_recruitment_cost_mult = -0.01 - archers_recruitment_cost_mult = -0.01 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_1 - levy_size = 0.01 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_02 - - type_icon = "icon_building_outposts.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_skirmisher_modifier = yes - ai_archer_modifier = yes - ai_stacking_bonus_warrior_lodges_modifier = yes - ai_stacking_bonus_military_camps_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_cavalry_modifier = yes - modifier = { - factor = 0 - building_camel_farms_requirement_terrain = yes - NOT = { - has_building_or_higher = camel_farms_01 - } - } - modifier = { - factor = 0 - building_horse_pastures_requirement_terrain = yes - NOT = { - has_building_or_higher = horse_pastures_01 - } - } - modifier = { - factor = 0 - building_hillside_grazing_requirement_terrain = yes - NOT = { - has_building_or_higher = hillside_grazing_01 - } - } - modifier = { - factor = 0 - building_warrior_lodges_requirement_terrain = yes - NOT = { - has_building_or_higher = warrior_lodges_01 - } - } - modifier = { # It now has a small economic component; build it last - add = -3 - has_building_or_higher = city_01 - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -outposts_02 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - scope:holder.culture = { - has_innovation = innovation_barracks - } - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_2_cost - - levy = poor_building_levy_tier_2 - province_modifier = { - monthly_income = super_poor_building_tax_tier_2 - defender_holding_advantage = normal_building_advantage_tier_2 - stationed_skirmishers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_2 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_2 - stationed_archers_damage_mult = low_maa_damage_tier_2 - stationed_archers_toughness_mult = normal_maa_toughness_tier_2 - hostile_raid_time = 0.2 - travel_danger = -2 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.02 - archers_maintenance_mult = -0.02 - skirmishers_recruitment_cost_mult = -0.02 - archers_recruitment_cost_mult = -0.02 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_2 - levy_size = 0.02 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_03 - - ai_value = { - base = 9 - 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 - } - } -} - -outposts_03 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_3_cost - - levy = poor_building_levy_tier_3 - province_modifier = { - monthly_income = super_poor_building_tax_tier_3 - defender_holding_advantage = normal_building_advantage_tier_3 - stationed_skirmishers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_3 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_3 - stationed_archers_damage_mult = low_maa_damage_tier_3 - stationed_archers_toughness_mult = normal_maa_toughness_tier_3 - hostile_raid_time = 0.3 - travel_danger = -3 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.03 - archers_maintenance_mult = -0.03 - skirmishers_recruitment_cost_mult = -0.03 - archers_recruitment_cost_mult = -0.03 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_3 - levy_size = 0.03 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -outposts_04 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_4_cost - - levy = poor_building_levy_tier_4 - province_modifier = { - monthly_income = super_poor_building_tax_tier_4 - defender_holding_advantage = normal_building_advantage_tier_4 - stationed_skirmishers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_4 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_4 - stationed_archers_damage_mult = low_maa_damage_tier_4 - stationed_archers_toughness_mult = normal_maa_toughness_tier_4 - hostile_raid_time = 0.4 - travel_danger = -4 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.04 - archers_maintenance_mult = -0.04 - skirmishers_recruitment_cost_mult = -0.04 - archers_recruitment_cost_mult = -0.04 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_4 - levy_size = 0.04 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -outposts_05 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_5_cost - - levy = poor_building_levy_tier_5 - province_modifier = { - monthly_income = super_poor_building_tax_tier_5 - defender_holding_advantage = normal_building_advantage_tier_5 - stationed_skirmishers_damage_mult = low_maa_damage_tier_5 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_5 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_5 - stationed_archers_damage_mult = low_maa_damage_tier_5 - stationed_archers_toughness_mult = normal_maa_toughness_tier_5 - hostile_raid_time = 0.5 - travel_danger = -5 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - garrison_size = 0.05 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.05 - archers_maintenance_mult = -0.05 - skirmishers_recruitment_cost_mult = -0.05 - archers_recruitment_cost_mult = -0.05 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_5 - levy_size = 0.05 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -outposts_06 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_6_cost - - levy = poor_building_levy_tier_6 - province_modifier = { - monthly_income = super_poor_building_tax_tier_6 - defender_holding_advantage = normal_building_advantage_tier_6 - stationed_skirmishers_damage_mult = low_maa_damage_tier_6 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_6 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_6 - stationed_archers_damage_mult = low_maa_damage_tier_6 - stationed_archers_toughness_mult = normal_maa_toughness_tier_6 - hostile_raid_time = 0.6 - travel_danger = -6 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - garrison_size = 0.05 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.06 - archers_maintenance_mult = -0.06 - skirmishers_recruitment_cost_mult = -0.06 - archers_recruitment_cost_mult = -0.06 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_6 - levy_size = 0.06 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -outposts_07 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_7_cost - - levy = poor_building_levy_tier_7 - province_modifier = { - monthly_income = super_poor_building_tax_tier_7 - defender_holding_advantage = normal_building_advantage_tier_7 - stationed_skirmishers_damage_mult = low_maa_damage_tier_7 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_7 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_7 - stationed_archers_damage_mult = low_maa_damage_tier_7 - stationed_archers_toughness_mult = normal_maa_toughness_tier_7 - hostile_raid_time = 0.7 - travel_danger = -7 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - garrison_size = 0.05 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.07 - archers_maintenance_mult = -0.07 - skirmishers_recruitment_cost_mult = -0.07 - archers_recruitment_cost_mult = -0.07 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_7 - levy_size = 0.07 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = outposts_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -outposts_08 = { - construction_time = quick_construction_time - effect_desc = outposts_desc - - can_construct_potential = { - building_outposts_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = cheap_building_tier_8_cost - - levy = poor_building_levy_tier_8 - province_modifier = { - monthly_income = super_poor_building_tax_tier_8 - defender_holding_advantage = normal_building_advantage_tier_8 - stationed_skirmishers_damage_mult = low_maa_damage_tier_8 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_8 - stationed_skirmishers_screen_mult = normal_maa_screen_tier_8 - stationed_archers_damage_mult = low_maa_damage_tier_8 - stationed_archers_toughness_mult = normal_maa_toughness_tier_8 - hostile_raid_time = 0.8 - travel_danger = -8 - } - county_modifier = { - monthly_county_control_growth_factor = 0.15 - monthly_county_control_growth_add = 0.1 - garrison_size = 0.05 - } - character_culture_modifier = { - parameter = outposts_building_bonuses - skirmishers_maintenance_mult = -0.08 - archers_maintenance_mult = -0.08 - skirmishers_recruitment_cost_mult = -0.08 - archers_recruitment_cost_mult = -0.08 - } - province_culture_modifier = { - parameter = outposts_building_bonuses - monthly_income = super_poor_building_tax_tier_8 - levy_size = 0.08 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -### barracks - -barracks_01 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - #higher innovation req? - } - - cost_gold = normal_building_tier_1_cost - - levy = normal_building_levy_tier_1 - - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_1 - stationed_pikemen_damage_mult = high_maa_damage_tier_1 - travel_danger = -1 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.1 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.01 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.20 - stationed_pikemen_damage_mult = -0.20 - stationed_maa_damage_mult = low_maa_damage_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_02 - - type_icon = "icon_building_barracks.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - ai_heavy_infantry_modifier = yes - ai_pikemen_modifier = yes - modifier = { - add = non_stationed_maa_bonus - has_stationed_regiment = yes - NOR = { - has_stationed_regiment_of_base_type = pikemen - has_stationed_regiment_of_base_type = heavy_infantry - } - } - modifier = { - add = -9 - has_building_or_higher = city_01 - } - modifier = { - add = -10 - scope:holder = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - } - modifier = { - add = 5 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_02 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - levy = normal_building_levy_tier_2 - - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_2 - stationed_pikemen_damage_mult = high_maa_damage_tier_2 - travel_danger = -2 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.2 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.01 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.30 - stationed_pikemen_damage_mult = -0.30 - stationed_maa_damage_mult = low_maa_damage_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_03 - - ai_value = { - base = 9 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 4 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - modifier = { # Fill all building slots before going for upgrades - factor = 0 - free_building_slots > 0 - } - } -} - -barracks_03 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - levy = normal_building_levy_tier_3 - - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_3 - stationed_pikemen_damage_mult = high_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_1 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_1 - travel_danger = -3 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.3 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.02 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.40 - stationed_pikemen_damage_mult = -0.40 - stationed_heavy_infantry_toughness_mult = -0.20 - stationed_pikemen_toughness_mult = -0.20 - stationed_maa_damage_mult = low_maa_damage_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 3 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_04 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - levy = normal_building_levy_tier_4 - - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_1 - } - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_4 - stationed_pikemen_damage_mult = high_maa_damage_tier_4 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_2 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_2 - travel_danger = -4 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.4 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.02 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.50 - stationed_pikemen_damage_mult = -0.50 - stationed_heavy_infantry_toughness_mult = -0.30 - stationed_pikemen_toughness_mult = -0.30 - stationed_maa_damage_mult = low_maa_damage_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 3 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_05 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - levy = normal_building_levy_tier_5 - - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_2 - levy_size = 0.01 - garrison_size = 0.01 - } - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_5 - stationed_pikemen_damage_mult = high_maa_damage_tier_5 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_3 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_3 - travel_danger = -5 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.5 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.03 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.60 - stationed_pikemen_damage_mult = -0.60 - stationed_heavy_infantry_toughness_mult = -0.40 - stationed_pikemen_toughness_mult = -0.40 - stationed_maa_damage_mult = low_maa_damage_tier_5 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 3 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_06 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - levy = normal_building_levy_tier_6 - - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_3 - levy_size = 0.02 - garrison_size = 0.02 - } - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_6 - stationed_pikemen_damage_mult = high_maa_damage_tier_6 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_4 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_4 - travel_danger = -6 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.6 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.03 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.70 - stationed_pikemen_damage_mult = -0.70 - stationed_heavy_infantry_toughness_mult = -0.50 - stationed_pikemen_toughness_mult = -0.50 - stationed_maa_damage_mult = low_maa_damage_tier_6 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 2 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_07 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - levy = normal_building_levy_tier_7 - - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_4 - levy_size = 0.03 - garrison_size = 0.03 - } - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_7 - stationed_pikemen_damage_mult = high_maa_damage_tier_7 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_5 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_5 - travel_danger = -7 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.7 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.04 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.80 - stationed_pikemen_damage_mult = -0.80 - stationed_heavy_infantry_toughness_mult = -0.60 - stationed_pikemen_toughness_mult = -0.60 - stationed_maa_damage_mult = low_maa_damage_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = barracks_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 2 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -barracks_08 = { - construction_time = standard_construction_time - effect_desc = tournament_cost_effect_desc - - can_construct_potential = { - building_barracks_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_barracks - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_barracks - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - levy = normal_building_levy_tier_8 - - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_5 - levy_size = 0.04 - garrison_size = 0.04 - } - province_modifier = { - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_8 - stationed_pikemen_damage_mult = high_maa_damage_tier_8 - stationed_heavy_infantry_toughness_mult = high_maa_toughness_tier_6 - stationed_pikemen_toughness_mult = high_maa_toughness_tier_6 - travel_danger = -8 - } - character_culture_modifier = { - parameter = building_barracks_piety_bonuses - monthly_piety = 0.8 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.04 - } - - province_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - stationed_heavy_infantry_damage_mult = -0.90 - stationed_pikemen_damage_mult = -0.90 - stationed_heavy_infantry_toughness_mult = -0.70 - stationed_pikemen_toughness_mult = -0.70 - stationed_maa_damage_mult = low_maa_damage_tier_7 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - modifier = { - add = 2 - scope:holder = { - ai_has_pious_builder_personality = yes - culture = { has_cultural_parameter = building_barracks_piety_bonuses } - } - } - } -} - -### camel_farms - -camel_farms_01 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - levy = small_building_levy_tier_1 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_1 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_1 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_1 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_1 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_1 - monthly_income = super_poor_building_tax_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_02 - - type_icon = "icon_building_camel_farms.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_stables_modifier = yes - ai_stacking_bonus_horse_pastures_modifier = yes - ai_stacking_bonus_hillside_grazing_modifier = yes - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { # It now has a small economic component; build it last - add = -3 - has_building_or_higher = city_01 - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -camel_farms_02 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - - cost_gold = normal_building_tier_2_cost - - levy = small_building_levy_tier_2 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_2 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_2 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_2 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_2 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_2 - monthly_income = super_poor_building_tax_tier_2 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_03 - - ai_value = { - base = 9 - 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 - } - } -} - -camel_farms_03 = { - construction_time = standard_construction_time - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - levy = small_building_levy_tier_3 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_3 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_3 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_3 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_1 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_1 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_3 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_3 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_1 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_1 - monthly_income = super_poor_building_tax_tier_3 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -camel_farms_04 = { - construction_time = standard_construction_time - effect_desc = camel_farms_effect_desc - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 02 } - scope:holder.culture = { - has_innovation = innovation_burhs - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - levy = small_building_levy_tier_4 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_4 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_4 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_4 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_2 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_2 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_4 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_4 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_2 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_2 - monthly_income = super_poor_building_tax_tier_4 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -camel_farms_05 = { - construction_time = standard_construction_time - effect_desc = camel_farms_effect_desc - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - levy = small_building_levy_tier_5 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_5 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_5 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_5 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_3 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_3 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_5 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_5 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_3 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_3 - monthly_income = super_poor_building_tax_tier_5 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -camel_farms_06 = { - construction_time = standard_construction_time - effect_desc = camel_farms_effect_desc - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 03 } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - levy = small_building_levy_tier_6 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_6 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_6 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_6 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_4 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_4 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_6 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_6 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_4 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_4 - monthly_income = super_poor_building_tax_tier_6 - hostile_raid_time = 0.2 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -camel_farms_07 = { - construction_time = standard_construction_time - effect_desc = camel_farms_effect_desc - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - levy = small_building_levy_tier_7 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_7 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_7 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_7 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_5 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_5 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_7 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_7 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_5 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_5 - monthly_income = super_poor_building_tax_tier_7 - hostile_raid_time = 0.2 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = camel_farms_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -camel_farms_08 = { - construction_time = standard_construction_time - effect_desc = camel_farms_effect_desc - - can_construct_potential = { - building_camel_farms_requirement_terrain = yes - } - - can_construct = { - building_requirement_castle_city_church = { LEVEL = 04 } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - levy = small_building_levy_tier_8 - character_modifier = { - knight_effectiveness_mult = high_knight_effectiveness_mult_tier_8 - } - - province_modifier = { - stationed_camel_cavalry_damage_mult = high_maa_damage_tier_8 - stationed_camel_cavalry_pursuit_mult = normal_maa_pursuit_tier_8 - stationed_camel_cavalry_toughness_mult = high_maa_toughness_tier_6 - stationed_camel_cavalry_screen_mult = normal_maa_screen_tier_6 - stationed_light_cavalry_damage_mult = normal_maa_damage_tier_8 - stationed_light_cavalry_pursuit_mult = low_maa_pursuit_tier_8 - stationed_light_cavalry_toughness_mult = low_maa_toughness_tier_6 - stationed_light_cavalry_screen_mult = low_maa_screen_tier_6 - monthly_income = super_poor_building_tax_tier_8 - hostile_raid_time = 0.2 - } - - county_modifier = { - supply_limit = 200 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - type_icon = "icon_building_camel_farms.dds" - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - - -### stables - -stables_01 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - levy = normal_building_levy_tier_1 - - character_modifier = { - movement_speed = normal_movement_speed_tier_1 - character_travel_speed_mult = normal_movement_speed_tier_1 - } - - province_modifier = { - stationed_light_cavalry_damage_mult = high_maa_damage_tier_1 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_1 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_02 - - type_icon = "icon_building_stables.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_camel_farms_modifier = yes - ai_stacking_bonus_horse_pastures_modifier = yes - ai_stacking_bonus_hillside_grazing_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - ai_light_cavalry_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_compensate_light_cavalry_modifier = yes # Specifically for buildings that boosts HC and LC - ai_compensate_heavy_cavalry_modifier = yes # Specifically for buildings that boosts HC and LC - modifier = { - add = non_stationed_maa_bonus - has_stationed_regiment = yes - NOR = { - has_stationed_regiment_of_base_type = light_cavalry - has_stationed_regiment_of_base_type = heavy_cavalry - } - } - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 0 - building_hillside_grazing_requirement_terrain = yes - NOT = { - has_building_or_higher = hillside_grazing_01 - } - } - modifier = { - factor = 0 - building_warrior_lodges_requirement_terrain = yes - NOT = { - has_building_or_higher = warrior_lodges_01 - } - } - modifier = { - add = -9 - has_building_or_higher = city_01 - } - modifier = { - add = -3 - OR = { - exists = barony.lessee - scope:holder = { - highest_held_title_tier <= tier_barony - } - } - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -stables_02 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - } - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - levy = normal_building_levy_tier_2 - - character_modifier = { - movement_speed = normal_movement_speed_tier_2 - character_travel_speed_mult = normal_movement_speed_tier_2 - } - - province_modifier = { - stationed_light_cavalry_damage_mult = high_maa_damage_tier_2 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_2 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_03 - - ai_value = { - base = 9 - 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 - } - } -} - -stables_03 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - levy = normal_building_levy_tier_3 - - character_modifier = { - movement_speed = normal_movement_speed_tier_3 - character_travel_speed_mult = normal_movement_speed_tier_3 - } - - province_modifier = { - stationed_light_cavalry_damage_mult = high_maa_damage_tier_3 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_3 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_3 - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_1 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -stables_04 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - levy = normal_building_levy_tier_4 - - character_modifier = { - movement_speed = normal_movement_speed_tier_4 - character_travel_speed_mult = normal_movement_speed_tier_4 - } - - province_modifier = { - stationed_light_cavalry_damage_mult = high_maa_damage_tier_4 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_4 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_4 - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_2 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -stables_05 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - levy = normal_building_levy_tier_5 - - character_modifier = { - movement_speed = normal_movement_speed_tier_5 - character_travel_speed_mult = normal_movement_speed_tier_5 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_3 - stationed_light_cavalry_damage_mult = high_maa_damage_tier_5 - stationed_light_cavalry_screen_mult = normal_maa_screen_tier_1 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_5 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_3 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_5 - stationed_heavy_cavalry_screen_mult = normal_maa_screen_tier_1 - stationed_heavy_cavalry_pursuit_mult = normal_maa_pursuit_tier_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -stables_06 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - levy = normal_building_levy_tier_6 - - character_modifier = { - movement_speed = normal_movement_speed_tier_6 - character_travel_speed_mult = normal_movement_speed_tier_6 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_4 - stationed_light_cavalry_damage_mult = high_maa_damage_tier_6 - stationed_light_cavalry_screen_mult = normal_maa_screen_tier_2 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_6 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_4 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_6 - stationed_heavy_cavalry_screen_mult = normal_maa_screen_tier_2 - stationed_heavy_cavalry_pursuit_mult = normal_maa_pursuit_tier_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -stables_07 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - levy = normal_building_levy_tier_7 - - character_modifier = { - movement_speed = normal_movement_speed_tier_7 - character_travel_speed_mult = normal_movement_speed_tier_7 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_5 - stationed_light_cavalry_damage_mult = high_maa_damage_tier_7 - stationed_light_cavalry_screen_mult = normal_maa_screen_tier_3 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_7 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_5 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_7 - stationed_heavy_cavalry_screen_mult = normal_maa_screen_tier_3 - stationed_heavy_cavalry_pursuit_mult = normal_maa_pursuit_tier_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = stables_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -stables_08 = { - construction_time = quick_construction_time - effect_desc = stables_effect_desc - - can_construct_potential = { - building_stables_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_stables - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_stables - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - levy = normal_building_levy_tier_8 - - character_modifier = { - movement_speed = normal_movement_speed_tier_8 - character_travel_speed_mult = normal_movement_speed_tier_8 - } - - province_modifier = { - stationed_light_cavalry_toughness_mult = high_maa_toughness_tier_6 - stationed_light_cavalry_damage_mult = high_maa_damage_tier_8 - stationed_light_cavalry_screen_mult = normal_maa_screen_tier_4 - stationed_light_cavalry_pursuit_mult = normal_maa_pursuit_tier_8 - stationed_heavy_cavalry_toughness_mult = high_maa_toughness_tier_6 - stationed_heavy_cavalry_damage_mult = high_maa_damage_tier_8 - stationed_heavy_cavalry_screen_mult = normal_maa_screen_tier_4 - stationed_heavy_cavalry_pursuit_mult = normal_maa_pursuit_tier_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - - } -} - - -### smiths - -smiths_01 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_duel_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_smiths_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_1_cost - - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_1 - tax_mult = low_building_tax_mult_tier_1 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_1 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_1 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_02 - - type_icon = "icon_building_smiths.dds" - - ai_value = { - base = 10 - ai_tier_1_building_modifier = yes - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - ai_stacking_bonus_warrior_lodges_modifier = yes - ai_stacking_bonus_wind_furnaces_modifier = yes - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - ai_heavy_infantry_modifier = yes - ai_pikemen_modifier = yes - modifier = { - add = non_stationed_maa_bonus - has_stationed_regiment = yes - NOR = { - has_stationed_regiment_of_base_type = pikemen - has_stationed_regiment_of_base_type = heavy_infantry - } - } - modifier = { - factor = 0 - building_regimental_grounds_requirement_terrain = yes - NOT = { - has_building_or_higher = regimental_grounds_01 - } - } - modifier = { - factor = 0 - building_farm_estates_requirement_terrain = yes - NOT = { - has_building_or_higher = farm_estates_01 - } - } - modifier = { - factor = 0 - building_orchards_requirement_terrain = yes - NOT = { - has_building_or_higher = orchards_01 - } - } - modifier = { - factor = 0 - building_horse_pastures_requirement_terrain = yes - NOT = { - has_building_or_higher = horse_pastures_01 - } - } - modifier = { - factor = 0 - building_hillside_grazing_requirement_terrain = yes - NOT = { - has_building_or_higher = hillside_grazing_01 - } - } - modifier = { - factor = 0 - building_warrior_lodges_requirement_terrain = yes - NOT = { - has_building_or_higher = warrior_lodges_01 - } - } - modifier = { - add = -9 - has_building_or_higher = city_01 - } - modifier = { - add = -3 - OR = { - exists = barony.lessee - scope:holder = { - highest_held_title_tier <= tier_barony - } - } - } - modifier = { - add = -10 - scope:holder = { - OR = { - AND = { - government_has_flag = government_is_theocracy - highest_held_title_tier <= tier_barony - } - is_theocratic_lessee = yes - } - } - } - } -} - -smiths_02 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_duel_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_smiths_requirement_terrain = yes - building_requirement_castle_city_church = { LEVEL = 01 } - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_barracks - } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_2_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_2 - tax_mult = low_building_tax_mult_tier_2 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_2 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_2 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_1 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_03 - - ai_value = { - base = 9 - 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 - } - } -} - -smiths_03 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_duel_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_3_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_3 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - tax_mult = low_building_tax_mult_tier_3 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_3 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_3 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_04 - - ai_value = { - base = 8 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -smiths_04 = { - construction_time = quick_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_duel_cost_discount_effect_toto_desc - } - } - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - building_requirement_castle_city_church = { LEVEL = 01 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_4_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_4 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - tax_mult = low_building_tax_mult_tier_4 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_4 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_4 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_2 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_05 - - ai_value = { - base = 7 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -smiths_05 = { - construction_time = quick_construction_time - effect_desc = smiths_effect_desc - - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - scope:holder.culture = { - has_innovation = innovation_burhs - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_5_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_5 - stationed_maa_toughness_mult = normal_maa_toughness_tier_3 - tax_mult = low_building_tax_mult_tier_5 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_5 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_5 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_06 - - ai_value = { - base = 6 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -smiths_06 = { - construction_time = quick_construction_time - effect_desc = smiths_effect_desc - - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 02 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_6_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_6 - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - tax_mult = low_building_tax_mult_tier_6 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_6 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_6 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_3 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_07 - - ai_value = { - base = 5 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -smiths_07 = { - construction_time = quick_construction_time - effect_desc = smiths_effect_desc - - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_7_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_7 - stationed_maa_toughness_mult = normal_maa_toughness_tier_5 - tax_mult = low_building_tax_mult_tier_7 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_7 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_7 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_7 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - next_building = smiths_08 - - ai_value = { - base = 4 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -smiths_08 = { - construction_time = quick_construction_time - effect_desc = smiths_effect_desc - - can_construct_potential = { - building_smiths_requirement_terrain = yes - } - - can_construct = { - trigger_if = { - limit = { - NOT = { - culture = { - has_cultural_parameter = next_level_smiths - } - } - } - scope:holder.culture = { - has_innovation = innovation_royal_armory - } - building_requirement_castle_city_church = { LEVEL = 04 } - } - trigger_else = { - culture = { - has_cultural_parameter = next_level_smiths - } - scope:holder.culture = { - has_innovation = innovation_castle_baileys - } - building_requirement_castle_city_church = { LEVEL = 03 } - } - } - - can_construct_showing_failures_only = { - building_requirement_tribal = no - } - - cost_gold = normal_building_tier_8_cost - - province_modifier = { - stationed_maa_damage_mult = normal_maa_damage_tier_8 - stationed_maa_toughness_mult = normal_maa_toughness_tier_6 - tax_mult = low_building_tax_mult_tier_8 - } - county_modifier = { - levy_reinforcement_rate = normal_levy_reinforcement_rate_tier_8 - } - character_modifier = { - knight_effectiveness_mult = normal_knight_effectiveness_mult_tier_8 - } - - province_culture_modifier = { - parameter = coking_smith_bonuses - stationed_maa_toughness_mult = normal_maa_toughness_tier_8 - } - county_culture_modifier = { - parameter = coking_smith_bonuses - development_growth = innovation_coking_development_growth_value_4 - } - - on_complete = { - #Mandala Creator Aspect - creator_mandala_built_regular_building_piety_effect = yes - } - - ai_value = { - base = 3 - ai_general_building_modifier = yes - directive_to_build_military_modifier = yes - } -} diff --git a/common/buildings/00_temple_buildings.txt b/common/buildings/00_temple_buildings.txt index ff3664005..8d58578e9 100644 --- a/common/buildings/00_temple_buildings.txt +++ b/common/buildings/00_temple_buildings.txt @@ -734,17 +734,17 @@ temple_01 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = tribals_can_into_temples } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = tribals_can_into_temples } } @@ -754,7 +754,7 @@ temple_01 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = tribals_can_into_temples } } @@ -763,7 +763,7 @@ temple_01 = { building_requirement_tribal_holding_in_county = yes } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = tribals_can_into_temples } } @@ -848,7 +848,7 @@ temple_01 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = renown_from_temple_construction } exists = county.holder.dynasty @@ -857,7 +857,7 @@ temple_01 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = extra_piety_from_temple_construction } } @@ -868,11 +868,11 @@ temple_01 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = more_fervor_on_church_construction } } - county.holder.faith ?= { + county.holder.faith = { change_fervor = { value = notable_fervor_gain desc = fervor_gain_built_temple_holding @@ -880,7 +880,7 @@ temple_01 = { } } else = { - county.holder.faith ?= { + county.holder.faith = { change_fervor = { value = trivial_fervor_gain desc = fervor_gain_built_temple_holding @@ -889,7 +889,7 @@ temple_01 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = prestige_from_temple_construction } } @@ -1777,21 +1777,23 @@ temple_02 = { } can_construct = { trigger_if = { - limit = { exists = scope:holder.culture } - trigger_if = { - limit = { - NOT = { scope:holder.culture ?= { has_cultural_parameter = temple_next_level } } + limit = { + NOT = { + scope:holder.culture = { + has_cultural_parameter = temple_next_level + } } - scope:holder.culture ?= { has_innovation = innovation_manorialism } } - trigger_else = { - scope:holder.culture ?= { - has_cultural_parameter = temple_next_level - has_innovation = innovation_city_planning - } + scope:holder.culture = { + has_innovation = innovation_manorialism + } + } + trigger_else = { + scope:holder.culture = { + has_cultural_parameter = temple_next_level + has_innovation = innovation_city_planning } } - trigger_else = { always = no } } can_construct_showing_failures_only = { NOT = { scope:holder = { has_character_modifier = tgp_rebuilder_modifier } } } cost_gold = main_building_tier_2_cost @@ -1841,7 +1843,7 @@ temple_02 = { on_complete = { if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = renown_from_temple_construction } exists = county.holder.dynasty @@ -1850,11 +1852,11 @@ temple_02 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = more_fervor_on_church_construction } } - county.holder.faith ?= { + county.holder.faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -2634,17 +2636,17 @@ temple_03 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level has_innovation = innovation_manorialism } @@ -2697,7 +2699,7 @@ temple_03 = { on_complete = { if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = renown_from_temple_construction } exists = county.holder.dynasty @@ -2706,11 +2708,11 @@ temple_03 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = more_fervor_on_church_construction } } - county.holder.faith ?= { + county.holder.faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -3487,17 +3489,17 @@ temple_04 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level has_innovation = innovation_windmills } @@ -3549,7 +3551,7 @@ temple_04 = { on_complete = { if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = renown_from_temple_construction } exists = county.holder.dynasty @@ -3558,11 +3560,11 @@ temple_04 = { } if = { limit = { - county.holder.culture ?= { + county.holder.culture = { has_cultural_parameter = more_fervor_on_church_construction } } - county.holder.faith ?= { + county.holder.faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -3740,7 +3742,7 @@ scriptorium_02 = { can_construct_showing_failures_only = { building_requirement_tribal = no - culture ?= { + culture = { has_innovation = innovation_city_planning } } @@ -3795,7 +3797,7 @@ scriptorium_03 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - culture ?= { + culture = { has_innovation = innovation_manorialism } has_dlc_feature = legends @@ -3855,7 +3857,7 @@ scriptorium_04 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - culture ?= { + culture = { has_innovation = innovation_manorialism } has_dlc_feature = legends @@ -3915,7 +3917,7 @@ scriptorium_05 = { has_building_or_higher = temple_03 has_building_or_higher = temple_citadel_03 } - culture ?= { + culture = { has_innovation = innovation_windmills } has_dlc_feature = legends @@ -3975,7 +3977,7 @@ scriptorium_06 = { has_building_or_higher = temple_03 has_building_or_higher = temple_citadel_03 } - culture ?= { + culture = { has_innovation = innovation_windmills } has_dlc_feature = legends @@ -4034,7 +4036,7 @@ scriptorium_07 = { has_building_or_higher = temple_04 has_building_or_higher = temple_citadel_04 } - culture ?= { + culture = { has_innovation = innovation_cranes } has_dlc_feature = legends @@ -4094,7 +4096,7 @@ scriptorium_08 = { has_building_or_higher = temple_04 has_building_or_higher = temple_citadel_04 } - culture ?= { + culture = { has_innovation = innovation_cranes } has_dlc_feature = legends @@ -4153,12 +4155,8 @@ monastic_schools_01 = { can_construct_potential = { trigger_if = { limit = { - exists = scope:holder.rite - trigger_if = { - limit = { exists = scope:holder.rite } - scope:holder.rite ?= { - NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } - } + scope:holder.rite = { + NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } OR = { @@ -4235,7 +4233,7 @@ monastic_schools_02 = { can_construct_potential = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4248,7 +4246,7 @@ monastic_schools_02 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { trigger_if = { limit = { NOT = { has_cultural_parameter = next_level_monasteries } } has_innovation = innovation_city_planning @@ -4311,7 +4309,7 @@ monastic_schools_03 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4323,18 +4321,18 @@ monastic_schools_03 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_manorialism } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_city_planning has_cultural_parameter = next_level_monasteries } @@ -4397,7 +4395,7 @@ monastic_schools_04 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4409,18 +4407,18 @@ monastic_schools_04 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_manorialism } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 02 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_city_planning has_cultural_parameter = next_level_monasteries } @@ -4483,7 +4481,7 @@ monastic_schools_05 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4495,18 +4493,18 @@ monastic_schools_05 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_windmills } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_city_planning has_cultural_parameter = next_level_monasteries } @@ -4569,7 +4567,7 @@ monastic_schools_06 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4581,18 +4579,18 @@ monastic_schools_06 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_windmills } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 03 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_city_planning has_cultural_parameter = next_level_monasteries } @@ -4655,7 +4653,7 @@ monastic_schools_07 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4667,18 +4665,18 @@ monastic_schools_07 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_cranes } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_windmills has_cultural_parameter = next_level_monasteries } @@ -4741,7 +4739,7 @@ monastic_schools_08 = { can_construct = { trigger_if = { limit = { - scope:holder.rite ?= { + scope:holder.rite = { NOT = { rite_has_parameter = monastic_schools_allowed_in_every_holding_type } } } @@ -4753,18 +4751,18 @@ monastic_schools_08 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = next_level_monasteries } } } - culture ?= { + culture = { has_innovation = innovation_cranes } building_requirement_castle_city_church_temple_citadel_tribe = { LEVEL = 04 } } trigger_else = { - culture ?= { + culture = { has_innovation = innovation_windmills has_cultural_parameter = next_level_monasteries } @@ -4830,11 +4828,9 @@ megalith_01 = { has_building_or_higher = temple_01 has_building_or_higher = temple_citadel_01 } - trigger_if = { - limit = { exists = scope:holder.rite } - scope:holder.rite ?= { rite_has_parameter = can_build_megaliths } + scope:holder.rite = { + rite_has_parameter = can_build_megaliths } - trigger_else = { always = no } } can_construct_showing_failures_only = { @@ -4844,11 +4840,7 @@ megalith_01 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - trigger_if = { - limit = { exists = county.rite } - county.rite ?= { rite_has_parameter = can_build_megaliths } - } - trigger_else = { always = no } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4909,7 +4901,7 @@ megalith_02 = { has_building_or_higher = temple_01 has_building_or_higher = temple_citadel_01 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } @@ -4921,7 +4913,7 @@ megalith_02 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -4961,13 +4953,13 @@ megalith_03 = { has_building_or_higher = temple_01 has_building_or_higher = temple_citadel_01 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -4976,7 +4968,7 @@ megalith_03 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5016,13 +5008,13 @@ megalith_04 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5031,7 +5023,7 @@ megalith_04 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5072,13 +5064,13 @@ megalith_05 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5087,7 +5079,7 @@ megalith_05 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5129,13 +5121,13 @@ megalith_06 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5144,7 +5136,7 @@ megalith_06 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5186,13 +5178,13 @@ megalith_07 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5201,7 +5193,7 @@ megalith_07 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5243,13 +5235,13 @@ megalith_08 = { has_building_or_higher = temple_02 has_building_or_higher = temple_citadel_02 } - scope:holder.rite ?= { + scope:holder.rite = { rite_has_parameter = can_build_megaliths } } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5258,7 +5250,7 @@ megalith_08 = { is_enabled = { custom_tooltip = { text = province_is_of_a_megalith_faith_tt - county.rite ?= { rite_has_parameter = can_build_megaliths } + county.rite = { rite_has_parameter = can_build_megaliths } } } @@ -5349,7 +5341,7 @@ breweries_02 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5399,7 +5391,7 @@ breweries_03 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } building_requirement_tribal = no @@ -5440,7 +5432,7 @@ breweries_04 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_manorialism } building_requirement_tribal = no @@ -5481,7 +5473,7 @@ breweries_05 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } building_requirement_tribal = no @@ -5522,7 +5514,7 @@ breweries_06 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } building_requirement_tribal = no @@ -5563,7 +5555,7 @@ breweries_07 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } building_requirement_tribal = no @@ -5604,7 +5596,7 @@ breweries_08 = { } can_construct_showing_failures_only = { - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } building_requirement_tribal = no diff --git a/common/buildings/00_tribal_buildings.txt b/common/buildings/00_tribal_buildings.txt deleted file mode 100644 index cd612391e..000000000 --- a/common/buildings/00_tribal_buildings.txt +++ /dev/null @@ -1,1551 +0,0 @@ -@holding_illustration_arid = "gfx/interface/illustrations/holding_types/tribe_arid.dds" -@holding_illustration_grass = "gfx/interface/illustrations/holding_types/tribe_grass.dds" -@holding_illustration_seasia = "gfx/interface/illustrations/holding_types/tgp_temple_pagan_se_asia.dds" - -# Tribal Hold -tribe_01 = { - construction_time = slow_construction_time - - assets = { - # Emishi/Amuric - Falls back to Japanese or Steppe - asset = { - type = pdxmesh - names = { - "building_emishi_tribal_01_mesh" - } - requires_dlc_flag = north_pacific_attire - graphical_cultures = { emishi_building_gfx amuric_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - ### GENERIC ### - asset = { - type = pdxmesh - names = { - "building_western_tribal_01_a_mesh" - } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_african_tribal_01_a_mesh" - } - graphical_cultures = { african_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_mena_tribal_01_a_mesh" - } - graphical_cultures = { arabic_group_building_gfx berber_group_building_gfx mena_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_steppe_tribal_01_a_mesh" - } - graphical_cultures = { steppe_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_india_tribal_01_a_mesh" - } - graphical_cultures = { indian_building_gfx tibetan_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "fp1_building_norse_tribal_mesh" - } - requires_dlc_flag = the_northern_lords - graphical_cultures = { norse_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - names = { - "tgp_building_se_asia_tribal_01_mesh" - } - graphical_cultures = { southeast_asian_building_gfx } - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - # Western Generic - asset = { - type = pdxmesh - names = { - building_western_tribal_01_a_mesh - } - graphical_cultures = { western_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - } - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - always = no #Tribes are set at game start. - } - - cost_prestige = expensive_building_tier_3_cost - cost_gold = expensive_building_tier_1_cost - next_building = tribe_02 - - levy = normal_building_levy_tier_3 - max_garrison = good_building_max_garrison_tier_1 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_1 - province_modifier = { - fort_level = 1 - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - - province_government_modifier = { - parameter = government_is_tribal_excluding_wanua - monthly_income = poor_building_tax_tier_1 - } - - province_government_modifier = { - parameter = government_is_wanua - monthly_income = poor_building_tax_halved_tier_1 - monthly_barter_goods = 1 - building_slot_add = 2 - } - - province_terrain_modifier = { - parameter = tribal_holding_fort_level_in_jungle_bonus - terrain = jungle - additional_fort_level = 2 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 2 - } - - province_culture_modifier = { - parameter = tribal_holding_stationed_bonus - stationed_maa_damage_mult = normal_maa_damage_tier_1 - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - stationed_maa_damage_mult = normal_maa_damage_tier_1 - } - - character_modifier = { - county_fertility_growth_mult = 0.35 - } - - flag = tribe - - type_icon = "icon_building_longhouses.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - } -} - -tribe_02 = { - construction_time = slow_construction_time - - assets = { - # Emishi/Amuric - Falls back to Japanese or Steppe - asset = { - type = pdxmesh - names = { - "building_emishi_tribal_02_mesh" - } - requires_dlc_flag = north_pacific_attire - graphical_cultures = { emishi_building_gfx amuric_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - ### GENERIC ### - asset = { - type = pdxmesh - names = { - building_western_tribal_01_a_mesh - } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_mena_tribal_01_a_mesh" - } - graphical_cultures = { arabic_group_building_gfx berber_group_building_gfx mena_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_steppe_tribal_01_a_mesh" - } - graphical_cultures = { steppe_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_india_tribal_01_a_mesh" - } - graphical_cultures = { indian_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "building_african_tribal_01_a_mesh" - } - graphical_cultures = { african_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - asset = { - type = pdxmesh - names = { - "fp1_building_norse_tribal_mesh" - } - requires_dlc_flag = the_northern_lords - graphical_cultures = { norse_building_gfx } - illustration = @holding_illustration_grass - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - # TGP Southeast Asia - asset = { - type = pdxmesh - names = { - "tgp_building_se_asia_tribal_01_mesh" - } - graphical_cultures = { southeast_asian_building_gfx } - illustration = @holding_illustration_seasia - soundeffect = { soundeffect = "event:/SFX/Ambience/3DMapEmitters/Holdings/City/tribal_city" soundparameter = { "Tier" = 0 } } - } - } - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - } - can_construct_showing_failures_only = { - OR = { - scope:holder = { - culture ?= { has_innovation = innovation_plenary_assemblies } - } - mpo_permafrost_building_trigger = yes - } - } - - cost_prestige = expensive_building_tier_3_cost - cost_gold = expensive_building_tier_1_cost - - levy = normal_building_levy_tier_5 - max_garrison = good_building_max_garrison_tier_2 - garrison_reinforcement_factor = building_garrison_reinforcement_factor_tier_2 - province_modifier = { - fort_level = 2 - stationed_maa_damage_mult = normal_maa_damage_tier_4 - stationed_maa_toughness_mult = normal_maa_toughness_tier_4 - } - - province_government_modifier = { - parameter = government_is_tribal_excluding_wanua - monthly_income = poor_building_tax_tier_3 - } - - province_government_modifier = { - parameter = government_is_wanua - monthly_income = poor_building_tax_halved_tier_3 - monthly_barter_goods = 2 - building_slot_add = 2 - } - - province_terrain_modifier = { - parameter = tribal_holding_fort_level_in_jungle_bonus - terrain = jungle - additional_fort_level = 4 - } - - province_terrain_modifier = { - parameter = coastal_holdings_give_defensive_bonus - is_coastal = yes - defender_holding_advantage = 3 - } - - province_culture_modifier = { - parameter = tribal_holding_stationed_bonus - stationed_maa_damage_mult = normal_maa_damage_tier_2 - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - stationed_maa_damage_mult = normal_maa_damage_tier_2 - } - - character_modifier = { - county_fertility_growth_mult = 0.35 - } - - flag = tribe - - ai_value = { - base = 1 - } -} - -longhouses_01 = { - construction_time = slow_construction_time - effect_desc = longhouses_effect_desc - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - - cost_prestige = expensive_building_tier_1_cost - cost_gold = tribal_building_tier_1_cost - - levy = normal_building_levy_tier_1 - - character_modifier = { - monthly_prestige = 0.25 - } - county_modifier = { - monthly_county_control_growth_add = 0.2 - } - - next_building = longhouses_02 - - type_icon = "icon_building_longhouses.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -longhouses_02 = { - construction_time = slow_construction_time - effect_desc = longhouses_effect_desc - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - can_construct_showing_failures_only = { - OR = { - mpo_permafrost_building_trigger = yes - scope:holder = { - culture ?= { has_innovation = innovation_barracks } - } - } - } - - cost_prestige = expensive_building_tier_2_cost - cost_gold = tribal_building_tier_2_cost - - levy = normal_building_levy_tier_2 - - character_modifier = { - monthly_prestige = 0.5 - } - county_modifier = { - monthly_county_control_growth_add = 0.4 - } - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -# War Camps - -war_camps_01 = { - construction_time = slow_construction_time - effect_desc = tournament_cost_effect_desc - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - - cost_prestige = expensive_building_tier_1_cost - cost_gold = tribal_building_tier_1_cost - - levy = excellent_building_levy_tier_1 - - character_modifier = { - knight_limit = 1 - knight_effectiveness_mult = 0.1 - } - - province_modifier = { - stationed_skirmishers_damage_mult = high_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = normal_maa_toughness_tier_1 - stationed_archer_cavalry_damage_mult = high_maa_damage_tier_1 - stationed_archer_cavalry_toughness_mult = normal_maa_toughness_tier_1 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.01 - } - - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - stationed_maa_toughness_mult = normal_maa_toughness_tier_1 - } - - next_building = war_camps_02 - - type_icon = "icon_building_warcamps.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -war_camps_02 = { - construction_time = slow_construction_time - effect_desc = tournament_cost_effect_desc - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - can_construct_showing_failures_only = { - OR = { - mpo_permafrost_building_trigger = yes - scope:holder = { - culture ?= { has_innovation = innovation_barracks } - } - } - } - - cost_prestige = expensive_building_tier_2_cost - cost_gold = tribal_building_tier_2_cost - - levy = excellent_building_levy_tier_2 - - character_modifier = { - knight_limit = 2 - knight_effectiveness_mult = 0.2 - } - - province_modifier = { - stationed_skirmishers_damage_mult = high_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = high_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = normal_maa_toughness_tier_2 - stationed_archer_cavalry_damage_mult = high_maa_damage_tier_2 - stationed_archer_cavalry_toughness_mult = normal_maa_toughness_tier_2 - } - - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - stationed_maa_toughness_mult = normal_maa_toughness_tier_2 - } - - county_culture_modifier = { - parameter = strength_in_numbers_maa_limit_bonus - levy_size = 0.02 - } - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -# Palisades - -palisades_01 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - - cost_prestige = expensive_building_tier_1_cost - cost_gold = tribal_building_tier_1_cost - - levy = normal_building_levy_tier_1 - max_garrison = normal_building_max_garrison_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_1 - fort_level = normal_building_fort_level_tier_1 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_1 - stationed_archers_toughness_mult = normal_maa_toughness_tier_1 - stationed_pikemen_damage_mult = high_maa_damage_tier_1 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_1 - } - - - next_building = palisades_02 - - type_icon = "icon_building_palisades.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -palisades_02 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - can_construct_showing_failures_only = { - OR = { - mpo_permafrost_building_trigger = yes - scope:holder = { - culture ?= { has_innovation = innovation_barracks } - } - } - } - - cost_prestige = expensive_building_tier_2_cost - cost_gold = tribal_building_tier_2_cost - - levy = normal_building_levy_tier_2 - max_garrison = normal_building_max_garrison_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - fort_level = normal_building_fort_level_tier_2 - } - - province_modifier = { - stationed_archers_damage_mult = high_maa_damage_tier_2 - stationed_archers_toughness_mult = normal_maa_toughness_tier_2 - stationed_pikemen_damage_mult = high_maa_damage_tier_2 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_2 - } - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -# Market Villages - -market_villages_01 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - - cost_prestige = expensive_building_tier_1_cost - cost_gold = tribal_building_tier_1_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_2 - supply_limit = 500 - } - - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - levy_size = 0.02 - } - - next_building = market_villages_02 - - type_icon = "icon_building_market_villages.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -market_villages_02 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_tribal = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder = { NOT = { government_has_flag = government_is_wanua } } - } - can_construct_showing_failures_only = { - OR = { - mpo_permafrost_building_trigger = yes - scope:holder = { - culture ?= { has_innovation = innovation_barracks } - } - } - } - province_terrain_modifier = { - parameter = coastal_tribe_bonuses - is_coastal = yes - levy_size = 0.03 - } - - cost_prestige = expensive_building_tier_2_cost - cost_gold = tribal_building_tier_2_cost - - province_modifier = { - monthly_income = poor_building_tax_tier_4 - supply_limit = 1000 - } - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -# Wanua buildings - -# Idjang Forts - -idjang_forts_01 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_1_cost - - levy = normal_building_levy_tier_1 - max_garrison = normal_building_max_garrison_tier_1 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_1 - fort_level = normal_building_fort_level_tier_1 - } - - province_modifier = { - monthly_barter_goods = 0.15 - monthly_barter_goods_mult = 0.1 - hostile_raid_time = 0.25 - stationed_archers_toughness_mult = normal_maa_toughness_tier_1 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_1 - } - - next_building = idjang_forts_02 - - type_icon = "icon_structure_idjang_forts.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_fortify_modifier = yes - } -} - -idjang_forts_02 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - levy = normal_building_levy_tier_2 - max_garrison = normal_building_max_garrison_tier_2 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_2 - fort_level = normal_building_fort_level_tier_2 - } - - province_modifier = { - monthly_barter_goods = 0.3 - monthly_barter_goods_mult = 0.2 - hostile_raid_time = 0.5 - stationed_archers_toughness_mult = normal_maa_toughness_tier_2 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_2 - } - - next_building = idjang_forts_03 - - ai_value = { - base = 1 - directive_to_fortify_modifier = yes - } -} - -idjang_forts_03 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_3_cost - - levy = normal_building_levy_tier_3 - max_garrison = normal_building_max_garrison_tier_3 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_3 - fort_level = normal_building_fort_level_tier_3 - } - - province_modifier = { - monthly_barter_goods = 0.4 - monthly_barter_goods_mult = 0.3 - hostile_raid_time = 0.75 - stationed_archers_toughness_mult = normal_maa_toughness_tier_3 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_3 - } - character_government_modifier = { - parameter = government_is_wanua - domain_limit_max = 1 - } - - next_building = idjang_forts_04 - - ai_value = { - base = 1 - directive_to_fortify_modifier = yes - } -} - -idjang_forts_04 = { - construction_time = standard_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_4_cost - - levy = normal_building_levy_tier_4 - max_garrison = normal_building_max_garrison_tier_4 - province_modifier = { - defender_holding_advantage = normal_building_advantage_tier_4 - fort_level = normal_building_fort_level_tier_4 - } - - province_modifier = { - monthly_barter_goods = 0.5 - monthly_barter_goods_mult = 0.4 - hostile_raid_time = 1 - stationed_archers_toughness_mult = normal_maa_toughness_tier_4 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_4 - } - character_government_modifier = { - parameter = government_is_wanua - domain_limit_max = 1 - } - - ai_value = { - base = 1 - directive_to_fortify_modifier = yes - } -} - -# Wantilan - -wantilan_01 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_1_cost - - levy = small_building_levy_tier_1 - - character_modifier = { - monthly_prestige = 0.1 - knight_effectiveness_mult = 0.05 - monthly_barter_goods_mult = 0.02 - } - county_modifier = { - monthly_county_control_growth_add = 0.1 - county_opinion_add = 3 - } - province_modifier = { - monthly_barter_goods = 0.15 - stationed_archers_damage_mult = normal_maa_damage_tier_1 - stationed_archers_toughness_mult = normal_maa_toughness_tier_1 - } - - next_building = wantilan_02 - - type_icon = "icon_structure_wantilan.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -wantilan_02 = { - construction_time = slow_construction_time - effect_desc = longhouses_effect_desc - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - levy = small_building_levy_tier_2 - - character_modifier = { - monthly_prestige = 0.2 - knight_effectiveness_mult = 0.1 - monthly_barter_goods_mult = 0.04 - } - county_modifier = { - monthly_county_control_growth_add = 0.2 - county_opinion_add = 6 - } - province_modifier = { - monthly_barter_goods = 0.3 - stationed_archers_damage_mult = normal_maa_damage_tier_2 - stationed_archers_toughness_mult = normal_maa_toughness_tier_2 - } - - next_building = wantilan_03 - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -wantilan_03 = { - construction_time = slow_construction_time - effect_desc = longhouses_effect_desc - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_3_cost - - levy = small_building_levy_tier_3 - - character_modifier = { - monthly_prestige = 0.3 - knight_effectiveness_mult = 0.15 - monthly_barter_goods_mult = 0.06 - } - character_government_modifier = { - parameter = government_is_wanua - domain_limit_max = 1 - } - county_modifier = { - monthly_county_control_growth_add = 0.3 - county_opinion_add = 9 - } - province_modifier = { - monthly_barter_goods = 0.4 - stationed_archers_damage_mult = normal_maa_damage_tier_3 - stationed_archers_toughness_mult = normal_maa_toughness_tier_3 - } - - next_building = wantilan_04 - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -wantilan_04 = { - construction_time = slow_construction_time - effect_desc = longhouses_effect_desc - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_4_cost - - levy = small_building_levy_tier_4 - - character_modifier = { - monthly_prestige = 0.4 - knight_effectiveness_mult = 0.2 - monthly_barter_goods_mult = 0.08 - } - character_government_modifier = { - parameter = government_is_wanua - domain_limit_max = 1 - } - county_modifier = { - monthly_county_control_growth_add = 0.4 - county_opinion_add = 12 - } - province_modifier = { - monthly_barter_goods = 0.5 - stationed_archers_damage_mult = normal_maa_damage_tier_4 - stationed_archers_toughness_mult = normal_maa_toughness_tier_4 - } - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -# Kora-Kora Yards - -kora_kora_yards_01 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - OR = { - is_coastal = yes - is_riverside_province = yes - } - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_1_cost - - levy = good_building_levy_tier_1 - - character_modifier = { - naval_movement_speed_mult = 0.1 - monthly_barter_goods_mult = 0.01 - raid_speed = 0.1 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - province_modifier = { - monthly_barter_goods = 0.25 - defender_holding_advantage = poor_building_advantage_tier_1 - stationed_skirmishers_damage_mult = high_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = high_maa_toughness_tier_1 - stationed_archers_damage_mult = low_maa_damage_tier_1 - stationed_archers_toughness_mult = low_maa_toughness_tier_1 - } - - next_building = kora_kora_yards_02 - - type_icon = "icon_structure_kora_kora_yard.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_military_modifier = yes - } -} - -kora_kora_yards_02 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - levy = good_building_levy_tier_2 - - character_modifier = { - naval_movement_speed_mult = 0.2 - monthly_barter_goods_mult = 0.02 - raid_speed = 0.2 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - province_modifier = { - monthly_barter_goods = 0.5 - defender_holding_advantage = poor_building_advantage_tier_2 - stationed_skirmishers_damage_mult = high_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = high_maa_toughness_tier_2 - stationed_archers_damage_mult = low_maa_damage_tier_2 - stationed_archers_toughness_mult = low_maa_toughness_tier_2 - } - - next_building = kora_kora_yards_03 - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -kora_kora_yards_03 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_3_cost - - levy = good_building_levy_tier_3 - - character_modifier = { - naval_movement_speed_mult = 0.3 - monthly_barter_goods_mult = 0.03 - raid_speed = 0.3 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - province_modifier = { - monthly_barter_goods = 0.7 - defender_holding_advantage = poor_building_advantage_tier_3 - stationed_skirmishers_damage_mult = high_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = high_maa_toughness_tier_3 - stationed_archers_damage_mult = low_maa_damage_tier_3 - stationed_archers_toughness_mult = low_maa_toughness_tier_3 - } - - next_building = kora_kora_yards_04 - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -kora_kora_yards_04 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_4_cost - - levy = good_building_levy_tier_4 - - character_modifier = { - naval_movement_speed_mult = 0.4 - monthly_barter_goods_mult = 0.04 - raid_speed = 0.4 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - province_modifier = { - monthly_barter_goods = 0.9 - defender_holding_advantage = poor_building_advantage_tier_4 - stationed_skirmishers_damage_mult = high_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = high_maa_toughness_tier_4 - stationed_archers_damage_mult = low_maa_damage_tier_4 - stationed_archers_toughness_mult = low_maa_toughness_tier_4 - } - - ai_value = { - base = 1 - directive_to_build_military_modifier = yes - } -} - -# Water Temples - -water_temples_01 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_1_cost - - levy = poor_building_levy_tier_1 - - character_modifier = { - monthly_piety = 0.15 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - county_modifier = { - supply_limit_mult = 0.2 - } - province_modifier = { - monthly_barter_goods = 0.2 - monthly_income = 0.1 - stationed_pikemen_damage_mult = normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_1 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_1 - } - - next_building = water_temples_02 - - type_icon = "icon_structure_water_temples.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -water_temples_02 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - levy = poor_building_levy_tier_2 - - character_modifier = { - monthly_piety = 0.3 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - county_modifier = { - supply_limit_mult = 0.4 - } - province_modifier = { - monthly_barter_goods = 0.4 - monthly_income = 0.2 - stationed_pikemen_damage_mult = normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_2 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_2 - } - - next_building = water_temples_03 - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -water_temples_03 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_3_cost - - levy = poor_building_levy_tier_3 - - character_modifier = { - monthly_piety = 0.45 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - county_modifier = { - supply_limit_mult = 0.6 - } - province_modifier = { - monthly_barter_goods = 0.55 - monthly_income = 0.3 - stationed_pikemen_damage_mult = normal_maa_damage_tier_3 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_3 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_3 - } - - next_building = water_temples_04 - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -water_temples_04 = { - construction_time = slow_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_4_cost - - levy = poor_building_levy_tier_4 - - character_modifier = { - monthly_piety = 0.6 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - county_modifier = { - supply_limit_mult = 0.8 - } - province_modifier = { - monthly_barter_goods = 0.7 - monthly_income = 0.4 - stationed_pikemen_damage_mult = normal_maa_damage_tier_4 - stationed_pikemen_toughness_mult = normal_maa_toughness_tier_4 - stationed_skirmishers_damage_mult = normal_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = normal_maa_toughness_tier_4 - } - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -# Stilted Granaries - -stilted_granaries_01 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_1_cost - - character_modifier = { - supply_capacity_mult = 0.1 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - county_modifier = { - epidemic_resistance = 5 - } - - province_modifier = { - monthly_barter_goods = 0.25 - monthly_income = 0.1 - supply_limit = 250 - levy_size = 0.1 - stationed_skirmishers_damage_mult = low_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_1 - } - - next_building = stilted_granaries_02 - - type_icon = "icon_structure_stilted_granaries.dds" - - ai_value = { - base = 1 - ai_tier_1_building_modifier = yes - directive_to_build_economy_modifier = yes - } -} - -stilted_granaries_02 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - character_modifier = { - supply_capacity_mult = 0.2 - } - - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 1 - } - - county_modifier = { - epidemic_resistance = 10 - } - - province_modifier = { - monthly_barter_goods = 0.5 - monthly_income = 0.2 - supply_limit = 500 - levy_size = 0.2 - stationed_skirmishers_damage_mult = low_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_2 - } - - next_building = stilted_granaries_03 - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -stilted_granaries_03 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_2_cost - - character_modifier = { - supply_capacity_mult = 0.3 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - - county_modifier = { - epidemic_resistance = 15 - } - - province_modifier = { - monthly_barter_goods = 0.7 - monthly_income = 0.3 - supply_limit = 750 - levy_size = 0.3 - stationed_skirmishers_damage_mult = low_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_3 - } - - next_building = stilted_granaries_04 - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} - -stilted_granaries_04 = { - construction_time = quick_construction_time - - is_enabled = { - building_requirement_wanua = yes - } - can_construct_potential = { - has_building_or_higher = tribe_01 - scope:holder ?= { - government_has_flag = government_is_wanua - } - } - - cost_gold = tribal_building_tier_4_cost - - character_modifier = { - supply_capacity_mult = 0.4 - } - character_government_modifier = { - parameter = government_is_wanua - vassal_limit_max = 2 - } - - county_modifier = { - epidemic_resistance = 20 - } - - province_modifier = { - monthly_barter_goods = 0.9 - monthly_income = 0.4 - supply_limit = 1000 - levy_size = 0.4 - stationed_skirmishers_damage_mult = low_maa_damage_tier_4 - stationed_skirmishers_toughness_mult = low_maa_toughness_tier_4 - } - - ai_value = { - base = 1 - directive_to_build_economy_modifier = yes - } -} diff --git a/common/buildings/temple_citadel_buildings.txt b/common/buildings/temple_citadel_buildings.txt index bb6ece192..1887bc1ee 100644 --- a/common/buildings/temple_citadel_buildings.txt +++ b/common/buildings/temple_citadel_buildings.txt @@ -632,7 +632,7 @@ temple_citadel_01 = { scope:holder = { OR = { government_has_flag = government_is_mandala - faith ?= { has_doctrine_parameter = NEOW_can_build_citadels } + faith = { has_doctrine_parameter = NEOW_can_build_citadels } } } } @@ -641,7 +641,7 @@ temple_citadel_01 = { scope:holder = { OR = { government_has_flag = government_is_mandala - faith ?= { has_doctrine_parameter = NEOW_can_build_citadels } + faith = { has_doctrine_parameter = NEOW_can_build_citadels } } } } @@ -723,11 +723,6 @@ temple_citadel_01 = { defender_holding_advantage = 2 } - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -1 - } flag = temple_citadel type_icon = "tgp_icon_building_mandala_capital_tier_02.dds" @@ -736,7 +731,7 @@ temple_citadel_01 = { county.holder = { if = { limit = { - culture ?= { + culture = { has_cultural_parameter = renown_from_temple_construction } exists = dynasty @@ -746,7 +741,7 @@ temple_citadel_01 = { if = { limit = { - culture ?= { + culture = { has_cultural_parameter = extra_piety_from_temple_construction } } @@ -761,9 +756,9 @@ temple_citadel_01 = { if = { limit = { - culture ?= { has_cultural_parameter = more_fervor_on_church_construction } + culture = { has_cultural_parameter = more_fervor_on_church_construction } } - faith ?= { + faith = { change_fervor = { value = notable_fervor_gain desc = fervor_gain_built_temple_holding @@ -771,7 +766,7 @@ temple_citadel_01 = { } } else = { - faith ?= { + faith = { change_fervor = { value = trivial_fervor_gain desc = fervor_gain_built_temple_holding @@ -781,7 +776,7 @@ temple_citadel_01 = { if = { limit = { - culture ?= { has_cultural_parameter = prestige_from_temple_construction } + culture = { has_cultural_parameter = prestige_from_temple_construction } } add_prestige = massive_prestige_gain } @@ -870,7 +865,7 @@ temple_citadel_01 = { county = { if = { limit = { - holder.culture ?= { has_cultural_parameter = warmonger_city_founders } + holder.culture = { has_cultural_parameter = warmonger_city_founders } } change_county_control = 100 } @@ -934,7 +929,7 @@ temple_citadel_01 = { scope:holder = { NOR = { government_has_flag = government_is_mandala - faith ?= { has_doctrine_parameter = NEOW_can_build_citadels } + faith = { has_doctrine_parameter = NEOW_can_build_citadels } } } } @@ -1557,17 +1552,17 @@ temple_citadel_02 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_manorialism } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level has_innovation = innovation_city_planning } @@ -1643,18 +1638,13 @@ temple_citadel_02 = { defender_holding_advantage = 3 } - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -2 - } flag = temple_citadel on_complete = { county.holder = { if = { limit = { - culture ?= { + culture = { has_cultural_parameter = renown_from_temple_construction } exists = dynasty @@ -1663,11 +1653,11 @@ temple_citadel_02 = { } if = { limit = { - culture ?= { + culture = { has_cultural_parameter = more_fervor_on_church_construction } } - faith ?= { + faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -1745,11 +1735,11 @@ temple_citadel_02 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { add = 10 - scope:holder.culture ?= { has_cultural_era_or_later = culture_era_high_medieval } + scope:holder.culture = { has_cultural_era_or_later = culture_era_high_medieval } } modifier = { factor = 3 @@ -2390,17 +2380,17 @@ temple_citadel_03 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level has_innovation = innovation_manorialism } @@ -2476,18 +2466,13 @@ temple_citadel_03 = { defender_holding_advantage = 4 } - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -3 - } flag = temple_citadel on_complete = { county.holder = { if = { limit = { - culture ?= { + culture = { has_cultural_parameter = renown_from_temple_construction } exists = dynasty @@ -2496,11 +2481,11 @@ temple_citadel_03 = { } if = { limit = { - culture ?= { + culture = { has_cultural_parameter = more_fervor_on_church_construction } } - faith ?= { + faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -2563,11 +2548,11 @@ temple_citadel_03 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { add = 10 - scope:holder.culture ?= { has_cultural_era_or_later = culture_era_late_medieval } + scope:holder.culture = { has_cultural_era_or_later = culture_era_late_medieval } } modifier = { factor = 3 @@ -3202,17 +3187,17 @@ temple_citadel_04 = { trigger_if = { limit = { NOT = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_cranes } } trigger_else = { - scope:holder.culture ?= { + scope:holder.culture = { has_cultural_parameter = temple_next_level has_innovation = innovation_windmills } @@ -3287,18 +3272,13 @@ temple_citadel_04 = { defender_holding_advantage = 5 } - - county_culture_modifier = { - parameter = use_farmer_republics - county_fertility_decline_add = -4 - } flag = temple_citadel on_complete = { county.holder = { if = { limit = { - culture ?= { + culture = { has_cultural_parameter = renown_from_temple_construction } exists = dynasty @@ -3307,11 +3287,11 @@ temple_citadel_04 = { } if = { limit = { - culture ?= { + culture = { has_cultural_parameter = more_fervor_on_church_construction } } - faith ?= { + faith = { change_fervor = { value = small_fervor_gain desc = fervor_gain_upgraded_temple_holding_culture_parameter @@ -3375,7 +3355,7 @@ temple_citadel_04 = { ai_general_building_modifier = yes modifier = { add = 1 - scope:holder.culture ?= { has_cultural_parameter = ai_more_likely_to_castle } + scope:holder.culture = { has_cultural_parameter = ai_more_likely_to_castle } } modifier = { factor = 3 @@ -3466,7 +3446,7 @@ citadel_shrine_02 = { can_construct_showing_failures_only = { building_requirement_tribal = no - culture ?= { + culture = { has_innovation = innovation_city_planning } } @@ -3512,7 +3492,7 @@ citadel_shrine_03 = { can_construct = { has_building_or_higher = temple_citadel_02 - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -3562,7 +3542,7 @@ citadel_shrine_04 = { can_construct = { has_building_or_higher = temple_citadel_02 - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -3612,7 +3592,7 @@ citadel_shrine_05 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_windmills } } @@ -3662,7 +3642,7 @@ citadel_shrine_06 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_windmills } } @@ -3712,7 +3692,7 @@ citadel_shrine_07 = { can_construct = { has_building_or_higher = temple_citadel_04 - culture ?= { + culture = { has_innovation = innovation_cranes } } @@ -3762,7 +3742,7 @@ citadel_shrine_08 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_cranes } } @@ -3885,17 +3865,17 @@ sacred_pool_02 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } @@ -3951,20 +3931,20 @@ sacred_pool_03 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_manorialism } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } } @@ -4024,20 +4004,20 @@ sacred_pool_04 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_manorialism } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_city_planning } } @@ -4097,20 +4077,20 @@ sacred_pool_05 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_windmills } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_manorialism } } @@ -4170,20 +4150,20 @@ sacred_pool_06 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_windmills } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_manorialism } } @@ -4243,20 +4223,20 @@ sacred_pool_07 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_cranes } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } } @@ -4316,20 +4296,20 @@ sacred_pool_08 = { trigger_if = { limit = { NOT = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } } } - culture ?= { + culture = { has_innovation = innovation_cranes } } trigger_else = { - culture ?= { + culture = { has_cultural_parameter = may_build_sacred_pools_ahead_of_time } - scope:holder.culture ?= { + scope:holder.culture = { has_innovation = innovation_windmills } } @@ -4457,7 +4437,7 @@ vihara_halls_02 = { can_construct_showing_failures_only = { building_requirement_tribal = no - culture ?= { + culture = { has_innovation = innovation_city_planning } } @@ -4509,7 +4489,7 @@ vihara_halls_03 = { can_construct = { has_building_or_higher = temple_citadel_02 - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -4565,7 +4545,7 @@ vihara_halls_04 = { can_construct = { has_building_or_higher = temple_citadel_02 - culture ?= { + culture = { has_innovation = innovation_manorialism } } @@ -4621,7 +4601,7 @@ vihara_halls_05 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_windmills } } @@ -4677,7 +4657,7 @@ vihara_halls_06 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_windmills } } @@ -4733,7 +4713,7 @@ vihara_halls_07 = { can_construct = { has_building_or_higher = temple_citadel_04 - culture ?= { + culture = { has_innovation = innovation_cranes } } @@ -4789,7 +4769,7 @@ vihara_halls_08 = { can_construct = { has_building_or_higher = temple_citadel_03 - culture ?= { + culture = { has_innovation = innovation_cranes } }