diff --git a/common/buildings/00_duchy_capital_buildings.txt b/common/buildings/00_duchy_capital_buildings.txt index aef77554a..b75aeb22f 100644 --- a/common/buildings/00_duchy_capital_buildings.txt +++ b/common/buildings/00_duchy_capital_buildings.txt @@ -4774,2245 +4774,6 @@ edenic_garden_03 = { ai_popular_opinion_need_modifier = yes ai_duchy_district_building_modifier = { LEVEL = 1 } } -} - -#################### -# Mustering Camp # -#################### - -military_duchy_building_01 = { - construction_time = district_tier_1_construction_time - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - culture = { has_innovation = innovation_burhs } - } - - show_disabled = yes - - cost_gold = district_tier_1_cost - - province_modifier = { - building_slots_for_host_district = 1 - } - duchy_capital_county_modifier = { - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_1 - levy_size = 0.05 - additional_fort_level = 1 - military_district_district_build_speed = -0.05 - walls_district_district_build_speed = -0.05 - border_forts_district_district_build_speed = -0.05 - } - - next_building = military_duchy_building_02 - - type_icon = "district_buildings/mustering_grounds_district.dds" - - flag = duchy_building - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_new_district_modifier = yes - } -} - -military_duchy_building_02 = { - construction_time = district_tier_2_construction_time - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - culture = { has_innovation = innovation_castle_baileys } - holding_district_level_2_trigger = yes - } - - show_disabled = yes - - cost_gold = district_tier_2_cost - - province_modifier = { - building_slots_for_host_district = 2 - } - duchy_capital_county_modifier = { - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_2 - levy_size = 0.1 - additional_fort_level = 2 - military_district_district_build_speed = -0.1 - walls_district_district_build_speed = -0.1 - border_forts_district_district_build_speed = -0.1 - } - - next_building = military_duchy_building_03 - - flag = duchy_building - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_upgrade_modifier = { LEVEL = 2 } - } -} - -military_duchy_building_03 = { - construction_time = district_tier_3_construction_time - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - culture = { has_innovation = innovation_castle_baileys } - holding_district_level_3_trigger = yes - } - - show_disabled = yes - - cost_gold = district_tier_3_cost - - province_modifier = { - building_slots_for_host_district = 3 - } - duchy_capital_county_modifier = { - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_3 - levy_size = 0.15 - additional_fort_level = 3 - military_district_district_build_speed = -0.15 - walls_district_district_build_speed = -0.15 - border_forts_district_district_build_speed = -0.15 - } - - next_building = military_duchy_building_04 - - flag = duchy_building - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_upgrade_modifier = { LEVEL = 3 } - } -} - -military_duchy_building_04 = { - construction_time = district_tier_4_construction_time - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - culture = { has_innovation = innovation_royal_armory } - holding_district_level_4_trigger = yes - } - - show_disabled = yes - - cost_gold = district_tier_4_cost - - province_modifier = { - building_slots_for_host_district = 4 - } - duchy_capital_county_modifier = { - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_4 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_4 - levy_size = 0.2 - additional_fort_level = 4 - military_district_district_build_speed = -0.2 - walls_district_district_build_speed = -0.2 - border_forts_district_district_build_speed = -0.2 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - directive_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_upgrade_modifier = { LEVEL = 4 } - } -} - -################### -# Archery Grounds # -################### - -archery_ranges_01 = { - construction_time = slow_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_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.06 - stationed_maa_maintenance_high_modifier = -0.06 - stationed_archers_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_archers_toughness_mult = duchy_low_maa_toughness_tier_1 - stationed_skirmishers_screen_mult = duchy_high_maa_screen_tier_1 - stationed_skirmishers_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_skirmishers_pursuit_mult = duchy_high_maa_pursuit_tier_1 - stationed_archer_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_archer_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_archer_cavalry_toughness_mult = duchy_low_maa_toughness_tier_1 - stationed_archer_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - } - - next_building = archery_ranges_02 - - type_icon = "regular_buildings/archery_ranges_2.dds" - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = archers - value > 0 - } - number_maa_regiments_of_base_type = { - type = skirmishers - value > 0 - } - number_maa_regiments_of_base_type = { - type = archer_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -archery_ranges_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.07 - stationed_maa_maintenance_high_modifier = -0.07 - stationed_archers_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_archers_toughness_mult = duchy_low_maa_toughness_tier_1 - stationed_skirmishers_screen_mult = duchy_high_maa_screen_tier_1 - stationed_skirmishers_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_skirmishers_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_skirmishers_pursuit_mult = duchy_high_maa_pursuit_tier_1 - stationed_archer_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_archer_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_archer_cavalry_toughness_mult = duchy_low_maa_toughness_tier_1 - stationed_archer_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - } - - next_building = archery_ranges_03 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = archers - value > 0 - } - number_maa_regiments_of_base_type = { - type = skirmishers - value > 0 - } - number_maa_regiments_of_base_type = { - type = archer_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -archery_ranges_03 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.08 - stationed_maa_maintenance_high_modifier = -0.08 - stationed_archers_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_archers_toughness_mult = duchy_low_maa_toughness_tier_2 - stationed_skirmishers_screen_mult = duchy_high_maa_screen_tier_2 - stationed_skirmishers_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_skirmishers_pursuit_mult = duchy_high_maa_pursuit_tier_2 - stationed_archer_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_archer_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_archer_cavalry_toughness_mult = duchy_low_maa_toughness_tier_2 - stationed_archer_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - } - - next_building = archery_ranges_04 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = archers - value > 0 - } - number_maa_regiments_of_base_type = { - type = skirmishers - value > 0 - } - number_maa_regiments_of_base_type = { - type = archer_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -archery_ranges_04 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.09 - stationed_maa_maintenance_high_modifier = -0.09 - stationed_archers_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_archers_toughness_mult = duchy_low_maa_toughness_tier_2 - stationed_skirmishers_screen_mult = duchy_high_maa_screen_tier_2 - stationed_skirmishers_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_skirmishers_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_skirmishers_pursuit_mult = duchy_high_maa_pursuit_tier_2 - stationed_archer_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_archer_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_archer_cavalry_toughness_mult = duchy_low_maa_toughness_tier_2 - stationed_archer_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - } - - next_building = archery_ranges_05 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = archers - value > 0 - } - number_maa_regiments_of_base_type = { - type = skirmishers - value > 0 - } - number_maa_regiments_of_base_type = { - type = archer_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -archery_ranges_05 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_archery_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.1 - stationed_maa_maintenance_high_modifier = -0.1 - stationed_archers_damage_mult = duchy_very_high_maa_damage_tier_3 - stationed_archers_toughness_mult = duchy_low_maa_toughness_tier_3 - stationed_skirmishers_screen_mult = duchy_high_maa_screen_tier_3 - stationed_skirmishers_damage_mult = duchy_very_high_maa_damage_tier_3 - stationed_skirmishers_toughness_mult = duchy_high_maa_toughness_tier_3 - stationed_skirmishers_pursuit_mult = duchy_high_maa_pursuit_tier_3 - stationed_archer_cavalry_screen_mult = duchy_high_maa_screen_tier_3 - stationed_archer_cavalry_damage_mult = duchy_high_maa_damage_tier_3 - stationed_archer_cavalry_toughness_mult = duchy_low_maa_toughness_tier_3 - stationed_archer_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_3 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_armored_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = archers - value > 0 - } - number_maa_regiments_of_base_type = { - type = skirmishers - value > 0 - } - number_maa_regiments_of_base_type = { - type = archer_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -################## -# Crown Smithies # -################## - -blacksmiths_01 = { - construction_time = slow_construction_time - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = blacksmiths_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = blacksmiths_roco_effect_desc - } - desc = blacksmiths_effect_desc - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.06 - stationed_maa_maintenance_high_modifier = -0.06 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - } - character_culture_modifier = { - parameter = better_blacksmith_buildings - prowess = 2 - } - duchy_capital_county_culture_modifier = { - parameter = better_blacksmith_buildings - supply_limit_mult = 0.25 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - duchy_capital_county_culture_modifier = { - parameter = coking_smith_bonuses - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - - next_building = blacksmiths_02 - - type_icon = "duchy_buildings/blacksmiths.dds" - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = pikemen - value > 0 - } - number_maa_regiments_of_base_type = { - type = heavy_infantry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -blacksmiths_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = blacksmiths_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = blacksmiths_roco_effect_desc - } - desc = blacksmiths_effect_desc - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.07 - stationed_maa_maintenance_high_modifier = -0.07 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - } - character_culture_modifier = { - parameter = better_blacksmith_buildings - prowess = 2 - pikemen_toughness_mult = 0.05 - heavy_infantry_toughness_mult = 0.05 - } - duchy_capital_county_culture_modifier = { - parameter = better_blacksmith_buildings - supply_limit_mult = 0.375 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - duchy_capital_county_culture_modifier = { - parameter = coking_smith_bonuses - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_1 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - - next_building = blacksmiths_03 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = pikemen - value > 0 - } - number_maa_regiments_of_base_type = { - type = heavy_infantry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -blacksmiths_03 = { - construction_time = slow_construction_time - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = blacksmiths_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = blacksmiths_roco_effect_desc - } - desc = blacksmiths_effect_desc - } - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.08 - stationed_maa_maintenance_high_modifier = -0.08 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - } - character_culture_modifier = { - parameter = better_blacksmith_buildings - prowess = 3 - pikemen_toughness_mult = 0.05 - heavy_infantry_toughness_mult = 0.05 - } - duchy_capital_county_culture_modifier = { - parameter = better_blacksmith_buildings - supply_limit_mult = 0.5 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - duchy_capital_county_culture_modifier = { - parameter = coking_smith_bonuses - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - - next_building = blacksmiths_04 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = pikemen - value > 0 - } - number_maa_regiments_of_base_type = { - type = heavy_infantry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -blacksmiths_04 = { - construction_time = slow_construction_time - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = blacksmiths_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = blacksmiths_roco_effect_desc - } - desc = blacksmiths_effect_desc - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.09 - stationed_maa_maintenance_high_modifier = -0.09 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - } - character_culture_modifier = { - parameter = better_blacksmith_buildings - prowess = 3 - pikemen_toughness_mult = 0.08 - heavy_infantry_toughness_mult = 0.08 - } - duchy_capital_county_culture_modifier = { - parameter = better_blacksmith_buildings - supply_limit_mult = 0.625 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - duchy_capital_county_culture_modifier = { - parameter = coking_smith_bonuses - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_2 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - - next_building = blacksmiths_05 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = pikemen - value > 0 - } - number_maa_regiments_of_base_type = { - type = heavy_infantry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -blacksmiths_05 = { - construction_time = slow_construction_time - effect_desc = { - desc = unlocks_building_desc - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = blacksmiths_toto_effect_desc - } - triggered_desc = { - trigger = { has_dlc_feature = royal_court } - desc = blacksmiths_roco_effect_desc - } - desc = blacksmiths_effect_desc - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.1 - stationed_maa_maintenance_high_modifier = -0.1 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_pikemen_toughness_mult = duchy_very_high_maa_toughness_tier_3 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = duchy_very_high_maa_toughness_tier_3 - } - character_culture_modifier = { - parameter = better_blacksmith_buildings - prowess = 4 - pikemen_toughness_mult = 0.08 - heavy_infantry_toughness_mult = 0.08 - } - duchy_capital_county_culture_modifier = { - parameter = better_blacksmith_buildings - supply_limit_mult = 0.75 - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_3 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_3 - } - duchy_capital_county_culture_modifier = { - parameter = coking_smith_bonuses - stationed_pikemen_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_pikemen_toughness_mult = duchy_normal_maa_toughness_tier_3 - stationed_heavy_infantry_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_heavy_infantry_toughness_mult = duchy_normal_maa_toughness_tier_3 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - ai_anti_synergy_cavalry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = pikemen - value > 0 - } - number_maa_regiments_of_base_type = { - type = heavy_infantry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -################### -# Jousting Grounds # -################### - -jousting_lists_01 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = unlocks_building_desc - } - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_horse_cost_discount_effect_toto_desc - } - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.06 - stationed_maa_maintenance_high_modifier = -0.06 - stationed_heavy_cavalry_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_heavy_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_heavy_cavalry_screen_mult = duchy_very_high_maa_screen_tier_1 - stationed_heavy_cavalry_pursuit_mult = duchy_very_high_maa_pursuit_tier_1 - stationed_light_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_light_cavalry_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_light_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_light_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - stationed_elephant_cavalry_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_elephant_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_camel_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_camel_cavalry_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_camel_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_camel_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - } - - next_building = jousting_lists_02 - - type_icon = "duchy_buildings/jousting_lists.dds" - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = heavy_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = light_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = elephant_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = camel_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -jousting_lists_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = unlocks_building_desc - } - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_horse_cost_discount_effect_toto_desc - } - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.07 - stationed_maa_maintenance_high_modifier = -0.07 - stationed_heavy_cavalry_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_heavy_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_heavy_cavalry_screen_mult = duchy_very_high_maa_screen_tier_1 - stationed_heavy_cavalry_pursuit_mult = duchy_very_high_maa_pursuit_tier_1 - stationed_light_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_light_cavalry_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_light_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_light_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - stationed_elephant_cavalry_damage_mult = duchy_very_high_maa_damage_tier_1 - stationed_elephant_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_1 - stationed_camel_cavalry_damage_mult = duchy_high_maa_damage_tier_1 - stationed_camel_cavalry_toughness_mult = duchy_high_maa_toughness_tier_1 - stationed_camel_cavalry_screen_mult = duchy_high_maa_screen_tier_1 - stationed_camel_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_1 - } - - next_building = jousting_lists_03 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = heavy_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = light_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = elephant_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = camel_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -jousting_lists_03 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = unlocks_building_desc - } - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_horse_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.08 - stationed_maa_maintenance_high_modifier = -0.08 - stationed_heavy_cavalry_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_heavy_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_heavy_cavalry_screen_mult = duchy_very_high_maa_screen_tier_2 - stationed_heavy_cavalry_pursuit_mult = duchy_very_high_maa_pursuit_tier_2 - stationed_light_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_light_cavalry_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_light_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_light_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - stationed_elephant_cavalry_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_elephant_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_camel_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_camel_cavalry_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_camel_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_camel_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - } - - next_building = jousting_lists_04 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = heavy_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = light_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = elephant_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = camel_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -jousting_lists_04 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = unlocks_building_desc - } - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_horse_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.09 - stationed_maa_maintenance_high_modifier = -0.09 - stationed_heavy_cavalry_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_heavy_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_heavy_cavalry_screen_mult = duchy_very_high_maa_screen_tier_2 - stationed_heavy_cavalry_pursuit_mult = duchy_very_high_maa_pursuit_tier_2 - stationed_light_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_light_cavalry_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_light_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_light_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - stationed_elephant_cavalry_damage_mult = duchy_very_high_maa_damage_tier_2 - stationed_elephant_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_2 - stationed_camel_cavalry_damage_mult = duchy_high_maa_damage_tier_2 - stationed_camel_cavalry_toughness_mult = duchy_high_maa_toughness_tier_2 - stationed_camel_cavalry_screen_mult = duchy_high_maa_screen_tier_2 - stationed_camel_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_2 - } - - next_building = jousting_lists_05 - - flag = duchy_building - - ai_value = { - base = 10 - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = heavy_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = light_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = elephant_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = camel_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -jousting_lists_05 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = unlocks_building_desc - } - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_horse_cost_discount_effect_toto_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.1 - stationed_maa_maintenance_high_modifier = -0.1 - stationed_heavy_cavalry_damage_mult = duchy_very_high_maa_damage_tier_3 - stationed_heavy_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_3 - stationed_heavy_cavalry_screen_mult = duchy_very_high_maa_screen_tier_3 - stationed_heavy_cavalry_pursuit_mult = duchy_very_high_maa_pursuit_tier_3 - stationed_light_cavalry_damage_mult = duchy_high_maa_damage_tier_3 - stationed_light_cavalry_toughness_mult = duchy_high_maa_toughness_tier_3 - stationed_light_cavalry_screen_mult = duchy_high_maa_screen_tier_3 - stationed_light_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_3 - stationed_elephant_cavalry_damage_mult = duchy_very_high_maa_damage_tier_3 - stationed_elephant_cavalry_toughness_mult = duchy_very_high_maa_toughness_tier_3 - stationed_camel_cavalry_damage_mult = duchy_high_maa_damage_tier_3 - stationed_camel_cavalry_toughness_mult = duchy_high_maa_toughness_tier_3 - stationed_camel_cavalry_screen_mult = duchy_high_maa_screen_tier_3 - stationed_camel_cavalry_pursuit_mult = duchy_high_maa_pursuit_tier_3 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - ai_anti_synergy_armored_infantry_modifier = yes - ai_anti_synergy_light_infantry_modifier = yes - modifier = { # Don't build unsuitable MaA-boosting duchy buildings - factor = 0 - scope:holder = { - NOR = { - number_maa_regiments_of_base_type = { - type = heavy_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = light_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = elephant_cavalry - value > 0 - } - number_maa_regiments_of_base_type = { - type = camel_cavalry - value > 0 - } - } - } - } - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -########### -# Marches # -########### - -march_01 = { - construction_time = slow_construction_time - effect_desc = marches_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - duchy_capital_county_modifier = { - supply_limit_mult = 0.25 - levy_reinforcement_rate = 0.25 - garrison_size = 0.25 - hostile_raid_time = 0.25 - defender_holding_advantage = 5 - additional_fort_level = normal_building_fort_level_tier_2 - travel_danger = -10 - mountains_tax_mult = 0.075 - desert_mountains_tax_mult = 0.075 - hills_tax_mult = 0.075 - } - - next_building = march_02 - - type_icon = "duchy_buildings/march.dds" - - flag = duchy_building - flag = raid_protection_1 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -march_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = marches_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - supply_limit_mult = 0.375 - levy_reinforcement_rate = 0.375 - garrison_size = 0.375 - hostile_raid_time = 0.375 - defender_holding_advantage = 7.5 - additional_fort_level = normal_building_fort_level_tier_2 - travel_danger = -15 - mountains_tax_mult = 0.09 - desert_mountains_tax_mult = 0.09 - hills_tax_mult = 0.09 - } - - next_building = march_03 - - flag = duchy_building - flag = raid_protection_1 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -march_03 = { - construction_time = slow_construction_time - effect_desc = marches_effect_2_desc - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - supply_limit_mult = 0.5 - levy_reinforcement_rate = 0.5 - garrison_size = 0.5 - hostile_raid_time = 0.5 - defender_holding_advantage = 10 - additional_fort_level = normal_building_fort_level_tier_4 - travel_danger = -20 - mountains_tax_mult = 0.1 - desert_mountains_tax_mult = 0.1 - hills_tax_mult = 0.1 - } - - next_building = march_04 - - flag = duchy_building - flag = raid_protection_2 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -march_04 = { - construction_time = slow_construction_time - effect_desc = marches_effect_2_desc - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - supply_limit_mult = 0.75 - levy_reinforcement_rate = 0.75 - garrison_size = 0.75 - hostile_raid_time = 0.625 - defender_holding_advantage = 12.5 - additional_fort_level = normal_building_fort_level_tier_4 - travel_danger = -25 - mountains_tax_mult = 0.125 - desert_mountains_tax_mult = 0.125 - hills_tax_mult = 0.125 - } - - next_building = march_05 - - flag = duchy_building - flag = raid_protection_2 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -march_05 = { - construction_time = slow_construction_time - effect_desc = marches_effect_2_desc - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - supply_limit_mult = 1 - levy_reinforcement_rate = 1 - garrison_size = 1 - hostile_raid_time = 0.75 - defender_holding_advantage = 15 - additional_fort_level = normal_building_fort_level_tier_6 - travel_danger = -30 - mountains_tax_mult = 0.15 - desert_mountains_tax_mult = 0.15 - hills_tax_mult = 0.15 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - flag = raid_protection_2 - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -###################### -# Military Academies # -###################### - -military_academy_01 = { - construction_time = slow_construction_time - effect_desc = academies_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - character_modifier = { - knight_limit = 2 - knight_effectiveness_mult = 0.04 - men_at_arms_recruitment_cost = -0.1 - men_at_arms_limit = 1 - } - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.025 - stationed_maa_maintenance_high_modifier = -0.025 - } - - next_building = military_academy_02 - - type_icon = "duchy_buildings/military_academy.dds" - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -military_academy_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = academies_effect_desc - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - character_modifier = { - knight_limit = 3 - knight_effectiveness_mult = 0.08 - men_at_arms_recruitment_cost = -0.15 - men_at_arms_limit = 1 - } - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.03 - stationed_maa_maintenance_high_modifier = -0.03 - } - - next_building = military_academy_03 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -military_academy_03 = { - construction_time = slow_construction_time - effect_desc = academies_effect_desc - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - character_modifier = { - knight_limit = 4 - knight_effectiveness_mult = 0.12 - men_at_arms_recruitment_cost = -0.2 - men_at_arms_limit = 2 - } - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.035 - stationed_maa_maintenance_high_modifier = -0.035 - } - - next_building = military_academy_04 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -military_academy_04 = { - construction_time = slow_construction_time - effect_desc = academies_effect_desc - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - character_modifier = { - knight_limit = 5 - knight_effectiveness_mult = 0.16 - men_at_arms_recruitment_cost = -0.25 - men_at_arms_limit = 2 - } - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.0425 - stationed_maa_maintenance_high_modifier = -0.0425 - } - - next_building = military_academy_05 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -military_academy_05 = { - construction_time = slow_construction_time - effect_desc = academies_effect_desc - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - character_modifier = { - knight_limit = 6 - knight_effectiveness_mult = 0.2 - men_at_arms_recruitment_cost = -0.3 - men_at_arms_limit = 3 - } - duchy_capital_county_modifier = { - stationed_maa_maintenance_low_modifier = -0.05 - stationed_maa_maintenance_high_modifier = -0.05 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -################## -# Royal Armories # -################## - -royal_armory_01 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_melee_cost_discount_effect_toto_desc - } - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - duchy_capital_county_modifier = { - levy_size = 0.2 - stationed_maa_maintenance_low_modifier = -0.025 - stationed_maa_maintenance_high_modifier = -0.025 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - character_culture_modifier = { - parameter = better_armory_buildings - prowess = 2 - knight_effectiveness_mult = 0.03 - } - duchy_capital_county_culture_modifier = { - parameter = better_armory_buildings - build_gold_cost = -0.1 - holding_build_gold_cost = -0.1 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - - next_building = royal_armory_02 - - type_icon = "duchy_buildings/royal_armory.dds" - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -royal_armory_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_melee_cost_discount_effect_toto_desc - } - } - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - levy_size = 0.25 - stationed_maa_maintenance_low_modifier = -0.0375 - stationed_maa_maintenance_high_modifier = -0.0375 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - character_culture_modifier = { - parameter = better_armory_buildings - prowess = 2 - knight_effectiveness_mult = 0.06 - } - duchy_capital_county_culture_modifier = { - parameter = better_armory_buildings - build_gold_cost = -0.125 - holding_build_gold_cost = -0.125 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_1 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_1 - } - - next_building = royal_armory_03 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -royal_armory_03 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_activity_cost_max_discount_effect_desc - } - } - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - duchy_capital_county_modifier = { - levy_size = 0.3 - stationed_maa_maintenance_low_modifier = -0.05 - stationed_maa_maintenance_high_modifier = -0.05 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - character_culture_modifier = { - parameter = better_armory_buildings - prowess = 3 - knight_effectiveness_mult = 0.09 - } - duchy_capital_county_culture_modifier = { - parameter = better_armory_buildings - build_gold_cost = -0.15 - holding_build_gold_cost = -0.15 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - - next_building = royal_armory_04 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -royal_armory_04 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_activity_cost_max_discount_effect_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - levy_size = 0.35 - stationed_maa_maintenance_low_modifier = -0.075 - stationed_maa_maintenance_high_modifier = -0.075 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - character_culture_modifier = { - parameter = better_armory_buildings - prowess = 3 - knight_effectiveness_mult = 0.12 - } - duchy_capital_county_culture_modifier = { - parameter = better_armory_buildings - build_gold_cost = -0.175 - holding_build_gold_cost = -0.175 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_2 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_2 - } - - next_building = royal_armory_05 - - flag = duchy_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -royal_armory_05 = { - construction_time = slow_construction_time - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = tours_and_tournaments } - desc = tournament_activity_cost_max_discount_effect_desc - } - } - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - duchy_capital_county_modifier = { - levy_size = 0.4 - stationed_maa_maintenance_low_modifier = -0.1 - stationed_maa_maintenance_high_modifier = -0.1 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_3 - } - character_culture_modifier = { - parameter = better_armory_buildings - prowess = 4 - knight_effectiveness_mult = 0.15 - } - duchy_capital_county_culture_modifier = { - parameter = better_armory_buildings - build_gold_cost = -0.2 - holding_build_gold_cost = -0.2 - stationed_maa_damage_mult = duchy_normal_maa_damage_tier_3 - stationed_maa_toughness_mult = duchy_normal_maa_toughness_tier_3 - } - - flag = duchy_building - flag = fully_upgraded_duchy_capital_building - - ai_value = { - base = 10 - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 5 } - } -} - -############### -# Siege Works # -############### - -siege_works_01 = { - construction_time = slow_construction_time - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_3_cost - - character_modifier = { - siege_weapon_recruitment_cost_mult = -0.15 - } - duchy_capital_county_modifier = { - stationed_siege_weapon_siege_value_mult = duchy_very_high_maa_siege_value_tier_1 - stationed_siege_weapon_toughness_add = 2.5 - additional_fort_level = normal_building_fort_level_tier_2 - stationed_siege_weapon_maintenance_low_modifier = -0.15 - stationed_siege_weapon_maintenance_high_modifier = -0.15 - } - - next_building = siege_works_02 - - type_icon = "duchy_buildings/siege_works.dds" - - flag = duchy_building - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 1 } - } -} - -siege_works_02 = { - construction_time = slow_construction_time - district_level_requirement = 2 - - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - character_modifier = { - siege_weapon_recruitment_cost_mult = -0.225 - } - duchy_capital_county_modifier = { - stationed_siege_weapon_siege_value_mult = duchy_very_high_maa_siege_value_tier_1 - stationed_siege_weapon_toughness_add = 3.75 - additional_fort_level = normal_building_fort_level_tier_2 - stationed_siege_weapon_maintenance_low_modifier = -0.225 - stationed_siege_weapon_maintenance_high_modifier = -0.225 - } - - next_building = siege_works_03 - - flag = duchy_building - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 2 } - } -} - -siege_works_03 = { - construction_time = slow_construction_time - - district_level_requirement = 3 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_4_cost - - character_modifier = { - siege_weapon_recruitment_cost_mult = -0.3 - } - duchy_capital_county_modifier = { - stationed_siege_weapon_siege_value_mult = duchy_very_high_maa_siege_value_tier_2 - stationed_siege_weapon_toughness_add = 5 - additional_fort_level = normal_building_fort_level_tier_4 - stationed_siege_weapon_maintenance_low_modifier = -0.3 - stationed_siege_weapon_maintenance_high_modifier = -0.3 - } - - next_building = siege_works_04 - - flag = duchy_building - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 3 } - } -} - -siege_works_04 = { - construction_time = slow_construction_time - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - character_modifier = { - siege_weapon_recruitment_cost_mult = -0.375 - } - duchy_capital_county_modifier = { - stationed_siege_weapon_siege_value_mult = duchy_very_high_maa_siege_value_tier_2 - stationed_siege_weapon_toughness_add = 6.25 - additional_fort_level = normal_building_fort_level_tier_4 - stationed_siege_weapon_maintenance_low_modifier = -0.375 - stationed_siege_weapon_maintenance_high_modifier = -0.375 - } - - next_building = siege_works_05 - - flag = duchy_building - - ai_value = { - base = 10 - culture_likely_to_fortify_modifier = yes - ai_capital_preference_modifier = yes - ai_duchy_district_building_modifier = { LEVEL = 4 } - } -} - -siege_works_05 = { - construction_time = slow_construction_time - - district_level_requirement = 4 - can_construct_potential = { - building_requirement_castle_city_church = { LEVEL = 01 } - building_requirement_tribal = no - } - - can_construct_showing_failures_only = { - } - - show_disabled = yes - - cost_gold = expensive_building_tier_5_cost - - character_modifier = { - siege_weapon_recruitment_cost_mult = -0.45 - } - duchy_capital_county_modifier = { - stationed_siege_weapon_siege_value_mult = duchy_very_high_maa_siege_value_tier_3 - stationed_siege_weapon_toughness_add = 7.5 - additional_fort_level = normal_building_fort_level_tier_6 - stationed_siege_weapon_maintenance_low_modifier = -0.45 - stationed_siege_weapon_maintenance_high_modifier = -0.45 - } - is_enabled = { county.rite = { rite_has_parameter = can_build_edenic_garden } county.holder = { has_title = prev.duchy } @@ -7020,10 +4781,6 @@ siege_works_05 = { show_disabled = yes cost_gold = expensive_building_tier_5_cost - - province_modifier = { - monthly_civic_tax = good_building_tax_tier_4 - } character_modifier = { monthly_piety_gain_mult = 0.15 @@ -7033,10 +4790,10 @@ siege_works_05 = { } duchy_capital_county_modifier = { county_opinion_add = 15 - epidemic_resistance = 40 + epidemic_resistance = 35 } + flag = duchy_building - flag = fully_upgraded_duchy_capital_building ai_value = { base = 20 @@ -7063,7 +4820,6 @@ siege_works_05 = { } } - thelemic_pyramids_01 = { construction_time = slow_construction_time cost_gold = expensive_building_tier_3_cost diff --git a/common/buildings/regular_district_buildings/00_military_district_buildings.txt b/common/buildings/regular_district_buildings/00_military_district_buildings.txt index 30a000dc7..9d9d65f86 100644 --- a/common/buildings/regular_district_buildings/00_military_district_buildings.txt +++ b/common/buildings/regular_district_buildings/00_military_district_buildings.txt @@ -93,17 +93,6 @@ mustering_grounds_1 = { market_modifier = { trade_good_iron_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -117,6 +106,15 @@ mustering_grounds_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Conscription Hall @@ -153,17 +151,6 @@ mustering_grounds_2 = { market_modifier = { trade_good_iron_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -179,6 +166,15 @@ mustering_grounds_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Conscription Hall @@ -215,17 +211,6 @@ mustering_grounds_3 = { market_modifier = { trade_good_iron_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -241,6 +226,15 @@ mustering_grounds_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Conscription Hall @@ -277,17 +271,6 @@ mustering_grounds_4 = { market_modifier = { trade_good_iron_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -303,6 +286,15 @@ mustering_grounds_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Conscription Hall @@ -338,17 +330,6 @@ mustering_grounds_5 = { market_modifier = { trade_good_iron_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -364,6 +345,15 @@ mustering_grounds_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Militia Camps @@ -405,17 +395,6 @@ militia_camps_1 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -426,6 +405,15 @@ militia_camps_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Militia Camps @@ -469,17 +457,6 @@ militia_camps_2 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -492,6 +469,15 @@ militia_camps_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Militia Camps @@ -536,17 +522,6 @@ militia_camps_3 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -559,6 +534,15 @@ militia_camps_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Militia Camps @@ -603,17 +587,6 @@ militia_camps_4 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -626,6 +599,15 @@ militia_camps_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Militia Camps @@ -669,17 +651,6 @@ militia_camps_5 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_skirmisher_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -692,6 +663,15 @@ militia_camps_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_skirmisher_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Archery Ranges @@ -730,19 +710,6 @@ archery_ranges_1 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -753,7 +720,6 @@ archery_ranges_1 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -765,7 +731,6 @@ archery_ranges_1 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -777,6 +742,15 @@ archery_ranges_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Archery Ranges @@ -817,19 +791,6 @@ archery_ranges_2 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -842,7 +803,6 @@ archery_ranges_2 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -856,7 +816,6 @@ archery_ranges_2 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -870,6 +829,15 @@ archery_ranges_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Archery Ranges @@ -915,19 +883,6 @@ archery_ranges_3 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -940,7 +895,6 @@ archery_ranges_3 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -954,7 +908,6 @@ archery_ranges_3 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -968,6 +921,15 @@ archery_ranges_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Archery Ranges @@ -1013,19 +975,6 @@ archery_ranges_4 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -1038,7 +987,6 @@ archery_ranges_4 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1052,7 +1000,6 @@ archery_ranges_4 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1066,6 +1013,15 @@ archery_ranges_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Archery Ranges @@ -1110,19 +1066,6 @@ archery_ranges_5 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -1135,7 +1078,6 @@ archery_ranges_5 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1149,7 +1091,6 @@ archery_ranges_5 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1163,6 +1104,15 @@ archery_ranges_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Light Cavalry Stables @@ -1203,19 +1153,6 @@ cavalry_stables_1 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_light_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1226,7 +1163,6 @@ cavalry_stables_1 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1238,7 +1174,6 @@ cavalry_stables_1 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1250,6 +1185,15 @@ cavalry_stables_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_light_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Light Cavalry Stables @@ -1292,19 +1236,6 @@ cavalry_stables_2 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_light_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1317,7 +1248,6 @@ cavalry_stables_2 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1331,7 +1261,6 @@ cavalry_stables_2 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1345,6 +1274,15 @@ cavalry_stables_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_light_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Light Cavalry Stables @@ -1389,19 +1327,6 @@ cavalry_stables_3 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_light_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1414,7 +1339,6 @@ cavalry_stables_3 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1428,7 +1352,6 @@ cavalry_stables_3 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1442,6 +1365,15 @@ cavalry_stables_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_light_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Light Cavalry Stables @@ -1486,19 +1418,6 @@ cavalry_stables_4 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_light_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1511,7 +1430,6 @@ cavalry_stables_4 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1525,7 +1443,6 @@ cavalry_stables_4 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1539,6 +1456,15 @@ cavalry_stables_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_light_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Light Cavalry Stables @@ -1582,19 +1508,6 @@ cavalry_stables_5 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_light_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1607,7 +1520,6 @@ cavalry_stables_5 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1621,7 +1533,6 @@ cavalry_stables_5 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1635,6 +1546,15 @@ cavalry_stables_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_light_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Horse Archer Paddocks @@ -1686,20 +1606,6 @@ horse_archer_paddocks_1 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1710,7 +1616,6 @@ horse_archer_paddocks_1 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1722,7 +1627,6 @@ horse_archer_paddocks_1 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1734,6 +1638,16 @@ horse_archer_paddocks_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } + ai_regular_new_building_modifier = yes + } } # Horse Archer Paddocks @@ -1785,20 +1699,6 @@ horse_archer_paddocks_2 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1811,7 +1711,6 @@ horse_archer_paddocks_2 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1825,7 +1724,6 @@ horse_archer_paddocks_2 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1839,6 +1737,16 @@ horse_archer_paddocks_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Horse Archer Paddocks @@ -1891,20 +1799,6 @@ horse_archer_paddocks_3 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1917,7 +1811,6 @@ horse_archer_paddocks_3 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -1931,7 +1824,6 @@ horse_archer_paddocks_3 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1945,6 +1837,16 @@ horse_archer_paddocks_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Horse Archer Paddocks @@ -1997,20 +1899,6 @@ horse_archer_paddocks_4 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2023,7 +1911,6 @@ horse_archer_paddocks_4 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -2037,7 +1924,6 @@ horse_archer_paddocks_4 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -2051,6 +1937,16 @@ horse_archer_paddocks_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Horse Archer Paddocks @@ -2102,20 +1998,6 @@ horse_archer_paddocks_5 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_archer_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2128,7 +2010,6 @@ horse_archer_paddocks_5 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -2142,7 +2023,6 @@ horse_archer_paddocks_5 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -2156,6 +2036,16 @@ horse_archer_paddocks_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_archer_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = unlock_horse_archer_paddocks_building } + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Armorer @@ -2193,18 +2083,6 @@ armorer_1 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_infantry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2215,7 +2093,6 @@ armorer_1 = { } } } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -2226,6 +2103,15 @@ armorer_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_infantry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Armorer @@ -2262,18 +2148,6 @@ armorer_2 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_infantry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2286,7 +2160,6 @@ armorer_2 = { } } } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -2299,6 +2172,15 @@ armorer_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_infantry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Armorer @@ -2336,18 +2218,6 @@ armorer_3 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_infantry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2360,7 +2230,6 @@ armorer_3 = { } } } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -2373,6 +2242,15 @@ armorer_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_infantry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Armorer @@ -2410,18 +2288,6 @@ armorer_4 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_infantry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2434,7 +2300,6 @@ armorer_4 = { } } } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -2447,6 +2312,15 @@ armorer_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_infantry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Armorer @@ -2483,18 +2357,6 @@ armorer_5 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_category_base_metals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_infantry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2507,7 +2369,6 @@ armorer_5 = { } } } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -2520,6 +2381,15 @@ armorer_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_infantry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Heavy Cavalry Compound @@ -2557,18 +2427,6 @@ heavy_cavalry_compound_1 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_good_horses_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2579,7 +2437,6 @@ heavy_cavalry_compound_1 = { } } } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2590,6 +2447,15 @@ heavy_cavalry_compound_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Heavy Cavalry Compound @@ -2626,18 +2492,6 @@ heavy_cavalry_compound_2 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_good_horses_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2650,7 +2504,6 @@ heavy_cavalry_compound_2 = { } } } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2663,6 +2516,15 @@ heavy_cavalry_compound_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Heavy Cavalry Compound @@ -2700,18 +2562,6 @@ heavy_cavalry_compound_3 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_good_horses_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2724,7 +2574,6 @@ heavy_cavalry_compound_3 = { } } } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2737,6 +2586,15 @@ heavy_cavalry_compound_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Heavy Cavalry Compound @@ -2774,18 +2632,6 @@ heavy_cavalry_compound_4 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_good_horses_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2798,7 +2644,6 @@ heavy_cavalry_compound_4 = { } } } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2811,6 +2656,15 @@ heavy_cavalry_compound_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Heavy Cavalry Compound @@ -2847,18 +2701,6 @@ heavy_cavalry_compound_5 = { trade_good_iron_sell_price_mult = price_basic_building_1 trade_good_horses_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_heavy_cavalry_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -2871,7 +2713,6 @@ heavy_cavalry_compound_5 = { } } } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -2884,6 +2725,15 @@ heavy_cavalry_compound_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_heavy_cavalry_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Military Infirmaries @@ -2919,17 +2769,6 @@ military_infirmaries_1 = { market_modifier = { trade_good_medicaments_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2940,7 +2779,6 @@ military_infirmaries_1 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -2952,6 +2790,14 @@ military_infirmaries_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Military Infirmaries @@ -2986,17 +2832,6 @@ military_infirmaries_2 = { market_modifier = { trade_good_medicaments_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -3009,7 +2844,6 @@ military_infirmaries_2 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -3021,6 +2855,14 @@ military_infirmaries_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Military Infirmaries @@ -3055,17 +2897,6 @@ military_infirmaries_3 = { market_modifier = { trade_good_medicaments_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -3078,7 +2909,6 @@ military_infirmaries_3 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -3090,6 +2920,14 @@ military_infirmaries_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Military Infirmaries @@ -3124,17 +2962,6 @@ military_infirmaries_4 = { market_modifier = { trade_good_medicaments_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -3147,7 +2974,6 @@ military_infirmaries_4 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -3159,6 +2985,14 @@ military_infirmaries_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Military Infirmaries @@ -3192,17 +3026,6 @@ military_infirmaries_5 = { market_modifier = { trade_good_medicaments_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -3215,7 +3038,6 @@ military_infirmaries_5 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -3227,6 +3049,14 @@ military_infirmaries_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Regimental Fort @@ -3258,17 +3088,6 @@ regimental_fort_1 = { trade_category_precious_metals_sell_price_mult = price_basic_building_1 trade_good_stone_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = precious_metals_resource_need @@ -3279,7 +3098,6 @@ regimental_fort_1 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -3290,6 +3108,14 @@ regimental_fort_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Regimental Fort @@ -3320,17 +3146,6 @@ regimental_fort_2 = { trade_category_precious_metals_sell_price_mult = price_basic_building_1 trade_good_stone_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = precious_metals_resource_need @@ -3343,7 +3158,6 @@ regimental_fort_2 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -3356,6 +3170,14 @@ regimental_fort_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Regimental Fort @@ -3386,17 +3208,6 @@ regimental_fort_3 = { trade_category_precious_metals_sell_price_mult = price_basic_building_1 trade_good_stone_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = precious_metals_resource_need @@ -3409,7 +3220,6 @@ regimental_fort_3 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -3422,6 +3232,14 @@ regimental_fort_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Regimental Fort @@ -3452,17 +3270,6 @@ regimental_fort_4 = { trade_category_precious_metals_sell_price_mult = price_basic_building_1 trade_good_stone_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = precious_metals_resource_need @@ -3475,7 +3282,6 @@ regimental_fort_4 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -3488,6 +3294,14 @@ regimental_fort_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Regimental Fort @@ -3517,17 +3331,6 @@ regimental_fort_5 = { trade_category_precious_metals_sell_price_mult = price_basic_building_1 trade_good_stone_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = precious_metals_resource_need @@ -3540,7 +3343,6 @@ regimental_fort_5 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -3553,6 +3355,14 @@ regimental_fort_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Gunsmiths @@ -3585,16 +3395,6 @@ gunsmiths_1 = { market_modifier = { trade_good_copper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -3605,6 +3405,14 @@ gunsmiths_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Gunsmiths @@ -3636,16 +3444,6 @@ gunsmiths_2 = { market_modifier = { trade_good_copper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -3658,6 +3456,14 @@ gunsmiths_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Gunsmiths @@ -3690,16 +3496,6 @@ gunsmiths_3 = { market_modifier = { trade_good_copper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -3712,6 +3508,14 @@ gunsmiths_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Gunsmiths @@ -3744,16 +3548,6 @@ gunsmiths_4 = { market_modifier = { trade_good_copper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -3766,6 +3560,14 @@ gunsmiths_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Gunsmiths @@ -3797,16 +3599,6 @@ gunsmiths_5 = { market_modifier = { trade_good_copper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -3819,6 +3611,14 @@ gunsmiths_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Elephantry Barracks @@ -3850,18 +3650,6 @@ elephantry_barracks_1 = { popular_opinion_add = regular_building_popular_opinion_tier_1 monthly_religious_tax = normal_building_tax_tier_1 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_ivory amount = precious_stones_resource_need @@ -3872,7 +3660,6 @@ elephantry_barracks_1 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -3884,7 +3671,6 @@ elephantry_barracks_1 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -3896,6 +3682,14 @@ elephantry_barracks_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Elephantry Barracks @@ -3925,18 +3719,6 @@ elephantry_barracks_2 = { popular_opinion_add = regular_building_popular_opinion_tier_2 monthly_religious_tax = normal_building_tax_tier_2 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_ivory amount = precious_stones_resource_need @@ -3949,7 +3731,6 @@ elephantry_barracks_2 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -3963,7 +3744,6 @@ elephantry_barracks_2 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -3977,6 +3757,14 @@ elephantry_barracks_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Elephantry Barracks @@ -4007,18 +3795,6 @@ elephantry_barracks_3 = { popular_opinion_add = regular_building_popular_opinion_tier_3 monthly_religious_tax = normal_building_tax_tier_3 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_ivory amount = precious_stones_resource_need @@ -4031,7 +3807,6 @@ elephantry_barracks_3 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4045,7 +3820,6 @@ elephantry_barracks_3 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -4059,6 +3833,14 @@ elephantry_barracks_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Elephantry Barracks @@ -4089,18 +3871,6 @@ elephantry_barracks_4 = { popular_opinion_add = regular_building_popular_opinion_tier_4 monthly_religious_tax = normal_building_tax_tier_4 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_ivory amount = precious_stones_resource_need @@ -4113,7 +3883,6 @@ elephantry_barracks_4 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4127,7 +3896,6 @@ elephantry_barracks_4 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -4141,6 +3909,14 @@ elephantry_barracks_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Elephantry Barracks @@ -4170,18 +3946,6 @@ elephantry_barracks_5 = { popular_opinion_add = regular_building_popular_opinion_tier_5 monthly_religious_tax = normal_building_tax_tier_5 } - - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ivory amount = precious_stones_resource_need @@ -4194,7 +3958,6 @@ elephantry_barracks_5 = { } } } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4208,7 +3971,6 @@ elephantry_barracks_5 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -4222,6 +3984,14 @@ elephantry_barracks_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Camelry Compound @@ -4253,17 +4023,6 @@ camelry_compound_1 = { parameter = desert_travelers_camelry_compound_bonuses monthly_woodland_tax = poor_building_tax_tier_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4275,7 +4034,6 @@ camelry_compound_1 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -4287,6 +4045,14 @@ camelry_compound_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Camelry Compound @@ -4316,17 +4082,6 @@ camelry_compound_2 = { parameter = desert_travelers_camelry_compound_bonuses monthly_woodland_tax = poor_building_tax_tier_2 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4340,7 +4095,6 @@ camelry_compound_2 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -4354,6 +4108,14 @@ camelry_compound_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Camelry Compound @@ -4387,17 +4149,6 @@ camelry_compound_3 = { parameter = desert_travelers_camelry_compound_bonuses monthly_woodland_tax = poor_building_tax_tier_3 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4411,7 +4162,6 @@ camelry_compound_3 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -4425,6 +4175,14 @@ camelry_compound_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Camelry Compound @@ -4458,17 +4216,6 @@ camelry_compound_4 = { parameter = desert_travelers_camelry_compound_bonuses monthly_woodland_tax = poor_building_tax_tier_4 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4482,7 +4229,6 @@ camelry_compound_4 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -4496,6 +4242,14 @@ camelry_compound_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Camelry Compound @@ -4528,17 +4282,6 @@ camelry_compound_5 = { parameter = desert_travelers_camelry_compound_bonuses monthly_woodland_tax = poor_building_tax_tier_5 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4552,7 +4295,6 @@ camelry_compound_5 = { } } } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -4566,6 +4308,14 @@ camelry_compound_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Jungle Fort @@ -4595,18 +4345,6 @@ jungle_fort_1 = { province_modifier = { monthly_woodland_tax = poor_building_tax_tier_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -4617,7 +4355,6 @@ jungle_fort_1 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -4628,6 +4365,15 @@ jungle_fort_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } + ai_regular_new_building_modifier = yes + } } # Jungle Fort @@ -4655,18 +4401,6 @@ jungle_fort_2 = { province_modifier = { monthly_woodland_tax = poor_building_tax_tier_2 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -4679,7 +4413,6 @@ jungle_fort_2 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -4692,6 +4425,15 @@ jungle_fort_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Jungle Fort @@ -4719,18 +4461,6 @@ jungle_fort_3 = { province_modifier = { monthly_woodland_tax = poor_building_tax_tier_3 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -4743,7 +4473,6 @@ jungle_fort_3 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -4756,6 +4485,15 @@ jungle_fort_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Jungle Fort @@ -4783,18 +4521,6 @@ jungle_fort_4 = { province_modifier = { monthly_woodland_tax = poor_building_tax_tier_4 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -4807,7 +4533,6 @@ jungle_fort_4 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -4820,6 +4545,15 @@ jungle_fort_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Jungle Fort @@ -4846,18 +4580,6 @@ jungle_fort_5 = { province_modifier = { monthly_woodland_tax = poor_building_tax_tier_5 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -4870,7 +4592,6 @@ jungle_fort_5 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -4883,6 +4604,15 @@ jungle_fort_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_cultural_unlock_building_modifier = { PARAMETER = jungle_warriors_jungle_fort } + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Workers' Camps @@ -4915,18 +4645,6 @@ workers_camps_1 = { market_modifier = { trade_category_cereals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_cereals amount = basic_resource_need @@ -4938,7 +4656,6 @@ workers_camps_1 = { } } } - trade_good_need = { trade_good_category = trade_category_meat amount = basic_resource_need @@ -4950,6 +4667,15 @@ workers_camps_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Workers' Camps @@ -4982,18 +4708,6 @@ workers_camps_2 = { market_modifier = { trade_category_cereals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_cereals amount = basic_resource_need @@ -5007,7 +4721,6 @@ workers_camps_2 = { } } } - trade_good_need = { trade_good_category = trade_category_meat amount = basic_resource_need @@ -5021,6 +4734,15 @@ workers_camps_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Workers' Camps @@ -5053,18 +4775,6 @@ workers_camps_3 = { market_modifier = { trade_category_cereals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_cereals amount = basic_resource_need @@ -5078,7 +4788,6 @@ workers_camps_3 = { } } } - trade_good_need = { trade_good_category = trade_category_meat amount = basic_resource_need @@ -5092,6 +4801,15 @@ workers_camps_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Workers' Camps @@ -5124,18 +4842,6 @@ workers_camps_4 = { market_modifier = { trade_category_cereals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_cereals amount = basic_resource_need @@ -5149,7 +4855,6 @@ workers_camps_4 = { } } } - trade_good_need = { trade_good_category = trade_category_meat amount = basic_resource_need @@ -5163,6 +4868,15 @@ workers_camps_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Workers' Camps @@ -5194,18 +4908,6 @@ workers_camps_5 = { market_modifier = { trade_category_cereals_sell_price_mult = price_basic_building_1 } - - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_cereals amount = basic_resource_need @@ -5219,7 +4921,6 @@ workers_camps_5 = { } } } - trade_good_need = { trade_good_category = trade_category_meat amount = basic_resource_need @@ -5233,6 +4934,15 @@ workers_camps_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Siegecraft Academies @@ -5265,17 +4975,6 @@ siegecraft_academies_1 = { market_modifier = { trade_category_carpentry_supplies_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -5286,6 +4985,15 @@ siegecraft_academies_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Siegecraft Academies @@ -5317,17 +5025,6 @@ siegecraft_academies_2 = { market_modifier = { trade_category_carpentry_supplies_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -5340,6 +5037,15 @@ siegecraft_academies_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Siegecraft Academies @@ -5371,17 +5077,6 @@ siegecraft_academies_3 = { market_modifier = { trade_category_carpentry_supplies_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -5394,6 +5089,15 @@ siegecraft_academies_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Siegecraft Academies @@ -5425,17 +5129,6 @@ siegecraft_academies_4 = { market_modifier = { trade_category_carpentry_supplies_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -5448,6 +5141,15 @@ siegecraft_academies_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Siegecraft Academies @@ -5478,17 +5180,6 @@ siegecraft_academies_5 = { market_modifier = { trade_category_carpentry_supplies_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -5501,6 +5192,15 @@ siegecraft_academies_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Powder Mills @@ -5535,17 +5235,6 @@ powder_mills_1 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -5558,6 +5247,15 @@ powder_mills_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Powder Mills @@ -5591,17 +5289,6 @@ powder_mills_2 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -5616,6 +5303,15 @@ powder_mills_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Powder Mills @@ -5649,17 +5345,6 @@ powder_mills_3 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -5674,6 +5359,15 @@ powder_mills_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Powder Mills @@ -5707,17 +5401,6 @@ powder_mills_4 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -5732,6 +5415,15 @@ powder_mills_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Powder Mills @@ -5764,17 +5456,6 @@ powder_mills_5 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -5789,6 +5470,15 @@ powder_mills_5 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 5 } + } } # Surveyor's Hall @@ -5821,17 +5511,6 @@ surveyors_hall_1 = { market_modifier = { trade_good_books_paper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -5842,6 +5521,15 @@ surveyors_hall_1 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_new_building_modifier = yes + } } # Surveyor's Hall @@ -5873,17 +5561,6 @@ surveyors_hall_2 = { market_modifier = { trade_good_books_paper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -5896,6 +5573,15 @@ surveyors_hall_2 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 2 } + } } # Surveyor's Hall @@ -5927,17 +5613,6 @@ surveyors_hall_3 = { market_modifier = { trade_good_books_paper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -5950,6 +5625,15 @@ surveyors_hall_3 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 3 } + } } # Surveyor's Hall @@ -5981,17 +5665,6 @@ surveyors_hall_4 = { market_modifier = { trade_good_books_paper_sell_price_mult = price_basic_building_1 } - - - ai_value = { - base = 10 - ai_military_context_modifier = yes - directive_to_build_military_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -6004,6 +5677,15 @@ surveyors_hall_4 = { } } } + + ai_value = { + base = 10 + ai_military_context_modifier = yes + directive_to_build_military_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_building_upgrade_modifier = { LEVEL = 4 } + } } # Surveyor's Hall @@ -6042,7 +5724,7 @@ surveyors_hall_5 = { directive_to_build_military_modifier = yes ai_general_building_modifier = yes ai_capital_preference_modifier = yes - ai_regular_building_upgrade_modifier = { LEVEL = 5 } + ai_regular_building_upgrade_modifier = { LEVEL = 4 } } trade_good_need = { @@ -6435,9 +6117,4 @@ air_dock_04 = { } } } - ########## -# Communal Settlements - peasant and levy bonuses -########## - - diff --git a/common/buildings/regular_primary_buildings.txt b/common/buildings/regular_primary_buildings.txt index 78b2a1bc6..743c46617 100644 --- a/common/buildings/regular_primary_buildings.txt +++ b/common/buildings/regular_primary_buildings.txt @@ -60,7 +60,16 @@ pb_guild_01 = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } - + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + culture_parameter = civic_religion_guild_building_slots + modifiers = { + province_modifier = { + province_size_baseline_add = province_size_tier_1 + } + } + } can_construct_showing_failures_only = { } @@ -98,17 +107,6 @@ pb_guild_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = basic_resource_need - culture_parameter = civic_religion_guild_building_slots - modifiers = { - province_modifier = { - province_size_baseline_add = province_size_tier_1 - } - } - } } pb_guild_02 = { @@ -134,7 +132,16 @@ pb_guild_02 = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } - + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + culture_parameter = civic_religion_guild_building_slots + modifiers = { + province_modifier = { + province_size_baseline_add = province_size_tier_1 + } + } + } can_construct_showing_failures_only = { building_artisanal_early_medieval_trigger = yes @@ -157,17 +164,6 @@ pb_guild_02 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_oil - amount = basic_resource_need - culture_parameter = civic_religion_guild_building_slots - modifiers = { - province_modifier = { - province_size_baseline_add = province_size_tier_1 - } - } - } } pb_guild_03 = { @@ -193,7 +189,16 @@ pb_guild_03 = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } - + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + culture_parameter = civic_religion_guild_building_slots + modifiers = { + province_modifier = { + province_size_baseline_add = province_size_tier_1 + } + } + } can_construct_showing_failures_only = { culture = { has_innovation = innovation_guilds } @@ -216,17 +221,6 @@ pb_guild_03 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_oil - amount = basic_resource_need - culture_parameter = civic_religion_guild_building_slots - modifiers = { - province_modifier = { - province_size_baseline_add = province_size_tier_1 - } - } - } } pb_guild_04 = { @@ -252,7 +246,16 @@ pb_guild_04 = { parameter = civic_religion_guild_building_slots building_slots_for_host_district = 2 } - + trade_good_need = { + trade_good = trade_good_oil + amount = basic_resource_need + culture_parameter = civic_religion_guild_building_slots + modifiers = { + province_modifier = { + province_size_baseline_add = province_size_tier_1 + } + } + } can_construct_showing_failures_only = { building_masonry_late_medieval_trigger = yes @@ -273,17 +276,6 @@ pb_guild_04 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_oil - amount = basic_resource_need - culture_parameter = civic_religion_guild_building_slots - modifiers = { - province_modifier = { - province_size_baseline_add = province_size_tier_1 - } - } - } } # Market @@ -1029,20 +1021,6 @@ pb_military_01 = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = song_horse_shortage - trade_good_horses_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_military_district_modifier = yes - ai_regular_new_district_modifier = yes - } - trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need @@ -1056,7 +1034,10 @@ pb_military_01 = { } } } - + market_culture_modifier = { + parameter = song_horse_shortage + trade_good_horses_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need @@ -1070,6 +1051,13 @@ pb_military_01 = { } } } + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_military_district_modifier = yes + ai_regular_new_district_modifier = yes + } } pb_military_02 = { @@ -1103,20 +1091,6 @@ pb_military_02 = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = song_horse_shortage - trade_good_horses_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_military_district_upgrade_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need @@ -1131,7 +1105,10 @@ pb_military_02 = { } } } - + market_culture_modifier = { + parameter = song_horse_shortage + trade_good_horses_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need @@ -1146,6 +1123,13 @@ pb_military_02 = { } } } + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_military_district_upgrade_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_military_03 = { @@ -1179,20 +1163,6 @@ pb_military_03 = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = song_horse_shortage - trade_good_horses_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_military_district_upgrade_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need @@ -1207,7 +1177,10 @@ pb_military_03 = { } } } - + market_culture_modifier = { + parameter = song_horse_shortage + trade_good_horses_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need @@ -1222,6 +1195,13 @@ pb_military_03 = { } } } + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_military_district_upgrade_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_military_04 = { @@ -1253,20 +1233,6 @@ pb_military_04 = { parameter = imported_war_horses trade_good_horses_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = song_horse_shortage - trade_good_horses_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_military_context_modifier = yes - ai_general_building_modifier = yes - ai_military_district_upgrade_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_horses amount = war_horse_military_need @@ -1281,7 +1247,10 @@ pb_military_04 = { } } } - + market_culture_modifier = { + parameter = song_horse_shortage + trade_good_horses_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_horses amount = song_horse_need @@ -1296,6 +1265,13 @@ pb_military_04 = { } } } + ai_value = { + base = 10 + ai_military_context_modifier = yes + ai_general_building_modifier = yes + ai_military_district_upgrade_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } ### Civic ### @@ -1333,7 +1309,17 @@ pb_bureaucratic_01 = { province_size_level >= 3 } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + government_flag = government_has_influence + modifiers = { + character_modifier = { + monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need + } + } + } type_icon = "district_buildings/bureaucratic_district.dds" @@ -1357,18 +1343,6 @@ pb_bureaucratic_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - government_flag = government_has_influence - - modifiers = { - character_modifier = { - monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need - } - } - } } pb_bureaucratic_02 = { @@ -1397,7 +1371,18 @@ pb_bureaucratic_02 = { holding_district_level_2_trigger = yes } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + government_flag = government_has_influence + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need + } + } + } next_building = pb_bureaucratic_03 @@ -1415,19 +1400,6 @@ pb_bureaucratic_02 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - government_flag = government_has_influence - can_be_filled_multiple_times = 2 - - modifiers = { - character_modifier = { - monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need - } - } - } } pb_bureaucratic_03 = { @@ -1456,7 +1428,18 @@ pb_bureaucratic_03 = { holding_district_level_3_trigger = yes } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + government_flag = government_has_influence + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need + } + } + } next_building = pb_bureaucratic_04 @@ -1474,19 +1457,6 @@ pb_bureaucratic_03 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - government_flag = government_has_influence - can_be_filled_multiple_times = 3 - - modifiers = { - character_modifier = { - monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need - } - } - } } pb_bureaucratic_04 = { @@ -1516,7 +1486,18 @@ pb_bureaucratic_04 = { holding_district_level_4_trigger = yes } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + government_flag = government_has_influence + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need + } + } + } ai_value = { base = 10.5 @@ -1532,19 +1513,6 @@ pb_bureaucratic_04 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - government_flag = government_has_influence - can_be_filled_multiple_times = 4 - - modifiers = { - character_modifier = { - monthly_influence_mult = bureaucratic_primary_influence_mult_per_paper_need - } - } - } } @@ -1610,21 +1578,98 @@ pb_royal_palace_01 = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_furs + amount = luxury_resource_need + culture_parameter = court_finery_furs_demand + + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } market_culture_modifier = { parameter = court_finery_silk_demand trade_good_silk_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + culture_parameter = court_finery_silk_demand + + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } market_culture_modifier = { parameter = court_finery_textiles_demand trade_good_textiles_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_textiles + amount = luxury_resource_need + culture_parameter = court_finery_textiles_demand + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } + trade_good_need = { + trade_good = trade_good_jewelry + amount = luxury_resource_need + not_rite_parameter = luxury_forbidden + modifiers = { + character_modifier = { + monthly_legitimacy_add = 0.05 + } + } + } + trade_good_need = { + trade_good = trade_good_jewelry + amount = ascetic_rural_resource_need + rite_parameter = luxury_forbidden + + modifiers = { + character_modifier = { + monthly_legitimacy_add = 0.05 + } + } + } + trade_good_need = { + trade_good_category = trade_category_alcohol + amount = basic_resource_need + + not_rite_parameter = alcohol_forbidden + + modifiers = { + character_modifier = { + monthly_prestige = 0.02 + } + } + } + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = luxury_resource_need + + rite_parameter = alcohol_forbidden + + modifiers = { + character_modifier = { + monthly_prestige = 0.02 + } + } + } type_icon = "regular_buildings/leisure_palace.dds" @@ -1645,97 +1690,6 @@ pb_royal_palace_01 = { factor = ai_building_tier_1_factor } } - - trade_good_need = { - trade_good = trade_good_furs - amount = luxury_resource_need - - culture_parameter = court_finery_furs_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_silk - amount = luxury_resource_need - - culture_parameter = court_finery_silk_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = luxury_resource_need - - culture_parameter = court_finery_textiles_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_jewelry - amount = luxury_resource_need - - not_rite_parameter = luxury_forbidden - - modifiers = { - character_modifier = { - monthly_legitimacy_add = 0.05 - } - } - } - - trade_good_need = { - trade_good = trade_good_jewelry - amount = ascetic_rural_resource_need - - rite_parameter = luxury_forbidden - - modifiers = { - character_modifier = { - monthly_legitimacy_add = 0.05 - } - } - } - - trade_good_need = { - trade_good_category = trade_category_alcohol - amount = basic_resource_need - - not_rite_parameter = alcohol_forbidden - - modifiers = { - character_modifier = { - monthly_prestige = 0.02 - } - } - } - - trade_good_need = { - trade_good_category = trade_category_luxury_consumption - amount = luxury_resource_need - - rite_parameter = alcohol_forbidden - - modifiers = { - character_modifier = { - monthly_prestige = 0.02 - } - } - } } pb_royal_palace_02 = { @@ -1800,33 +1754,6 @@ pb_royal_palace_02 = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } - - market_culture_modifier = { - parameter = court_finery_silk_demand - trade_good_silk_sell_price_mult = price_basic_building_1 - } - - market_culture_modifier = { - parameter = court_finery_textiles_demand - trade_good_textiles_sell_price_mult = price_basic_building_1 - } - - - - - - - next_building = pb_royal_palace_03 - - ai_value = { - base = 11 - ai_civic_context_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -1840,7 +1767,10 @@ pb_royal_palace_02 = { } } } - + market_culture_modifier = { + parameter = court_finery_silk_demand + trade_good_silk_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -1854,7 +1784,10 @@ pb_royal_palace_02 = { } } } - + market_culture_modifier = { + parameter = court_finery_textiles_demand + trade_good_textiles_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -1868,7 +1801,6 @@ pb_royal_palace_02 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -1882,7 +1814,6 @@ pb_royal_palace_02 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need @@ -1896,7 +1827,6 @@ pb_royal_palace_02 = { } } } - trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need @@ -1910,7 +1840,6 @@ pb_royal_palace_02 = { } } } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -1924,6 +1853,17 @@ pb_royal_palace_02 = { } } } + + next_building = pb_royal_palace_03 + + ai_value = { + base = 11 + ai_civic_context_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_royal_palace_03 = { @@ -1988,33 +1928,6 @@ pb_royal_palace_03 = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } - - market_culture_modifier = { - parameter = court_finery_silk_demand - trade_good_silk_sell_price_mult = price_basic_building_1 - } - - market_culture_modifier = { - parameter = court_finery_textiles_demand - trade_good_textiles_sell_price_mult = price_basic_building_1 - } - - - - - - - next_building = pb_royal_palace_04 - - ai_value = { - base = 11 - ai_civic_context_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -2028,7 +1941,10 @@ pb_royal_palace_03 = { } } } - + market_culture_modifier = { + parameter = court_finery_silk_demand + trade_good_silk_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2042,7 +1958,10 @@ pb_royal_palace_03 = { } } } - + market_culture_modifier = { + parameter = court_finery_textiles_demand + trade_good_textiles_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -2056,7 +1975,6 @@ pb_royal_palace_03 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -2070,7 +1988,6 @@ pb_royal_palace_03 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need @@ -2084,7 +2001,6 @@ pb_royal_palace_03 = { } } } - trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need @@ -2098,7 +2014,6 @@ pb_royal_palace_03 = { } } } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -2112,6 +2027,17 @@ pb_royal_palace_03 = { } } } + + next_building = pb_royal_palace_04 + + ai_value = { + base = 11 + ai_civic_context_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_royal_palace_04 = { @@ -2176,31 +2102,6 @@ pb_royal_palace_04 = { parameter = court_finery_furs_demand trade_good_furs_sell_price_mult = price_basic_building_1 } - - market_culture_modifier = { - parameter = court_finery_silk_demand - trade_good_silk_sell_price_mult = price_basic_building_1 - } - - market_culture_modifier = { - parameter = court_finery_textiles_demand - trade_good_textiles_sell_price_mult = price_basic_building_1 - } - - - - - - - ai_value = { - base = 11 - ai_civic_context_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -2214,7 +2115,10 @@ pb_royal_palace_04 = { } } } - + market_culture_modifier = { + parameter = court_finery_silk_demand + trade_good_silk_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2228,7 +2132,10 @@ pb_royal_palace_04 = { } } } - + market_culture_modifier = { + parameter = court_finery_textiles_demand + trade_good_textiles_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -2242,7 +2149,6 @@ pb_royal_palace_04 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = luxury_resource_need @@ -2256,7 +2162,6 @@ pb_royal_palace_04 = { } } } - trade_good_need = { trade_good = trade_good_jewelry amount = ascetic_rural_resource_need @@ -2270,7 +2175,6 @@ pb_royal_palace_04 = { } } } - trade_good_need = { trade_good_category = trade_category_alcohol amount = basic_resource_need @@ -2284,7 +2188,6 @@ pb_royal_palace_04 = { } } } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -2298,6 +2201,15 @@ pb_royal_palace_04 = { } } } + + ai_value = { + base = 11 + ai_civic_context_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } @@ -2559,17 +2471,48 @@ pb_temple_01 = { epidemic_resistance = 2.5 } + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + rite_parameter = communion_wine + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = building_tiny_popular_opinion_gain + } + } + } market_rite_modifier = { not_parameter = communion_wine trade_good_incense_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_incense + amount = basic_resource_need + not_rite_parameter = communion_wine + modifiers = { + province_modifier = { + popular_opinion_add = building_tiny_popular_opinion_gain + } + } + } market_rite_modifier = { parameter = tenet_legalism_temple_district_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + rite_parameter = tenet_legalism_temple_district_control + modifiers = { + province_modifier = { + control_baseline_add = 5 + } + } + } province_rite_modifier = { parameter = clerical_function_temple_district_popular_opinion_penalty popular_opinion_add = clerical_function_temple_district_popular_opinion @@ -2578,23 +2521,209 @@ pb_temple_01 = { parameter = clerical_function_temple_district_books_control trade_good_books_paper_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_books_paper + amount = basic_resource_need + rite_parameter = clerical_function_temple_district_books_control + modifiers = { + province_modifier = { + control_baseline_add = clerical_function_temple_district_control_per_books_need + } + } + } + trade_good_need = { + trade_good = trade_good_oil + amount = housing_comfort_need + culture_parameter = housing_olive_oil_demand + rite_parameter = clerical_function_temple_district_comfort_popular_opinion + modifiers = { + province_modifier = { + popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need + } + } + } + trade_good_need = { + trade_good = trade_good_tea + amount = housing_comfort_need + culture_parameter = housing_tea_demand + rite_parameter = clerical_function_temple_district_comfort_popular_opinion + modifiers = { + province_modifier = { + popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need + } + } + } + trade_good_need = { + trade_good = trade_good_fruit + amount = housing_comfort_need + culture_parameter = housing_fruit_demand + rite_parameter = clerical_function_temple_district_comfort_popular_opinion + modifiers = { + province_modifier = { + popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need + } + } + } + trade_good_need = { + trade_good = trade_good_honey + amount = housing_comfort_need + culture_parameter = housing_honey_demand + rite_parameter = clerical_function_temple_district_comfort_popular_opinion + modifiers = { + province_modifier = { + popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need + } + } + } + trade_good_need = { + trade_good = trade_good_cheese + amount = housing_comfort_need + culture_parameter = housing_cheese_demand + rite_parameter = clerical_function_temple_district_comfort_popular_opinion + modifiers = { + province_modifier = { + popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need + } + } + } + trade_good_need = { + trade_good = trade_good_incense + amount = votive_offering_need + culture_parameter = votive_incense_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_gold + amount = votive_offering_need + culture_parameter = votive_gold_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_silver + amount = votive_offering_need + culture_parameter = votive_silver_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_gems + amount = votive_offering_need + culture_parameter = votive_gems_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = votive_offering_need + culture_parameter = votive_ceramics_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_lacquerware + amount = votive_offering_need + culture_parameter = votive_lacquerware_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_amber + amount = votive_offering_need + culture_parameter = votive_amber_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_copper + amount = votive_offering_need + culture_parameter = votive_copper_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_ivory + amount = votive_offering_need + culture_parameter = votive_ivory_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_spices + amount = votive_offering_need + culture_parameter = votive_spices_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } + trade_good_need = { + trade_good = trade_good_medicaments + amount = votive_offering_need + culture_parameter = votive_medicaments_demand + rite_parameter = clerical_function_temple_district_votive_maa_toughness + modifiers = { + province_modifier = { + stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering + } + } + } type_icon = "district_buildings/temple_district.dds" @@ -2661,263 +2790,6 @@ pb_temple_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = basic_resource_need - rite_parameter = communion_wine - not_rite_parameter = alcohol_forbidden - - modifiers = { - province_modifier = { - popular_opinion_add = building_tiny_popular_opinion_gain - } - } - } - - trade_good_need = { - trade_good = trade_good_incense - amount = basic_resource_need - not_rite_parameter = communion_wine - - modifiers = { - province_modifier = { - popular_opinion_add = building_tiny_popular_opinion_gain - } - } - } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - rite_parameter = tenet_legalism_temple_district_control - - modifiers = { - province_modifier = { - control_baseline_add = 5 - } - } - } - - trade_good_need = { - trade_good = trade_good_books_paper - amount = basic_resource_need - rite_parameter = clerical_function_temple_district_books_control - - modifiers = { - province_modifier = { - control_baseline_add = clerical_function_temple_district_control_per_books_need - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = housing_comfort_need - culture_parameter = housing_olive_oil_demand - rite_parameter = clerical_function_temple_district_comfort_popular_opinion - - modifiers = { - province_modifier = { - popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need - } - } - } - - trade_good_need = { - trade_good = trade_good_tea - amount = housing_comfort_need - culture_parameter = housing_tea_demand - rite_parameter = clerical_function_temple_district_comfort_popular_opinion - - modifiers = { - province_modifier = { - popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need - } - } - } - - trade_good_need = { - trade_good = trade_good_fruit - amount = housing_comfort_need - culture_parameter = housing_fruit_demand - rite_parameter = clerical_function_temple_district_comfort_popular_opinion - - modifiers = { - province_modifier = { - popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need - } - } - } - - trade_good_need = { - trade_good = trade_good_honey - amount = housing_comfort_need - culture_parameter = housing_honey_demand - rite_parameter = clerical_function_temple_district_comfort_popular_opinion - - modifiers = { - province_modifier = { - popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need - } - } - } - - trade_good_need = { - trade_good = trade_good_cheese - amount = housing_comfort_need - culture_parameter = housing_cheese_demand - rite_parameter = clerical_function_temple_district_comfort_popular_opinion - - modifiers = { - province_modifier = { - popular_opinion_add = clerical_function_temple_district_popular_opinion_per_comfort_need - } - } - } - - trade_good_need = { - trade_good = trade_good_incense - amount = votive_offering_need - culture_parameter = votive_incense_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_gold - amount = votive_offering_need - culture_parameter = votive_gold_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_silver - amount = votive_offering_need - culture_parameter = votive_silver_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_gems - amount = votive_offering_need - culture_parameter = votive_gems_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = votive_offering_need - culture_parameter = votive_ceramics_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_lacquerware - amount = votive_offering_need - culture_parameter = votive_lacquerware_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_amber - amount = votive_offering_need - culture_parameter = votive_amber_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_copper - amount = votive_offering_need - culture_parameter = votive_copper_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_ivory - amount = votive_offering_need - culture_parameter = votive_ivory_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_spices - amount = votive_offering_need - culture_parameter = votive_spices_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = votive_offering_need - culture_parameter = votive_medicaments_demand - rite_parameter = clerical_function_temple_district_votive_maa_toughness - - modifiers = { - province_modifier = { - stationed_maa_toughness_mult = clerical_function_temple_district_maa_toughness_per_votive_offering - } - } - } } pb_temple_02 = { @@ -3021,57 +2893,6 @@ pb_temple_02 = { } } - - market_rite_modifier = { - not_parameter = communion_wine - trade_good_incense_sell_price_mult = price_basic_building_1 - } - - market_rite_modifier = { - parameter = tenet_legalism_temple_district_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - province_rite_modifier = { - parameter = clerical_function_temple_district_popular_opinion_penalty - popular_opinion_add = clerical_function_temple_district_popular_opinion - } - market_rite_modifier = { - parameter = clerical_function_temple_district_books_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - - - - - - - - - - - - - - - - - - next_building = pb_temple_03 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - ai_opinion_baseline_building_modifier = { VALUE = 6 } - ai_urban_input_modifier = { GOOD = trade_good_incense } - - ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -3085,7 +2906,10 @@ pb_temple_02 = { } } } - + market_rite_modifier = { + not_parameter = communion_wine + trade_good_incense_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -3098,7 +2922,10 @@ pb_temple_02 = { } } } - + market_rite_modifier = { + parameter = tenet_legalism_temple_district_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3111,7 +2938,14 @@ pb_temple_02 = { } } } - + province_rite_modifier = { + parameter = clerical_function_temple_district_popular_opinion_penalty + popular_opinion_add = clerical_function_temple_district_popular_opinion + } + market_rite_modifier = { + parameter = clerical_function_temple_district_books_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3124,7 +2958,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need @@ -3138,7 +2971,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need @@ -3152,7 +2984,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need @@ -3166,7 +2997,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need @@ -3180,7 +3010,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need @@ -3194,7 +3023,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need @@ -3208,7 +3036,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need @@ -3222,7 +3049,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need @@ -3236,7 +3062,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need @@ -3250,7 +3075,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need @@ -3264,7 +3088,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need @@ -3278,7 +3101,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need @@ -3292,7 +3114,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need @@ -3306,7 +3127,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need @@ -3320,7 +3140,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need @@ -3334,7 +3153,6 @@ pb_temple_02 = { } } } - trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need @@ -3348,6 +3166,20 @@ pb_temple_02 = { } } } + + next_building = pb_temple_03 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + ai_opinion_baseline_building_modifier = { VALUE = 6 } + ai_urban_input_modifier = { GOOD = trade_good_incense } + + ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_temple_03 = { @@ -3455,57 +3287,6 @@ pb_temple_03 = { } } - - market_rite_modifier = { - not_parameter = communion_wine - trade_good_incense_sell_price_mult = price_basic_building_1 - } - - market_rite_modifier = { - parameter = tenet_legalism_temple_district_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - province_rite_modifier = { - parameter = clerical_function_temple_district_popular_opinion_penalty - popular_opinion_add = clerical_function_temple_district_popular_opinion - } - market_rite_modifier = { - parameter = clerical_function_temple_district_books_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - - - - - - - - - - - - - - - - - - next_building = pb_temple_04 - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - ai_opinion_baseline_building_modifier = { VALUE = 7 } - ai_urban_input_modifier = { GOOD = trade_good_incense } - - ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -3519,7 +3300,10 @@ pb_temple_03 = { } } } - + market_rite_modifier = { + not_parameter = communion_wine + trade_good_incense_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -3532,7 +3316,10 @@ pb_temple_03 = { } } } - + market_rite_modifier = { + parameter = tenet_legalism_temple_district_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3545,7 +3332,14 @@ pb_temple_03 = { } } } - + province_rite_modifier = { + parameter = clerical_function_temple_district_popular_opinion_penalty + popular_opinion_add = clerical_function_temple_district_popular_opinion + } + market_rite_modifier = { + parameter = clerical_function_temple_district_books_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3558,7 +3352,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need @@ -3572,7 +3365,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need @@ -3586,7 +3378,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need @@ -3600,7 +3391,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need @@ -3614,7 +3404,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need @@ -3628,7 +3417,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need @@ -3642,7 +3430,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need @@ -3656,7 +3443,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need @@ -3670,7 +3456,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need @@ -3684,7 +3469,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need @@ -3698,7 +3482,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need @@ -3712,7 +3495,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need @@ -3726,7 +3508,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need @@ -3740,7 +3521,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need @@ -3754,7 +3534,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need @@ -3768,7 +3547,6 @@ pb_temple_03 = { } } } - trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need @@ -3782,6 +3560,20 @@ pb_temple_03 = { } } } + + next_building = pb_temple_04 + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + ai_opinion_baseline_building_modifier = { VALUE = 7 } + ai_urban_input_modifier = { GOOD = trade_good_incense } + + ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_temple_04 = { @@ -3890,55 +3682,6 @@ pb_temple_04 = { } } - - market_rite_modifier = { - not_parameter = communion_wine - trade_good_incense_sell_price_mult = price_basic_building_1 - } - - market_rite_modifier = { - parameter = tenet_legalism_temple_district_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - province_rite_modifier = { - parameter = clerical_function_temple_district_popular_opinion_penalty - popular_opinion_add = clerical_function_temple_district_popular_opinion - } - market_rite_modifier = { - parameter = clerical_function_temple_district_books_control - trade_good_books_paper_sell_price_mult = price_basic_building_1 - } - - - - - - - - - - - - - - - - - - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - ai_opinion_baseline_building_modifier = { VALUE = 8 } - ai_urban_input_modifier = { GOOD = trade_good_incense } - - ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -3952,7 +3695,10 @@ pb_temple_04 = { } } } - + market_rite_modifier = { + not_parameter = communion_wine + trade_good_incense_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -3965,7 +3711,10 @@ pb_temple_04 = { } } } - + market_rite_modifier = { + parameter = tenet_legalism_temple_district_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3978,7 +3727,14 @@ pb_temple_04 = { } } } - + province_rite_modifier = { + parameter = clerical_function_temple_district_popular_opinion_penalty + popular_opinion_add = clerical_function_temple_district_popular_opinion + } + market_rite_modifier = { + parameter = clerical_function_temple_district_books_control + trade_good_books_paper_sell_price_mult = price_basic_building_1 + } trade_good_need = { trade_good = trade_good_books_paper amount = basic_resource_need @@ -3991,7 +3747,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need @@ -4005,7 +3760,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need @@ -4019,7 +3773,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need @@ -4033,7 +3786,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need @@ -4047,7 +3799,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need @@ -4061,7 +3812,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = votive_offering_need @@ -4075,7 +3825,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_gold amount = votive_offering_need @@ -4089,7 +3838,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = votive_offering_need @@ -4103,7 +3851,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_gems amount = votive_offering_need @@ -4117,7 +3864,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = votive_offering_need @@ -4131,7 +3877,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_lacquerware amount = votive_offering_need @@ -4145,7 +3890,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_amber amount = votive_offering_need @@ -4159,7 +3903,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_copper amount = votive_offering_need @@ -4173,7 +3916,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_ivory amount = votive_offering_need @@ -4187,7 +3929,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = votive_offering_need @@ -4201,7 +3942,6 @@ pb_temple_04 = { } } } - trade_good_need = { trade_good = trade_good_medicaments amount = votive_offering_need @@ -4215,6 +3955,18 @@ pb_temple_04 = { } } } + + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + ai_opinion_baseline_building_modifier = { VALUE = 8 } + ai_urban_input_modifier = { GOOD = trade_good_incense } + + ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_soft } + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } ### Metropolitan ### @@ -4355,10 +4107,50 @@ pb_patrician_01 = { building_communal_early_medieval_trigger = yes } + trade_good_need = { + trade_good_category = trade_category_luxury_consumption + amount = luxury_resource_need + not_rite_parameter = luxury_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need + } + } + } + trade_good_need = { + trade_good = trade_good_furs + amount = luxury_resource_need + culture_parameter = court_finery_furs_demand + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + culture_parameter = court_finery_silk_demand + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } + trade_good_need = { + trade_good = trade_good_textiles + amount = luxury_resource_need + culture_parameter = court_finery_textiles_demand + modifiers = { + province_modifier = { + prosperity_growth = low_prosperity_tier_1 + } + } + } type_icon = "district_buildings/patrician_district.dds" @@ -4378,54 +4170,6 @@ pb_patrician_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good_category = trade_category_luxury_consumption - amount = luxury_resource_need - not_rite_parameter = luxury_forbidden - - modifiers = { - province_modifier = { - popular_opinion_add = patrician_primary_popular_opinion_per_luxury_consumption_need - } - } - } - - trade_good_need = { - trade_good = trade_good_furs - amount = luxury_resource_need - culture_parameter = court_finery_furs_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_silk - amount = luxury_resource_need - culture_parameter = court_finery_silk_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = luxury_resource_need - culture_parameter = court_finery_textiles_demand - - modifiers = { - province_modifier = { - prosperity_growth = low_prosperity_tier_1 - } - } - } } pb_patrician_02 = { @@ -4448,24 +4192,6 @@ pb_patrician_02 = { holding_district_level_2_trigger = yes } - - - - - - next_building = pb_patrician_03 - - ai_value = { - base = 9.7 - ai_civic_context_modifier = yes - ai_economical_building_preference_modifier = yes - ai_urban_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -4478,7 +4204,6 @@ pb_patrician_02 = { } } } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -4491,7 +4216,6 @@ pb_patrician_02 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -4504,7 +4228,6 @@ pb_patrician_02 = { } } } - trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -4517,6 +4240,19 @@ pb_patrician_02 = { } } } + + next_building = pb_patrician_03 + + ai_value = { + base = 9.7 + ai_civic_context_modifier = yes + ai_economical_building_preference_modifier = yes + ai_urban_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_patrician_03 = { @@ -4539,24 +4275,6 @@ pb_patrician_03 = { holding_district_level_3_trigger = yes } - - - - - - next_building = pb_patrician_04 - - ai_value = { - base = 9.7 - ai_civic_context_modifier = yes - ai_economical_building_preference_modifier = yes - ai_urban_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -4569,7 +4287,6 @@ pb_patrician_03 = { } } } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -4582,7 +4299,6 @@ pb_patrician_03 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -4595,7 +4311,6 @@ pb_patrician_03 = { } } } - trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -4608,6 +4323,19 @@ pb_patrician_03 = { } } } + + next_building = pb_patrician_04 + + ai_value = { + base = 9.7 + ai_civic_context_modifier = yes + ai_economical_building_preference_modifier = yes + ai_urban_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_patrician_04 = { @@ -4631,22 +4359,6 @@ pb_patrician_04 = { holding_district_level_4_trigger = yes } - - - - - - ai_value = { - base = 9.7 - ai_civic_context_modifier = yes - ai_economical_building_preference_modifier = yes - ai_urban_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_luxury_consumption amount = luxury_resource_need @@ -4659,7 +4371,6 @@ pb_patrician_04 = { } } } - trade_good_need = { trade_good = trade_good_furs amount = luxury_resource_need @@ -4672,7 +4383,6 @@ pb_patrician_04 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -4685,7 +4395,6 @@ pb_patrician_04 = { } } } - trade_good_need = { trade_good = trade_good_textiles amount = luxury_resource_need @@ -4698,6 +4407,17 @@ pb_patrician_04 = { } } } + + ai_value = { + base = 9.7 + ai_civic_context_modifier = yes + ai_economical_building_preference_modifier = yes + ai_urban_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } # Urban Housing @@ -4726,33 +4446,98 @@ pb_urban_housing_01 = { building_slots_for_host_district = 1 } + trade_good_need = { + trade_good_category = trade_category_clothes + amount = basic_resource_need + not_rite_parameter = clothes_need_suppressed + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + rite_parameter = leather_forbidden + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_oil + amount = housing_comfort_need + culture_parameter = housing_olive_oil_demand + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_tea + amount = housing_comfort_need + culture_parameter = housing_tea_demand + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_fruit + amount = housing_comfort_need + culture_parameter = housing_fruit_demand + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_honey + amount = housing_comfort_need + culture_parameter = housing_honey_demand + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_cheese + amount = housing_comfort_need + culture_parameter = housing_cheese_demand + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } type_icon = "district_buildings/urban_housing_district.dds" @@ -4784,85 +4569,6 @@ pb_urban_housing_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good_category = trade_category_clothes - amount = basic_resource_need - not_rite_parameter = clothes_need_suppressed - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = basic_resource_need - rite_parameter = leather_forbidden - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = housing_comfort_need - culture_parameter = housing_olive_oil_demand - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_tea - amount = housing_comfort_need - culture_parameter = housing_tea_demand - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_fruit - amount = housing_comfort_need - culture_parameter = housing_fruit_demand - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_honey - amount = housing_comfort_need - culture_parameter = housing_honey_demand - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_cheese - amount = housing_comfort_need - culture_parameter = housing_cheese_demand - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } } pb_urban_housing_02 = { @@ -4894,33 +4600,107 @@ pb_urban_housing_02 = { holding_district_level_2_trigger = yes } + trade_good_need = { + trade_good_category = trade_category_clothes + amount = basic_resource_need + can_be_filled_multiple_times = 2 + not_rite_parameter = clothes_need_suppressed + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 2 + rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_oil + amount = housing_comfort_need + culture_parameter = housing_olive_oil_demand + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_tea + amount = housing_comfort_need + culture_parameter = housing_tea_demand + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_fruit + amount = housing_comfort_need + culture_parameter = housing_fruit_demand + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_honey + amount = housing_comfort_need + culture_parameter = housing_honey_demand + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_cheese + amount = housing_comfort_need + culture_parameter = housing_cheese_demand + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } next_building = pb_urban_housing_03 @@ -4936,94 +4716,6 @@ pb_urban_housing_02 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good_category = trade_category_clothes - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - not_rite_parameter = clothes_need_suppressed - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - rite_parameter = leather_forbidden - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = housing_comfort_need - culture_parameter = housing_olive_oil_demand - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_tea - amount = housing_comfort_need - culture_parameter = housing_tea_demand - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_fruit - amount = housing_comfort_need - culture_parameter = housing_fruit_demand - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_honey - amount = housing_comfort_need - culture_parameter = housing_honey_demand - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_cheese - amount = housing_comfort_need - culture_parameter = housing_cheese_demand - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } } pb_urban_housing_03 = { @@ -5055,33 +4747,107 @@ pb_urban_housing_03 = { holding_district_level_3_trigger = yes } + trade_good_need = { + trade_good_category = trade_category_clothes + amount = basic_resource_need + can_be_filled_multiple_times = 3 + not_rite_parameter = clothes_need_suppressed + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } + trade_good_need = { + trade_good = trade_good_textiles + amount = basic_resource_need + + can_be_filled_multiple_times = 3 + rite_parameter = leather_forbidden + + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.1 + } + } + } market_culture_modifier = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_oil + amount = housing_comfort_need + culture_parameter = housing_olive_oil_demand + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_tea + amount = housing_comfort_need + culture_parameter = housing_tea_demand + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_fruit + amount = housing_comfort_need + culture_parameter = housing_fruit_demand + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_honey + amount = housing_comfort_need + culture_parameter = housing_honey_demand + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = housing_comfort_price_mult } - + trade_good_need = { + trade_good = trade_good_cheese + amount = housing_comfort_need + culture_parameter = housing_cheese_demand + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + popular_opinion_add = housing_comfort_popular_opinion + } + } + } next_building = pb_urban_housing_04 @@ -5097,94 +4863,6 @@ pb_urban_housing_03 = { ai_capital_preference_modifier = yes ai_regular_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good_category = trade_category_clothes - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - not_rite_parameter = clothes_need_suppressed - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - rite_parameter = leather_forbidden - - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.1 - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = housing_comfort_need - culture_parameter = housing_olive_oil_demand - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_tea - amount = housing_comfort_need - culture_parameter = housing_tea_demand - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_fruit - amount = housing_comfort_need - culture_parameter = housing_fruit_demand - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_honey - amount = housing_comfort_need - culture_parameter = housing_honey_demand - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } - - trade_good_need = { - trade_good = trade_good_cheese - amount = housing_comfort_need - culture_parameter = housing_cheese_demand - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - popular_opinion_add = housing_comfort_popular_opinion - } - } - } } pb_urban_housing_04 = { @@ -5216,47 +4894,6 @@ pb_urban_housing_04 = { holding_district_level_4_trigger = yes } - - - market_culture_modifier = { - parameter = housing_olive_oil_demand - trade_good_oil_sell_price_mult = housing_comfort_price_mult - } - - market_culture_modifier = { - parameter = housing_tea_demand - trade_good_tea_sell_price_mult = housing_comfort_price_mult - } - - market_culture_modifier = { - parameter = housing_fruit_demand - trade_good_fruit_sell_price_mult = housing_comfort_price_mult - } - - market_culture_modifier = { - parameter = housing_honey_demand - trade_good_honey_sell_price_mult = housing_comfort_price_mult - } - - market_culture_modifier = { - parameter = housing_cheese_demand - trade_good_cheese_sell_price_mult = housing_comfort_price_mult - } - - - ai_value = { - base = 10 - #Do I have Food? If so build this. - ai_urban_housing_modifier = yes - ai_economical_building_preference_modifier = yes - - ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_clothes amount = basic_resource_need @@ -5270,7 +4907,6 @@ pb_urban_housing_04 = { } } } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -5284,7 +4920,10 @@ pb_urban_housing_04 = { } } } - + market_culture_modifier = { + parameter = housing_olive_oil_demand + trade_good_oil_sell_price_mult = housing_comfort_price_mult + } trade_good_need = { trade_good = trade_good_oil amount = housing_comfort_need @@ -5296,7 +4935,10 @@ pb_urban_housing_04 = { } } } - + market_culture_modifier = { + parameter = housing_tea_demand + trade_good_tea_sell_price_mult = housing_comfort_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = housing_comfort_need @@ -5308,7 +4950,10 @@ pb_urban_housing_04 = { } } } - + market_culture_modifier = { + parameter = housing_fruit_demand + trade_good_fruit_sell_price_mult = housing_comfort_price_mult + } trade_good_need = { trade_good = trade_good_fruit amount = housing_comfort_need @@ -5320,7 +4965,10 @@ pb_urban_housing_04 = { } } } - + market_culture_modifier = { + parameter = housing_honey_demand + trade_good_honey_sell_price_mult = housing_comfort_price_mult + } trade_good_need = { trade_good = trade_good_honey amount = housing_comfort_need @@ -5332,7 +4980,10 @@ pb_urban_housing_04 = { } } } - + market_culture_modifier = { + parameter = housing_cheese_demand + trade_good_cheese_sell_price_mult = housing_comfort_price_mult + } trade_good_need = { trade_good = trade_good_cheese amount = housing_comfort_need @@ -5344,6 +4995,19 @@ pb_urban_housing_04 = { } } } + + ai_value = { + base = 10 + #Do I have Food? If so build this. + ai_urban_housing_modifier = yes + ai_economical_building_preference_modifier = yes + + ai_urban_identity_building_modifier = { WEIGHT = ai_building_priority_strong } + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } ### Agricultural ### @@ -5377,28 +5041,87 @@ pb_manor_houses_01 = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_oil + amount = manor_comfort_need + culture_parameter = housing_olive_oil_demand + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } market_culture_modifier = { parameter = housing_tea_demand trade_good_tea_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_tea + amount = manor_comfort_need + culture_parameter = housing_tea_demand + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } market_culture_modifier = { parameter = housing_fruit_demand trade_good_fruit_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_fruit + amount = manor_comfort_need + culture_parameter = housing_fruit_demand + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } market_culture_modifier = { parameter = housing_honey_demand trade_good_honey_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_honey + amount = manor_comfort_need + culture_parameter = housing_honey_demand + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } market_culture_modifier = { parameter = housing_cheese_demand trade_good_cheese_sell_price_mult = regional_demand_price_mult } - - + trade_good_need = { + trade_good = trade_good_cheese + amount = manor_comfort_need + culture_parameter = housing_cheese_demand + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } + trade_good_need = { + trade_good = trade_good_stone + amount = rural_resource_need + can_be_filled_multiple_times = 1 + modifiers = { + province_modifier = { + district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 + } + } + } next_building = pb_manor_houses_02 ai_value = { base = 10 @@ -5425,77 +5148,6 @@ pb_manor_houses_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = manor_comfort_need - culture_parameter = housing_olive_oil_demand - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_tea - amount = manor_comfort_need - culture_parameter = housing_tea_demand - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_fruit - amount = manor_comfort_need - culture_parameter = housing_fruit_demand - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_honey - amount = manor_comfort_need - culture_parameter = housing_honey_demand - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_cheese - amount = manor_comfort_need - culture_parameter = housing_cheese_demand - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_stone - amount = rural_resource_need - can_be_filled_multiple_times = 1 - modifiers = { - province_modifier = { - district_build_gold_cost = manor_primary_stone_cost_reduction_tier_1 - } - } - } } pb_manor_houses_02 = { @@ -5527,40 +5179,6 @@ pb_manor_houses_02 = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = housing_tea_demand - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_fruit_demand - trade_good_fruit_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_honey_demand - trade_good_honey_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_cheese_demand - trade_good_cheese_sell_price_mult = regional_demand_price_mult - } - - - next_building = pb_manor_houses_03 - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - ai_rural_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need @@ -5572,7 +5190,10 @@ pb_manor_houses_02 = { } } } - + market_culture_modifier = { + parameter = housing_tea_demand + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need @@ -5584,7 +5205,10 @@ pb_manor_houses_02 = { } } } - + market_culture_modifier = { + parameter = housing_fruit_demand + trade_good_fruit_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need @@ -5596,7 +5220,10 @@ pb_manor_houses_02 = { } } } - + market_culture_modifier = { + parameter = housing_honey_demand + trade_good_honey_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need @@ -5608,7 +5235,10 @@ pb_manor_houses_02 = { } } } - + market_culture_modifier = { + parameter = housing_cheese_demand + trade_good_cheese_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need @@ -5620,7 +5250,6 @@ pb_manor_houses_02 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need @@ -5631,6 +5260,17 @@ pb_manor_houses_02 = { } } } + next_building = pb_manor_houses_03 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economical_building_preference_modifier = yes + ai_rural_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_manor_houses_03 = { @@ -5662,40 +5302,6 @@ pb_manor_houses_03 = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = housing_tea_demand - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_fruit_demand - trade_good_fruit_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_honey_demand - trade_good_honey_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_cheese_demand - trade_good_cheese_sell_price_mult = regional_demand_price_mult - } - - - next_building = pb_manor_houses_04 - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - ai_rural_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need @@ -5707,7 +5313,10 @@ pb_manor_houses_03 = { } } } - + market_culture_modifier = { + parameter = housing_tea_demand + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need @@ -5719,7 +5328,10 @@ pb_manor_houses_03 = { } } } - + market_culture_modifier = { + parameter = housing_fruit_demand + trade_good_fruit_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need @@ -5731,7 +5343,10 @@ pb_manor_houses_03 = { } } } - + market_culture_modifier = { + parameter = housing_honey_demand + trade_good_honey_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need @@ -5743,7 +5358,10 @@ pb_manor_houses_03 = { } } } - + market_culture_modifier = { + parameter = housing_cheese_demand + trade_good_cheese_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need @@ -5755,7 +5373,6 @@ pb_manor_houses_03 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need @@ -5766,6 +5383,17 @@ pb_manor_houses_03 = { } } } + next_building = pb_manor_houses_04 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economical_building_preference_modifier = yes + ai_rural_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_manor_houses_04 = { @@ -5797,39 +5425,6 @@ pb_manor_houses_04 = { parameter = housing_olive_oil_demand trade_good_oil_sell_price_mult = regional_demand_price_mult } - - market_culture_modifier = { - parameter = housing_tea_demand - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_fruit_demand - trade_good_fruit_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_honey_demand - trade_good_honey_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = housing_cheese_demand - trade_good_cheese_sell_price_mult = regional_demand_price_mult - } - - - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economical_building_preference_modifier = yes - ai_rural_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_oil amount = manor_comfort_need @@ -5841,7 +5436,10 @@ pb_manor_houses_04 = { } } } - + market_culture_modifier = { + parameter = housing_tea_demand + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = manor_comfort_need @@ -5853,7 +5451,10 @@ pb_manor_houses_04 = { } } } - + market_culture_modifier = { + parameter = housing_fruit_demand + trade_good_fruit_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_fruit amount = manor_comfort_need @@ -5865,7 +5466,10 @@ pb_manor_houses_04 = { } } } - + market_culture_modifier = { + parameter = housing_honey_demand + trade_good_honey_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_honey amount = manor_comfort_need @@ -5877,7 +5481,10 @@ pb_manor_houses_04 = { } } } - + market_culture_modifier = { + parameter = housing_cheese_demand + trade_good_cheese_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_cheese amount = manor_comfort_need @@ -5889,7 +5496,6 @@ pb_manor_houses_04 = { } } } - trade_good_need = { trade_good = trade_good_stone amount = rural_resource_need @@ -5900,6 +5506,16 @@ pb_manor_houses_04 = { } } } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economical_building_preference_modifier = yes + ai_rural_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } # Religious Communities @@ -5991,8 +5607,26 @@ pb_religious_community_01 = { parameter = government_gets_theocratic_building_modifiers monthly_religious_tax = normal_building_tax_tier_1 } - - + trade_good_need = { + trade_good = trade_good_wine + amount = rural_resource_need + rite_parameter = communion_wine + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = regular_building_popular_opinion_tier_1 + } + } + } + trade_good_need = { + trade_good = trade_good_incense + amount = rural_resource_need + modifiers = { + character_modifier = { + monthly_piety = 0.01 + } + } + } on_complete = { mandala_built_piety_building_effect = yes if = { @@ -6061,28 +5695,6 @@ pb_religious_community_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = rural_resource_need - rite_parameter = communion_wine - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - popular_opinion_add = regular_building_popular_opinion_tier_1 - } - } - } - - trade_good_need = { - trade_good = trade_good_incense - amount = rural_resource_need - modifiers = { - character_modifier = { - monthly_piety = 0.01 - } - } - } } # Religious Communities @@ -6193,22 +5805,6 @@ pb_religious_community_02 = { holding_district_level_2_trigger = yes } } - - - next_building = pb_religious_community_03 - on_complete = { - mandala_built_piety_building_effect = yes - } - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - - ai_rural_building_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need @@ -6221,7 +5817,6 @@ pb_religious_community_02 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need @@ -6232,6 +5827,19 @@ pb_religious_community_02 = { } } } + next_building = pb_religious_community_03 + on_complete = { + mandala_built_piety_building_effect = yes + } + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + + ai_rural_building_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } # Religious Communities @@ -6347,22 +5955,6 @@ pb_religious_community_03 = { holding_district_level_3_trigger = yes } } - - - next_building = pb_religious_community_04 - on_complete = { - mandala_built_piety_building_effect = yes - } - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - - ai_rural_building_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need @@ -6375,7 +5967,6 @@ pb_religious_community_03 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need @@ -6386,6 +5977,19 @@ pb_religious_community_03 = { } } } + next_building = pb_religious_community_04 + on_complete = { + mandala_built_piety_building_effect = yes + } + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + + ai_rural_building_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } # Religious Communities @@ -6501,21 +6105,6 @@ pb_religious_community_04 = { monthly_religious_tax = normal_building_tax_tier_4 } - - - on_complete = { - mandala_built_piety_building_effect = yes - } - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - - ai_rural_building_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = rural_resource_need @@ -6528,7 +6117,6 @@ pb_religious_community_04 = { } } } - trade_good_need = { trade_good = trade_good_incense amount = rural_resource_need @@ -6539,6 +6127,18 @@ pb_religious_community_04 = { } } } + on_complete = { + mandala_built_piety_building_effect = yes + } + ai_value = { + base = 10 + ai_pious_building_preference_modifier = yes + + ai_rural_building_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } @@ -6645,12 +6245,32 @@ pb_villages_01 = { building_slots_for_host_district = 1 } + trade_good_need = { + trade_good_category = trade_category_carpentry_supplies + amount = rural_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = -0.03 + } + } + } market_modifier = { trade_good_textiles_sell_price_mult = price_village_building_need } - + trade_good_need = { + trade_good = trade_good_textiles + amount = villages_textiles_need + modifiers = { + province_modifier = { + monthly_agricultural_tax = villages_textiles_need_agricultural_tax + } + market_modifier = { + trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction + } + } + } type_icon = "district_buildings/villages_district.dds" @@ -6660,7 +6280,16 @@ pb_villages_01 = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_salt + amount = sahel_salt_need + culture_parameter = saharan_salt_reliance + modifiers = { + province_modifier = { + agricultural_tax_mult = regional_tax_mult_per_need + } + } + } ai_value = { base = 10 ai_economical_building_preference_modifier = yes @@ -6739,41 +6368,6 @@ pb_villages_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good_category = trade_category_carpentry_supplies - amount = rural_resource_need - - modifiers = { - province_modifier = { - villages_district_district_build_gold_cost = -0.03 - } - } - } - - trade_good_need = { - trade_good = trade_good_textiles - amount = villages_textiles_need - modifiers = { - province_modifier = { - monthly_agricultural_tax = villages_textiles_need_agricultural_tax - } - market_modifier = { - trade_category_agricultural_goods_buy_price_mult = villages_textiles_need_agricultural_goods_buy_price_reduction - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = sahel_salt_need - culture_parameter = saharan_salt_reliance - modifiers = { - province_modifier = { - agricultural_tax_mult = regional_tax_mult_per_need - } - } - } } pb_villages_02 = { @@ -6882,32 +6476,6 @@ pb_villages_02 = { holding_district_level_2_trigger = yes } - - - market_modifier = { - trade_good_textiles_sell_price_mult = price_village_building_need - } - - - next_building = pb_villages_03 - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_economical_building_preference_modifier = yes - - ai_rural_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need @@ -6920,6 +6488,9 @@ pb_villages_02 = { } } + market_modifier = { + trade_good_textiles_sell_price_mult = price_village_building_need + } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need @@ -6935,6 +6506,12 @@ pb_villages_02 = { } } + next_building = pb_villages_03 + + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -6946,6 +6523,17 @@ pb_villages_02 = { } } } + ai_value = { + base = 10 + ai_economical_building_preference_modifier = yes + + ai_rural_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_villages_03 = { @@ -7054,32 +6642,6 @@ pb_villages_03 = { holding_district_level_3_trigger = yes } - - - market_modifier = { - trade_good_textiles_sell_price_mult = price_village_building_need - } - - - next_building = pb_villages_04 - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_economical_building_preference_modifier = yes - - ai_rural_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need @@ -7092,6 +6654,9 @@ pb_villages_03 = { } } + market_modifier = { + trade_good_textiles_sell_price_mult = price_village_building_need + } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need @@ -7107,6 +6672,12 @@ pb_villages_03 = { } } + next_building = pb_villages_04 + + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -7118,6 +6689,17 @@ pb_villages_03 = { } } } + ai_value = { + base = 10 + ai_economical_building_preference_modifier = yes + + ai_rural_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_villages_04 = { @@ -7227,30 +6809,6 @@ pb_villages_04 = { holding_district_level_4_trigger = yes } - - - market_modifier = { - trade_good_textiles_sell_price_mult = price_village_building_need - } - - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_economical_building_preference_modifier = yes - - ai_rural_building_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_economic_terrain_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = rural_resource_need @@ -7263,6 +6821,9 @@ pb_villages_04 = { } } + market_modifier = { + trade_good_textiles_sell_price_mult = price_village_building_need + } trade_good_need = { trade_good = trade_good_textiles amount = villages_textiles_need @@ -7278,6 +6839,10 @@ pb_villages_04 = { } } + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -7289,6 +6854,17 @@ pb_villages_04 = { } } } + ai_value = { + base = 10 + ai_economical_building_preference_modifier = yes + + ai_rural_building_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_economic_terrain_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } @@ -7319,17 +6895,44 @@ pb_tribal_economy_prestige_01 = { next_building = pb_tribal_economy_prestige_02 - + trade_good_need = { + trade_good = trade_good_amber + amount = amber_amulet_need + culture_parameter = amber_amulets + modifiers = { + character_modifier = { + monthly_prestige = amber_amulet_prestige + } + } + } market_culture_modifier = { parameter = saharan_salt_reliance trade_good_salt_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_salt + amount = sahel_salt_need + culture_parameter = saharan_salt_reliance + modifiers = { + province_modifier = { + tribal_tax_mult = regional_tax_mult_per_need + } + } + } market_culture_modifier = { parameter = copper_casting trade_good_copper_sell_price_mult = regional_demand_price_mult } - + trade_good_need = { + trade_good = trade_good_copper + amount = west_african_copper_need + culture_parameter = copper_casting + modifiers = { + province_modifier = { + tribal_tax_mult = regional_tax_mult_per_need + } + } + } ai_value = { base = 9.7 ai_tribal_context_modifier = yes @@ -7344,39 +6947,6 @@ pb_tribal_economy_prestige_01 = { } ai_regular_new_district_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = amber_amulet_need - culture_parameter = amber_amulets - modifiers = { - character_modifier = { - monthly_prestige = amber_amulet_prestige - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = sahel_salt_need - culture_parameter = saharan_salt_reliance - modifiers = { - province_modifier = { - tribal_tax_mult = regional_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_copper - amount = west_african_copper_need - culture_parameter = copper_casting - modifiers = { - province_modifier = { - tribal_tax_mult = regional_tax_mult_per_need - } - } - } } pb_tribal_economy_prestige_02 = { @@ -7404,27 +6974,6 @@ pb_tribal_economy_prestige_02 = { next_building = pb_tribal_economy_prestige_03 - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = copper_casting - trade_good_copper_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 9.7 - ai_tribal_context_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need @@ -7436,7 +6985,10 @@ pb_tribal_economy_prestige_02 = { } } } - + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -7448,7 +7000,10 @@ pb_tribal_economy_prestige_02 = { } } } - + market_culture_modifier = { + parameter = copper_casting + trade_good_copper_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need @@ -7460,6 +7015,15 @@ pb_tribal_economy_prestige_02 = { } } } + ai_value = { + base = 9.7 + ai_tribal_context_modifier = yes + ai_economical_building_preference_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 2 } + } } pb_tribal_economy_prestige_03 = { @@ -7488,27 +7052,6 @@ pb_tribal_economy_prestige_03 = { next_building = pb_tribal_economy_prestige_04 - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = copper_casting - trade_good_copper_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 9.7 - ai_tribal_context_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need @@ -7520,7 +7063,10 @@ pb_tribal_economy_prestige_03 = { } } } - + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -7532,7 +7078,10 @@ pb_tribal_economy_prestige_03 = { } } } - + market_culture_modifier = { + parameter = copper_casting + trade_good_copper_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need @@ -7544,6 +7093,15 @@ pb_tribal_economy_prestige_03 = { } } } + ai_value = { + base = 9.7 + ai_tribal_context_modifier = yes + ai_economical_building_preference_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 3 } + } } pb_tribal_economy_prestige_04 = { @@ -7571,27 +7129,6 @@ pb_tribal_economy_prestige_04 = { holding_district_level_4_trigger = yes } - - market_culture_modifier = { - parameter = saharan_salt_reliance - trade_good_salt_sell_price_mult = regional_demand_price_mult - } - - market_culture_modifier = { - parameter = copper_casting - trade_good_copper_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 9.7 - ai_tribal_context_modifier = yes - ai_economical_building_preference_modifier = yes - directive_to_build_economy_modifier = yes - ai_general_building_modifier = yes - ai_capital_preference_modifier = yes - ai_regular_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_amber amount = amber_amulet_need @@ -7603,7 +7140,10 @@ pb_tribal_economy_prestige_04 = { } } } - + market_culture_modifier = { + parameter = saharan_salt_reliance + trade_good_salt_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_salt amount = sahel_salt_need @@ -7615,7 +7155,10 @@ pb_tribal_economy_prestige_04 = { } } } - + market_culture_modifier = { + parameter = copper_casting + trade_good_copper_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_copper amount = west_african_copper_need @@ -7627,6 +7170,15 @@ pb_tribal_economy_prestige_04 = { } } } + ai_value = { + base = 9.7 + ai_tribal_context_modifier = yes + ai_economical_building_preference_modifier = yes + directive_to_build_economy_modifier = yes + ai_general_building_modifier = yes + ai_capital_preference_modifier = yes + ai_regular_district_upgrade_modifier = { LEVEL = 4 } + } } diff --git a/common/buildings/resource_district_buildings/alum_district_buildings.txt b/common/buildings/resource_district_buildings/alum_district_buildings.txt index dcbdb6b33..173b25ba3 100644 --- a/common/buildings/resource_district_buildings/alum_district_buildings.txt +++ b/common/buildings/resource_district_buildings/alum_district_buildings.txt @@ -144,21 +144,6 @@ alum_apothecary_1 = { market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = alum_apothecary_2 - type_icon = "resource_buildings/alum_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_alum amount = basic_resource_need @@ -176,6 +161,20 @@ alum_apothecary_1 = { } } } + on_complete = { + } + next_building = alum_apothecary_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + } alum_apothecary_2 = { @@ -202,20 +201,6 @@ alum_apothecary_2 = { market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = alum_apothecary_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_alum amount = basic_resource_need @@ -235,6 +220,19 @@ alum_apothecary_2 = { } } } + on_complete = { + } + next_building = alum_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } alum_apothecary_3 = { @@ -261,20 +259,6 @@ alum_apothecary_3 = { market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = alum_apothecary_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_alum amount = basic_resource_need @@ -294,6 +278,19 @@ alum_apothecary_3 = { } } } + on_complete = { + } + next_building = alum_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } alum_apothecary_4 = { @@ -320,20 +317,6 @@ alum_apothecary_4 = { market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = alum_apothecary_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_alum amount = basic_resource_need @@ -353,6 +336,19 @@ alum_apothecary_4 = { } } } + on_complete = { + } + next_building = alum_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } alum_apothecary_5 = { @@ -379,19 +375,6 @@ alum_apothecary_5 = { market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_alum amount = basic_resource_need @@ -411,4 +394,16 @@ alum_apothecary_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/amber_district_buildings.txt b/common/buildings/resource_district_buildings/amber_district_buildings.txt index ce21126bc..c460b6772 100644 --- a/common/buildings/resource_district_buildings/amber_district_buildings.txt +++ b/common/buildings/resource_district_buildings/amber_district_buildings.txt @@ -1022,21 +1022,6 @@ bead_turner_1 = { monthly_piety = bead_turner_piety_tier_1 } - - on_complete = { - - } - - next_building = bead_turner_2 - type_icon = "resource_buildings/bead_turner.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1051,6 +1036,19 @@ bead_turner_1 = { } } } + on_complete = { + + } + + next_building = bead_turner_2 + type_icon = "resource_buildings/bead_turner.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } bead_turner_2 = { @@ -1081,20 +1079,6 @@ bead_turner_2 = { monthly_piety = bead_turner_piety_tier_2 } - - on_complete = { - - } - - next_building = bead_turner_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1111,6 +1095,18 @@ bead_turner_2 = { } } } + on_complete = { + + } + + next_building = bead_turner_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } bead_turner_3 = { @@ -1141,20 +1137,6 @@ bead_turner_3 = { monthly_piety = bead_turner_piety_tier_3 } - - on_complete = { - - } - - next_building = bead_turner_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1171,6 +1153,18 @@ bead_turner_3 = { } } } + on_complete = { + + } + + next_building = bead_turner_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } bead_turner_4 = { @@ -1201,20 +1195,6 @@ bead_turner_4 = { monthly_piety = bead_turner_piety_tier_4 } - - on_complete = { - - } - - next_building = bead_turner_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1231,6 +1211,18 @@ bead_turner_4 = { } } } + on_complete = { + + } + + next_building = bead_turner_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } bead_turner_5 = { @@ -1261,19 +1253,6 @@ bead_turner_5 = { monthly_piety = bead_turner_piety_tier_5 } - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1290,6 +1269,17 @@ bead_turner_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } amber_oil_maker_1 = { @@ -1319,7 +1309,16 @@ amber_oil_maker_1 = { - + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } on_complete = { } @@ -1336,17 +1335,6 @@ amber_oil_maker_1 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need - prosperity_growth = amber_oil_maker_prosperity_per_amber_need - } - } - } } amber_oil_maker_2 = { @@ -1378,7 +1366,18 @@ amber_oil_maker_2 = { + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } on_complete = { } @@ -1394,19 +1393,6 @@ amber_oil_maker_2 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_amber - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need - prosperity_growth = amber_oil_maker_prosperity_per_amber_need - } - } - } } amber_oil_maker_3 = { @@ -1438,7 +1424,18 @@ amber_oil_maker_3 = { + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } on_complete = { } @@ -1454,19 +1451,6 @@ amber_oil_maker_3 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_amber - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need - prosperity_growth = amber_oil_maker_prosperity_per_amber_need - } - } - } } amber_oil_maker_4 = { @@ -1498,7 +1482,18 @@ amber_oil_maker_4 = { + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } on_complete = { } @@ -1514,19 +1509,6 @@ amber_oil_maker_4 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_amber - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need - prosperity_growth = amber_oil_maker_prosperity_per_amber_need - } - } - } } amber_oil_maker_5 = { @@ -1558,7 +1540,18 @@ amber_oil_maker_5 = { + trade_good_need = { + trade_good = trade_good_amber + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need + prosperity_growth = amber_oil_maker_prosperity_per_amber_need + } + } + } on_complete = { } @@ -1573,19 +1566,6 @@ amber_oil_maker_5 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_amber - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = amber_oil_maker_medicaments_output_per_amber_need - prosperity_growth = amber_oil_maker_prosperity_per_amber_need - } - } - } } amber_carver_1 = { @@ -1610,21 +1590,6 @@ amber_carver_1 = { - - on_complete = { - - } - - next_building = amber_carver_2 - type_icon = "resource_buildings/amber_carver.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1639,6 +1604,19 @@ amber_carver_1 = { } } } + on_complete = { + + } + + next_building = amber_carver_2 + type_icon = "resource_buildings/amber_carver.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } amber_carver_2 = { @@ -1665,20 +1643,6 @@ amber_carver_2 = { - - on_complete = { - - } - - next_building = amber_carver_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1695,6 +1659,18 @@ amber_carver_2 = { } } } + on_complete = { + + } + + next_building = amber_carver_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } amber_carver_3 = { @@ -1721,20 +1697,6 @@ amber_carver_3 = { - - on_complete = { - - } - - next_building = amber_carver_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1751,6 +1713,18 @@ amber_carver_3 = { } } } + on_complete = { + + } + + next_building = amber_carver_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } amber_carver_4 = { @@ -1777,20 +1751,6 @@ amber_carver_4 = { - - on_complete = { - - } - - next_building = amber_carver_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1807,6 +1767,18 @@ amber_carver_4 = { } } } + on_complete = { + + } + + next_building = amber_carver_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } amber_carver_5 = { @@ -1833,19 +1805,6 @@ amber_carver_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_amber amount = basic_resource_need @@ -1862,4 +1821,15 @@ amber_carver_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_amber } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/cattle_district_buildings.txt b/common/buildings/resource_district_buildings/cattle_district_buildings.txt index 1e4ffe37d..7a6d0b51a 100644 --- a/common/buildings/resource_district_buildings/cattle_district_buildings.txt +++ b/common/buildings/resource_district_buildings/cattle_district_buildings.txt @@ -56,15 +56,6 @@ parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -76,6 +67,14 @@ } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } + } cattle_resource_building_2 = { @@ -131,22 +130,6 @@ cattle_resource_building_2 = { levy_size = 0.02 } - - next_building = cattle_resource_building_3 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -164,7 +147,11 @@ cattle_resource_building_2 = { } } } - + next_building = cattle_resource_building_3 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -176,6 +163,15 @@ cattle_resource_building_2 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + } cattle_resource_building_3 = { @@ -232,26 +228,6 @@ cattle_resource_building_3 = { levy_size = 0.03 } - - cost_gold = resource_district_normal_tier_3_cost - province_modifier = { - trade_good_cattle_production_add = tier_3_main_resource - } - next_building = cattle_resource_building_4 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -269,7 +245,15 @@ cattle_resource_building_3 = { } } } - + cost_gold = resource_district_normal_tier_3_cost + province_modifier = { + trade_good_cattle_production_add = tier_3_main_resource + } + next_building = cattle_resource_building_4 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -281,6 +265,15 @@ cattle_resource_building_3 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + } cattle_resource_building_4 = { @@ -338,22 +331,6 @@ cattle_resource_building_4 = { levy_size = 0.04 } - - next_building = cattle_resource_building_5 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -371,7 +348,11 @@ cattle_resource_building_4 = { } } } - + next_building = cattle_resource_building_5 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -383,6 +364,15 @@ cattle_resource_building_4 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + } cattle_resource_building_5 = { @@ -440,22 +430,6 @@ cattle_resource_building_5 = { levy_size = 0.05 } - - next_building = cattle_resource_building_6 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -473,7 +447,11 @@ cattle_resource_building_5 = { } } } - + next_building = cattle_resource_building_6 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -485,6 +463,15 @@ cattle_resource_building_5 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + } cattle_resource_building_6 = { @@ -542,22 +529,6 @@ cattle_resource_building_6 = { levy_size = 0.06 } - - next_building = cattle_resource_building_7 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -577,7 +548,11 @@ cattle_resource_building_6 = { } } } - + next_building = cattle_resource_building_7 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -589,6 +564,15 @@ cattle_resource_building_6 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + } cattle_resource_building_7 = { @@ -646,22 +630,6 @@ cattle_resource_building_7 = { levy_size = 0.07 } - - next_building = cattle_resource_building_8 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -681,7 +649,11 @@ cattle_resource_building_7 = { } } } - + next_building = cattle_resource_building_8 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -693,6 +665,15 @@ cattle_resource_building_7 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + } cattle_resource_building_8 = { @@ -750,22 +731,6 @@ cattle_resource_building_8 = { levy_size = 0.08 } - - next_building = cattle_resource_building_9 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -785,7 +750,11 @@ cattle_resource_building_8 = { } } } - + next_building = cattle_resource_building_9 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -797,6 +766,15 @@ cattle_resource_building_8 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + } cattle_resource_building_9 = { @@ -854,22 +832,6 @@ cattle_resource_building_9 = { levy_size = 0.09 } - - next_building = cattle_resource_building_10 - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -889,7 +851,11 @@ cattle_resource_building_9 = { } } } - + next_building = cattle_resource_building_10 + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -901,6 +867,15 @@ cattle_resource_building_9 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + } cattle_resource_building_10 = { @@ -958,21 +933,6 @@ cattle_resource_building_10 = { levy_size = 0.1 } - - market_culture_modifier = { - parameter = butter_tea_drinking - trade_good_tea_sell_price_mult = regional_demand_price_mult - } - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { #Food for the winter, during droughts, etc trade_good = trade_good_grain amount = basic_resource_need @@ -992,7 +952,10 @@ cattle_resource_building_10 = { } } } - + market_culture_modifier = { + parameter = butter_tea_drinking + trade_good_tea_sell_price_mult = regional_demand_price_mult + } trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -1004,6 +967,15 @@ cattle_resource_building_10 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + } #Butchery @@ -1031,24 +1003,6 @@ butchery_1 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - - on_complete = { - } - next_building = butchery_2 - type_icon = "resource_buildings/butchery.dds" - ai_value = { - base = 11 #Prioritize Food when we can - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_cattle amount = major_basic_resource_need @@ -1066,7 +1020,6 @@ butchery_1 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = major_basic_resource_need @@ -1084,6 +1037,22 @@ butchery_1 = { } } } + on_complete = { + } + next_building = butchery_2 + type_icon = "resource_buildings/butchery.dds" + ai_value = { + base = 11 #Prioritize Food when we can + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + } butchery_2 = { @@ -1112,23 +1081,6 @@ butchery_2 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - - on_complete = { - } - next_building = butchery_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cattle amount = major_basic_resource_need @@ -1148,7 +1100,6 @@ butchery_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = major_basic_resource_need @@ -1166,6 +1117,21 @@ butchery_2 = { } } } + on_complete = { + } + next_building = butchery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } butchery_3 = { @@ -1194,23 +1160,6 @@ butchery_3 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - - on_complete = { - } - next_building = butchery_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cattle amount = major_basic_resource_need @@ -1230,7 +1179,6 @@ butchery_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = major_basic_resource_need @@ -1248,6 +1196,21 @@ butchery_3 = { } } } + on_complete = { + } + next_building = butchery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } butchery_4 = { @@ -1276,23 +1239,6 @@ butchery_4 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - - on_complete = { - } - next_building = butchery_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cattle amount = major_basic_resource_need @@ -1312,7 +1258,6 @@ butchery_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = major_basic_resource_need @@ -1330,6 +1275,21 @@ butchery_4 = { } } } + on_complete = { + } + next_building = butchery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } butchery_5 = { @@ -1358,22 +1318,6 @@ butchery_5 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cattle amount = major_basic_resource_need @@ -1393,7 +1337,6 @@ butchery_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = major_basic_resource_need @@ -1411,6 +1354,20 @@ butchery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_medium } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Cheese Maker (actually also Butter/other durable dairy) @@ -1440,21 +1397,6 @@ cheesemaker_1 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - on_complete = { - } - next_building = cheesemaker_2 - type_icon = "regular_buildings/cheesemaker.dds" - ai_value = { - base = 11 #Food gets more prio - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1472,6 +1414,20 @@ cheesemaker_1 = { } } } + on_complete = { + } + next_building = cheesemaker_2 + type_icon = "regular_buildings/cheesemaker.dds" + ai_value = { + base = 11 #Food gets more prio + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } + } cheesemaker_2 = { @@ -1500,20 +1456,6 @@ cheesemaker_2 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - on_complete = { - } - next_building = cheesemaker_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1533,6 +1475,19 @@ cheesemaker_2 = { } } } + on_complete = { + } + next_building = cheesemaker_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cheesemaker_3 = { @@ -1561,20 +1516,6 @@ cheesemaker_3 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - on_complete = { - } - next_building = cheesemaker_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1594,6 +1535,19 @@ cheesemaker_3 = { } } } + on_complete = { + } + next_building = cheesemaker_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cheesemaker_4 = { @@ -1622,20 +1576,6 @@ cheesemaker_4 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - on_complete = { - } - next_building = cheesemaker_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1655,6 +1595,19 @@ cheesemaker_4 = { } } } + on_complete = { + } + next_building = cheesemaker_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cheesemaker_5 = { @@ -1683,19 +1636,6 @@ cheesemaker_5 = { market_modifier = { trade_good_salt_sell_price_mult = price_major_basic_building } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1715,6 +1655,18 @@ cheesemaker_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Secondary Resource Cattle Line @@ -1862,18 +1814,6 @@ tallow_rendering_1 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_1 } - - on_complete = { - } - next_building = tallow_rendering_2 - type_icon = "resource_buildings/tallow_rendering.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1888,6 +1828,17 @@ tallow_rendering_1 = { } } } + on_complete = { + } + next_building = tallow_rendering_2 + type_icon = "resource_buildings/tallow_rendering.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } tallow_rendering_2 = { @@ -1907,17 +1858,6 @@ tallow_rendering_2 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_2 } - - on_complete = { - } - next_building = tallow_rendering_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1934,6 +1874,16 @@ tallow_rendering_2 = { } } } + on_complete = { + } + next_building = tallow_rendering_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } tallow_rendering_3 = { @@ -1953,17 +1903,6 @@ tallow_rendering_3 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_3 } - - on_complete = { - } - next_building = tallow_rendering_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1980,6 +1919,16 @@ tallow_rendering_3 = { } } } + on_complete = { + } + next_building = tallow_rendering_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } tallow_rendering_4 = { @@ -1999,17 +1948,6 @@ tallow_rendering_4 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_4 } - - on_complete = { - } - next_building = tallow_rendering_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -2026,6 +1964,16 @@ tallow_rendering_4 = { } } } + on_complete = { + } + next_building = tallow_rendering_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } tallow_rendering_5 = { @@ -2045,16 +1993,6 @@ tallow_rendering_5 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = tallow_size_growth_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -2071,6 +2009,15 @@ tallow_rendering_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } manure_piles_1 = { diff --git a/common/buildings/resource_district_buildings/ceramics_district_buildings.txt b/common/buildings/resource_district_buildings/ceramics_district_buildings.txt index e0882dd41..8ad5b58ac 100644 --- a/common/buildings/resource_district_buildings/ceramics_district_buildings.txt +++ b/common/buildings/resource_district_buildings/ceramics_district_buildings.txt @@ -567,19 +567,6 @@ ceramics_resource_building_8 = { monthly_artisan_tax = industrious_tradition_tax_bonus_mid } - - - next_building = ceramics_resource_building_9 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -597,6 +584,17 @@ ceramics_resource_building_8 = { } } } + + next_building = ceramics_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } } ceramics_resource_building_9 = { @@ -638,19 +636,6 @@ ceramics_resource_building_9 = { monthly_artisan_tax = industrious_tradition_tax_bonus_high } - - - next_building = ceramics_resource_building_10 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -669,6 +654,17 @@ ceramics_resource_building_9 = { } } } + + next_building = ceramics_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } } ceramics_resource_building_10 = { @@ -710,18 +706,6 @@ ceramics_resource_building_10 = { monthly_artisan_tax = industrious_tradition_tax_bonus_high } - - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -740,6 +724,16 @@ ceramics_resource_building_10 = { } } } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } } fuel_charcoal_burners_1 = { @@ -766,23 +760,6 @@ fuel_charcoal_burners_1 = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fuel_charcoal_burners_2 - type_icon = "resource_buildings/coal_pile.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -800,6 +777,21 @@ fuel_charcoal_burners_1 = { } } } + on_complete = { + + } + + next_building = fuel_charcoal_burners_2 + type_icon = "resource_buildings/coal_pile.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } } fuel_charcoal_burners_2 = { @@ -828,22 +820,6 @@ fuel_charcoal_burners_2 = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fuel_charcoal_burners_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -863,6 +839,20 @@ fuel_charcoal_burners_2 = { } } } + on_complete = { + + } + + next_building = fuel_charcoal_burners_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } fuel_charcoal_burners_3 = { @@ -891,22 +881,6 @@ fuel_charcoal_burners_3 = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fuel_charcoal_burners_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -926,6 +900,20 @@ fuel_charcoal_burners_3 = { } } } + on_complete = { + + } + + next_building = fuel_charcoal_burners_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } fuel_charcoal_burners_4 = { @@ -954,22 +942,6 @@ fuel_charcoal_burners_4 = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fuel_charcoal_burners_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -989,6 +961,20 @@ fuel_charcoal_burners_4 = { } } } + on_complete = { + + } + + next_building = fuel_charcoal_burners_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } fuel_charcoal_burners_5 = { @@ -1017,20 +1003,6 @@ fuel_charcoal_burners_5 = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1050,6 +1022,18 @@ fuel_charcoal_burners_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } ceramics_glazeworks_1 = { @@ -1084,24 +1068,6 @@ ceramics_glazeworks_1 = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramics_glazeworks_2 - type_icon = "old_buildings/hospice.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1119,6 +1085,22 @@ ceramics_glazeworks_1 = { } } } + on_complete = { + + } + + next_building = ceramics_glazeworks_2 + type_icon = "old_buildings/hospice.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } } ceramics_glazeworks_2 = { @@ -1155,23 +1137,6 @@ ceramics_glazeworks_2 = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramics_glazeworks_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1191,6 +1156,21 @@ ceramics_glazeworks_2 = { } } } + on_complete = { + + } + + next_building = ceramics_glazeworks_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } ceramics_glazeworks_3 = { @@ -1227,23 +1207,6 @@ ceramics_glazeworks_3 = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramics_glazeworks_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1263,6 +1226,21 @@ ceramics_glazeworks_3 = { } } } + on_complete = { + + } + + next_building = ceramics_glazeworks_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } ceramics_glazeworks_4 = { @@ -1299,23 +1277,6 @@ ceramics_glazeworks_4 = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramics_glazeworks_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1335,6 +1296,21 @@ ceramics_glazeworks_4 = { } } } + on_complete = { + + } + + next_building = ceramics_glazeworks_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } ceramics_glazeworks_5 = { @@ -1371,21 +1347,6 @@ ceramics_glazeworks_5 = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1405,6 +1366,19 @@ ceramics_glazeworks_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } luxury_ceramics_workshops_1 = { @@ -1437,7 +1411,15 @@ luxury_ceramics_workshops_1 = { trade_good_ceramics_sell_price_mult = price_luxury_building } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } on_complete = { } @@ -1452,16 +1434,6 @@ luxury_ceramics_workshops_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = low_resource_district_need - modifiers = { - character_modifier = { - court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need - } - } - } } luxury_ceramics_workshops_2 = { @@ -1495,7 +1467,17 @@ luxury_ceramics_workshops_2 = { trade_good_ceramics_sell_price_mult = price_luxury_building } + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } on_complete = { } @@ -1509,18 +1491,6 @@ luxury_ceramics_workshops_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = low_resource_district_need - - can_be_filled_multiple_times = 2 - modifiers = { - character_modifier = { - court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need - } - } - } } luxury_ceramics_workshops_3 = { @@ -1554,7 +1524,17 @@ luxury_ceramics_workshops_3 = { trade_good_ceramics_sell_price_mult = price_luxury_building } + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } on_complete = { } @@ -1568,18 +1548,6 @@ luxury_ceramics_workshops_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = low_resource_district_need - - can_be_filled_multiple_times = 3 - modifiers = { - character_modifier = { - court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need - } - } - } } luxury_ceramics_workshops_4 = { @@ -1613,7 +1581,17 @@ luxury_ceramics_workshops_4 = { trade_good_ceramics_sell_price_mult = price_luxury_building } + trade_good_need = { + trade_good = trade_good_ceramics + amount = low_resource_district_need + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need + } + } + } on_complete = { } @@ -1627,18 +1605,6 @@ luxury_ceramics_workshops_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = low_resource_district_need - - can_be_filled_multiple_times = 4 - modifiers = { - character_modifier = { - court_grandeur_baseline_add = luxury_ceramics_court_grandeur_per_ceramics_need - } - } - } } luxury_ceramics_workshops_5 = { @@ -1672,19 +1638,6 @@ luxury_ceramics_workshops_5 = { trade_good_ceramics_sell_price_mult = price_luxury_building } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = low_resource_district_need @@ -1696,6 +1649,17 @@ luxury_ceramics_workshops_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } ceramics_dragon_kiln_1 = { @@ -1721,23 +1685,6 @@ ceramics_dragon_kiln_1 = { trade_good_wood_sell_price_mult = price_major_basic_building } - - on_complete = { - - } - - next_building = ceramics_dragon_kiln_2 - type_icon = "duchy_buildings/dragon_kiln.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = major_basic_resource_need @@ -1755,6 +1702,21 @@ ceramics_dragon_kiln_1 = { } } } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_2 + type_icon = "duchy_buildings/dragon_kiln.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_new_building_modifier = yes + } } ceramics_dragon_kiln_2 = { @@ -1781,22 +1743,6 @@ ceramics_dragon_kiln_2 = { trade_good_wood_sell_price_mult = price_major_basic_building } - - on_complete = { - - } - - next_building = ceramics_dragon_kiln_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = major_basic_resource_need @@ -1816,6 +1762,20 @@ ceramics_dragon_kiln_2 = { } } } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } ceramics_dragon_kiln_3 = { @@ -1842,22 +1802,6 @@ ceramics_dragon_kiln_3 = { trade_good_wood_sell_price_mult = price_major_basic_building } - - on_complete = { - - } - - next_building = ceramics_dragon_kiln_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = major_basic_resource_need @@ -1877,6 +1821,20 @@ ceramics_dragon_kiln_3 = { } } } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } ceramics_dragon_kiln_4 = { @@ -1903,22 +1861,6 @@ ceramics_dragon_kiln_4 = { trade_good_wood_sell_price_mult = price_major_basic_building } - - on_complete = { - - } - - next_building = ceramics_dragon_kiln_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = major_basic_resource_need @@ -1938,6 +1880,20 @@ ceramics_dragon_kiln_4 = { } } } + on_complete = { + + } + + next_building = ceramics_dragon_kiln_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } ceramics_dragon_kiln_5 = { @@ -1964,20 +1920,6 @@ ceramics_dragon_kiln_5 = { trade_good_wood_sell_price_mult = price_major_basic_building } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_ceramics } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = major_basic_resource_need @@ -1997,6 +1939,18 @@ ceramics_dragon_kiln_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_ceramics } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } ceramic_tile_workshops_1 = { @@ -2024,21 +1978,6 @@ ceramic_tile_workshops_1 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramic_tile_workshops_2 - type_icon = "regular_buildings/tile_workshop.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2052,6 +1991,19 @@ ceramic_tile_workshops_1 = { } } } + on_complete = { + + } + + next_building = ceramic_tile_workshops_2 + type_icon = "regular_buildings/tile_workshop.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } ceramic_tile_workshops_2 = { @@ -2080,20 +2032,6 @@ ceramic_tile_workshops_2 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramic_tile_workshops_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2109,6 +2047,18 @@ ceramic_tile_workshops_2 = { } } } + on_complete = { + + } + + next_building = ceramic_tile_workshops_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } ceramic_tile_workshops_3 = { @@ -2137,20 +2087,6 @@ ceramic_tile_workshops_3 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramic_tile_workshops_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2166,6 +2102,18 @@ ceramic_tile_workshops_3 = { } } } + on_complete = { + + } + + next_building = ceramic_tile_workshops_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } ceramic_tile_workshops_4 = { @@ -2194,20 +2142,6 @@ ceramic_tile_workshops_4 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = ceramic_tile_workshops_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2223,6 +2157,18 @@ ceramic_tile_workshops_4 = { } } } + on_complete = { + + } + + next_building = ceramic_tile_workshops_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } ceramic_tile_workshops_5 = { @@ -2251,18 +2197,6 @@ ceramic_tile_workshops_5 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2278,6 +2212,16 @@ ceramic_tile_workshops_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } fritware_workshops_1 = { @@ -2310,24 +2254,6 @@ fritware_workshops_1 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fritware_workshops_2 - type_icon = "resource_buildings/vinegar_stores.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2345,6 +2271,22 @@ fritware_workshops_1 = { } } } + on_complete = { + + } + + next_building = fritware_workshops_2 + type_icon = "resource_buildings/vinegar_stores.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_new_building_modifier = yes + } } fritware_workshops_2 = { @@ -2378,23 +2320,6 @@ fritware_workshops_2 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fritware_workshops_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2414,6 +2339,21 @@ fritware_workshops_2 = { } } } + on_complete = { + + } + + next_building = fritware_workshops_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } fritware_workshops_3 = { @@ -2447,23 +2387,6 @@ fritware_workshops_3 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fritware_workshops_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2483,6 +2406,21 @@ fritware_workshops_3 = { } } } + on_complete = { + + } + + next_building = fritware_workshops_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } fritware_workshops_4 = { @@ -2516,23 +2454,6 @@ fritware_workshops_4 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - next_building = fritware_workshops_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2552,6 +2473,21 @@ fritware_workshops_4 = { } } } + on_complete = { + + } + + next_building = fritware_workshops_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } fritware_workshops_5 = { @@ -2585,21 +2521,6 @@ fritware_workshops_5 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = basic_resource_need @@ -2619,6 +2540,19 @@ fritware_workshops_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Uses lower-grade clay to turn one spare building slot into modest tax without adding market needs. diff --git a/common/buildings/resource_district_buildings/copper_district_buildings.txt b/common/buildings/resource_district_buildings/copper_district_buildings.txt index 501de50c5..1738f3400 100644 --- a/common/buildings/resource_district_buildings/copper_district_buildings.txt +++ b/common/buildings/resource_district_buildings/copper_district_buildings.txt @@ -152,17 +152,6 @@ bronze_artisan_workshop_1 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_3_main_income_tribal } - - next_building = bronze_artisan_workshop_2 - type_icon = "resource_buildings/bronze_artisan_workshops.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -180,6 +169,16 @@ bronze_artisan_workshop_1 = { } } } + next_building = bronze_artisan_workshop_2 + type_icon = "resource_buildings/bronze_artisan_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } bronze_artisan_workshop_2 = { @@ -210,16 +209,6 @@ bronze_artisan_workshop_2 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_4_main_income_tribal } - - next_building = bronze_artisan_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -239,6 +228,15 @@ bronze_artisan_workshop_2 = { } } } + next_building = bronze_artisan_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } bronze_artisan_workshop_3 = { @@ -269,16 +267,6 @@ bronze_artisan_workshop_3 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_5_main_income_tribal } - - next_building = bronze_artisan_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -298,6 +286,15 @@ bronze_artisan_workshop_3 = { } } } + next_building = bronze_artisan_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } bronze_artisan_workshop_4 = { @@ -328,16 +325,6 @@ bronze_artisan_workshop_4 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_6_main_income_tribal } - - next_building = bronze_artisan_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -357,6 +344,15 @@ bronze_artisan_workshop_4 = { } } } + next_building = bronze_artisan_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } bronze_artisan_workshop_5 = { @@ -387,15 +383,6 @@ bronze_artisan_workshop_5 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_7_main_income_tribal } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -415,6 +402,14 @@ bronze_artisan_workshop_5 = { } } } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } bell_foundry_1 = { @@ -445,17 +440,6 @@ bell_foundry_1 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_3_main_income_tribal } - - next_building = bell_foundry_2 - type_icon = "resource_buildings/bell_foundry.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -473,6 +457,16 @@ bell_foundry_1 = { } } } + next_building = bell_foundry_2 + type_icon = "resource_buildings/bell_foundry.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } bell_foundry_2 = { @@ -503,16 +497,6 @@ bell_foundry_2 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_3_main_income_tribal } - - next_building = bell_foundry_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -530,6 +514,15 @@ bell_foundry_2 = { } } } + next_building = bell_foundry_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } bell_foundry_3 = { @@ -560,15 +553,6 @@ bell_foundry_3 = { parameter = government_is_tribal monthly_artisan_tax = resource_tier_3_main_income_tribal } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #Raw Material trade_good = trade_good_copper amount = metal_resource_need @@ -586,6 +570,14 @@ bell_foundry_3 = { } } } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } #Cannons @@ -616,7 +608,15 @@ artillery_works_1 = { monthly_artisan_tax = resource_tier_1_main_income_tribal } #Cannons & Cannon Balls - + trade_good_need = { + trade_good = trade_good_copper + amount = massive_metal_need + modifiers = { + province_modifier = { + stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_1 + } + } + } on_complete = { } next_building = artillery_works_2 @@ -629,15 +629,6 @@ artillery_works_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_copper - amount = massive_metal_need - modifiers = { - province_modifier = { - stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_1 - } - } - } } artillery_works_2 = { @@ -662,7 +653,15 @@ artillery_works_2 = { monthly_artisan_tax = resource_tier_1_main_income_tribal } #Cannons - + trade_good_need = { + trade_good = trade_good_copper + amount = massive_metal_need + modifiers = { + province_modifier = { + stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_2 + } + } + } on_complete = { } next_building = artillery_works_3 @@ -674,15 +673,6 @@ artillery_works_2 = { ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good = trade_good_copper - amount = massive_metal_need - modifiers = { - province_modifier = { - stationed_siege_weapon_siege_value_mult = very_high_maa_siege_value_tier_2 - } - } - } } artillery_works_3 = { @@ -707,17 +697,6 @@ artillery_works_3 = { monthly_artisan_tax = resource_tier_1_main_income_tribal } #Cannons - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_copper amount = massive_metal_need @@ -729,6 +708,16 @@ artillery_works_3 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } #Mint @@ -770,24 +759,6 @@ mint_1 = { prosperity_growth = 0.01 } #Copper Coins - - #Silver Coins - - #Gold Coins - - on_complete = { - } - next_building = mint_2 - type_icon = "duchy_buildings/tax_assessor.dds" - ai_value = { - base = 10.7 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -797,7 +768,7 @@ mint_1 = { } } } - + #Silver Coins trade_good_need = { trade_good = trade_good_silver amount = metal_resource_need @@ -815,7 +786,7 @@ mint_1 = { } } } - + #Gold Coins trade_good_need = { trade_good = trade_good_gold amount = metal_resource_need @@ -830,6 +801,19 @@ mint_1 = { } } } + on_complete = { + } + next_building = mint_2 + type_icon = "duchy_buildings/tax_assessor.dds" + ai_value = { + base = 10.7 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } mint_2 = { @@ -853,23 +837,6 @@ mint_2 = { prosperity_growth = 0.02 } #Copper Coins - - #Silver Coins - - #Gold Coins - - on_complete = { - } - next_building = mint_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -880,7 +847,7 @@ mint_2 = { } } } - + #Silver Coins trade_good_need = { trade_good = trade_good_silver amount = metal_resource_need @@ -899,7 +866,7 @@ mint_2 = { } } } - + #Gold Coins trade_good_need = { trade_good = trade_good_gold amount = metal_resource_need @@ -915,6 +882,18 @@ mint_2 = { } } } + on_complete = { + } + next_building = mint_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } mint_3 = { @@ -936,23 +915,6 @@ mint_3 = { prosperity_growth = 0.03 } #Copper Coins - - #Silver Coins - - #Gold Coins - - on_complete = { - } - next_building = mint_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -963,7 +925,7 @@ mint_3 = { } } } - + #Silver Coins trade_good_need = { trade_good = trade_good_silver amount = metal_resource_need @@ -982,7 +944,7 @@ mint_3 = { } } } - + #Gold Coins trade_good_need = { trade_good = trade_good_gold amount = metal_resource_need @@ -998,6 +960,18 @@ mint_3 = { } } } + on_complete = { + } + next_building = mint_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } mint_4 = { @@ -1021,23 +995,6 @@ mint_4 = { prosperity_growth = 0.04 } #Copper Coins - - #Silver Coins - - #Gold Coins - - on_complete = { - } - next_building = mint_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -1048,7 +1005,7 @@ mint_4 = { } } } - + #Silver Coins trade_good_need = { trade_good = trade_good_silver amount = metal_resource_need @@ -1067,7 +1024,7 @@ mint_4 = { } } } - + #Gold Coins trade_good_need = { trade_good = trade_good_gold amount = metal_resource_need @@ -1083,6 +1040,18 @@ mint_4 = { } } } + on_complete = { + } + next_building = mint_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } mint_5 = { @@ -1106,22 +1075,6 @@ mint_5 = { prosperity_growth = 0.05 } #Copper Coins - - #Silver Coins - - #Gold Coins - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_copper amount = metal_resource_need @@ -1132,7 +1085,7 @@ mint_5 = { } } } - + #Silver Coins trade_good_need = { trade_good = trade_good_silver amount = metal_resource_need @@ -1151,7 +1104,7 @@ mint_5 = { } } } - + #Gold Coins trade_good_need = { trade_good = trade_good_gold amount = metal_resource_need @@ -1167,4 +1120,15 @@ mint_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_copper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + ai_resource_building_consumer_modifier = { GOOD = trade_good_gold } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/cotton_district_buildings.txt b/common/buildings/resource_district_buildings/cotton_district_buildings.txt index cb2255c0a..d83a326ed 100644 --- a/common/buildings/resource_district_buildings/cotton_district_buildings.txt +++ b/common/buildings/resource_district_buildings/cotton_district_buildings.txt @@ -954,7 +954,23 @@ textiles_cotton_building_1 = { market_modifier = { trade_good_cotton_sell_price_mult = price_textiles_building_1 } - + trade_good_need = { + trade_good = trade_good_cotton + amount = textiles_cotton_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } on_complete = { @@ -973,24 +989,6 @@ textiles_cotton_building_1 = { ai_market_shortage_modifier = { GOOD = trade_good_textiles } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = textiles_cotton_need_per_level - modifiers = { - province_modifier = { - trade_good_textiles_production_add = textiles_output_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level_tribal - } - } - } } textiles_cotton_building_2 = { @@ -1023,25 +1021,6 @@ textiles_cotton_building_2 = { market_modifier = { trade_good_cotton_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_cotton_building_3 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cotton amount = textiles_cotton_need_per_level @@ -1061,6 +1040,23 @@ textiles_cotton_building_2 = { } } } + + on_complete = { + + } + + next_building = textiles_cotton_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } textiles_cotton_building_3 = { @@ -1093,25 +1089,6 @@ textiles_cotton_building_3 = { market_modifier = { trade_good_cotton_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_cotton_building_4 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cotton amount = textiles_cotton_need_per_level @@ -1131,6 +1108,23 @@ textiles_cotton_building_3 = { } } } + + on_complete = { + + } + + next_building = textiles_cotton_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } textiles_cotton_building_4 = { @@ -1163,25 +1157,6 @@ textiles_cotton_building_4 = { market_modifier = { trade_good_cotton_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_cotton_building_5 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cotton amount = textiles_cotton_need_per_level @@ -1201,6 +1176,23 @@ textiles_cotton_building_4 = { } } } + + on_complete = { + + } + + next_building = textiles_cotton_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } textiles_cotton_building_5 = { @@ -1233,24 +1225,6 @@ textiles_cotton_building_5 = { market_modifier = { trade_good_cotton_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cotton amount = textiles_cotton_need_per_level @@ -1270,6 +1244,22 @@ textiles_cotton_building_5 = { } } } + + on_complete = { + + } + + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } wickmaker_1 = { @@ -1293,19 +1283,6 @@ wickmaker_1 = { parameter = government_is_tribal monthly_artisan_tax = wickmaker_income_tier_1_tribal } - - on_complete = { - } - next_building = wickmaker_2 - type_icon = "resource_buildings/wickmaker.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1320,6 +1297,18 @@ wickmaker_1 = { } } } + on_complete = { + } + next_building = wickmaker_2 + type_icon = "resource_buildings/wickmaker.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } wickmaker_2 = { @@ -1343,18 +1332,6 @@ wickmaker_2 = { parameter = government_is_tribal monthly_artisan_tax = wickmaker_income_tier_2_tribal } - - on_complete = { - } - next_building = wickmaker_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1371,6 +1348,17 @@ wickmaker_2 = { } } } + on_complete = { + } + next_building = wickmaker_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } wickmaker_3 = { @@ -1394,18 +1382,6 @@ wickmaker_3 = { parameter = government_is_tribal monthly_artisan_tax = wickmaker_income_tier_3_tribal } - - on_complete = { - } - next_building = wickmaker_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1422,6 +1398,17 @@ wickmaker_3 = { } } } + on_complete = { + } + next_building = wickmaker_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } wickmaker_4 = { @@ -1445,18 +1432,6 @@ wickmaker_4 = { parameter = government_is_tribal monthly_artisan_tax = wickmaker_income_tier_4_tribal } - - on_complete = { - } - next_building = wickmaker_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1473,6 +1448,17 @@ wickmaker_4 = { } } } + on_complete = { + } + next_building = wickmaker_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } wickmaker_5 = { @@ -1496,17 +1482,6 @@ wickmaker_5 = { parameter = government_is_tribal monthly_artisan_tax = wickmaker_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1523,6 +1498,16 @@ wickmaker_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } quilting_workshop_1 = { @@ -1545,7 +1530,16 @@ quilting_workshop_1 = { parameter = government_is_tribal monthly_artisan_tax = quilting_workshop_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_cotton + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need + stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need + } + } + } on_complete = { } next_building = quilting_workshop_2 @@ -1558,16 +1552,6 @@ quilting_workshop_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_cotton - amount = basic_resource_need - modifiers = { - province_modifier = { - stationed_maa_maintenance_low_modifier = quilting_workshop_maa_maintenance_per_cotton_need - stationed_maa_maintenance_high_modifier = quilting_workshop_maa_maintenance_per_cotton_need - } - } - } } quilting_workshop_2 = { @@ -1591,18 +1575,6 @@ quilting_workshop_2 = { parameter = government_is_tribal monthly_artisan_tax = quilting_workshop_income_tier_2_tribal } - - on_complete = { - } - next_building = quilting_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1615,6 +1587,17 @@ quilting_workshop_2 = { } } } + on_complete = { + } + next_building = quilting_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } quilting_workshop_3 = { @@ -1638,18 +1621,6 @@ quilting_workshop_3 = { parameter = government_is_tribal monthly_artisan_tax = quilting_workshop_income_tier_3_tribal } - - on_complete = { - } - next_building = quilting_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1662,6 +1633,17 @@ quilting_workshop_3 = { } } } + on_complete = { + } + next_building = quilting_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } quilting_workshop_4 = { @@ -1685,18 +1667,6 @@ quilting_workshop_4 = { parameter = government_is_tribal monthly_artisan_tax = quilting_workshop_income_tier_4_tribal } - - on_complete = { - } - next_building = quilting_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1709,6 +1679,17 @@ quilting_workshop_4 = { } } } + on_complete = { + } + next_building = quilting_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } quilting_workshop_5 = { @@ -1732,17 +1713,6 @@ quilting_workshop_5 = { parameter = government_is_tribal monthly_artisan_tax = quilting_workshop_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1755,6 +1725,16 @@ quilting_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } cottonseed_mill_1 = { @@ -1780,21 +1760,6 @@ cottonseed_mill_1 = { parameter = government_is_tribal monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_1_tribal } - - on_complete = { - } - next_building = cottonseed_mill_2 - type_icon = "resource_buildings/breaking_mill.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_cotton } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1809,6 +1774,20 @@ cottonseed_mill_1 = { } } } + on_complete = { + } + next_building = cottonseed_mill_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_new_building_modifier = yes + } + } cottonseed_mill_2 = { @@ -1835,20 +1814,6 @@ cottonseed_mill_2 = { parameter = government_is_tribal monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_2_tribal } - - on_complete = { - } - next_building = cottonseed_mill_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_cotton } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1865,6 +1830,19 @@ cottonseed_mill_2 = { } } } + on_complete = { + } + next_building = cottonseed_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cottonseed_mill_3 = { @@ -1891,20 +1869,6 @@ cottonseed_mill_3 = { parameter = government_is_tribal monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_3_tribal } - - on_complete = { - } - next_building = cottonseed_mill_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_cotton } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1921,6 +1885,19 @@ cottonseed_mill_3 = { } } } + on_complete = { + } + next_building = cottonseed_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cottonseed_mill_4 = { @@ -1947,20 +1924,6 @@ cottonseed_mill_4 = { parameter = government_is_tribal monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_4_tribal } - - on_complete = { - } - next_building = cottonseed_mill_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_cotton } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -1977,6 +1940,19 @@ cottonseed_mill_4 = { } } } + on_complete = { + } + next_building = cottonseed_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cottonseed_mill_5 = { @@ -2003,19 +1979,6 @@ cottonseed_mill_5 = { parameter = government_is_tribal monthly_agricultural_tax = cottonseed_mill_agricultural_tax_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_cotton } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_cotton } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cotton amount = basic_resource_need @@ -2032,6 +1995,18 @@ cottonseed_mill_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_cotton } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_cotton } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_cotton } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } mixed_fabric_weaver_1 = { @@ -2058,9 +2033,43 @@ mixed_fabric_weaver_1 = { parameter = government_is_tribal monthly_artisan_tax = mixed_fabric_weaver_income_tier_1_tribal } - - - + trade_good_need = { + trade_good = trade_good_silk + amount = luxury_resource_need + modifiers = { + character_modifier = { + monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need + } + } + } + trade_good_need = { + trade_good = trade_good_flax + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal + } + } + } on_complete = { } next_building = mixed_fabric_weaver_2 @@ -2077,45 +2086,6 @@ mixed_fabric_weaver_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_silk - amount = luxury_resource_need - modifiers = { - character_modifier = { - monthly_prestige = mixed_fabric_weaver_prestige_per_silk_need - } - } - } - - trade_good_need = { - trade_good = trade_good_flax - amount = basic_resource_need - modifiers = { - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_flax_need_tribal - } - } - } - - trade_good_need = { - trade_good = trade_good_wool - amount = basic_resource_need - modifiers = { - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = mixed_fabric_weaver_artisan_tax_per_wool_need_tribal - } - } - } } mixed_fabric_weaver_2 = { @@ -2142,24 +2112,6 @@ mixed_fabric_weaver_2 = { parameter = government_is_tribal monthly_artisan_tax = mixed_fabric_weaver_income_tier_2_tribal } - - - - on_complete = { - } - next_building = mixed_fabric_weaver_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2171,7 +2123,6 @@ mixed_fabric_weaver_2 = { } } } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -2188,7 +2139,6 @@ mixed_fabric_weaver_2 = { } } } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2205,6 +2155,21 @@ mixed_fabric_weaver_2 = { } } } + on_complete = { + } + next_building = mixed_fabric_weaver_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } mixed_fabric_weaver_3 = { @@ -2231,24 +2196,6 @@ mixed_fabric_weaver_3 = { parameter = government_is_tribal monthly_artisan_tax = mixed_fabric_weaver_income_tier_3_tribal } - - - - on_complete = { - } - next_building = mixed_fabric_weaver_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2260,7 +2207,6 @@ mixed_fabric_weaver_3 = { } } } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -2277,7 +2223,6 @@ mixed_fabric_weaver_3 = { } } } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2294,6 +2239,21 @@ mixed_fabric_weaver_3 = { } } } + on_complete = { + } + next_building = mixed_fabric_weaver_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } mixed_fabric_weaver_4 = { @@ -2320,24 +2280,6 @@ mixed_fabric_weaver_4 = { parameter = government_is_tribal monthly_artisan_tax = mixed_fabric_weaver_income_tier_4_tribal } - - - - on_complete = { - } - next_building = mixed_fabric_weaver_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2349,7 +2291,6 @@ mixed_fabric_weaver_4 = { } } } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -2366,7 +2307,6 @@ mixed_fabric_weaver_4 = { } } } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2383,6 +2323,21 @@ mixed_fabric_weaver_4 = { } } } + on_complete = { + } + next_building = mixed_fabric_weaver_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } mixed_fabric_weaver_5 = { @@ -2409,23 +2364,6 @@ mixed_fabric_weaver_5 = { parameter = government_is_tribal monthly_artisan_tax = mixed_fabric_weaver_income_tier_5_tribal } - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_silk amount = luxury_resource_need @@ -2437,7 +2375,6 @@ mixed_fabric_weaver_5 = { } } } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -2454,7 +2391,6 @@ mixed_fabric_weaver_5 = { } } } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2471,4 +2407,18 @@ mixed_fabric_weaver_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/dyes_district_buildings.txt b/common/buildings/resource_district_buildings/dyes_district_buildings.txt index 1247458d7..aee59e43c 100644 --- a/common/buildings/resource_district_buildings/dyes_district_buildings.txt +++ b/common/buildings/resource_district_buildings/dyes_district_buildings.txt @@ -685,20 +685,6 @@ lake_pigment_workshop_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - - on_complete = { - } - next_building = lake_pigment_workshop_2 - type_icon = "resource_buildings/alum_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -716,7 +702,6 @@ lake_pigment_workshop_1 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -726,6 +711,18 @@ lake_pigment_workshop_1 = { } } } + on_complete = { + } + next_building = lake_pigment_workshop_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } lake_pigment_workshop_2 = { @@ -744,19 +741,6 @@ lake_pigment_workshop_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - - on_complete = { - } - next_building = lake_pigment_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -776,7 +760,6 @@ lake_pigment_workshop_2 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -788,6 +771,17 @@ lake_pigment_workshop_2 = { } } } + on_complete = { + } + next_building = lake_pigment_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } lake_pigment_workshop_3 = { @@ -806,19 +800,6 @@ lake_pigment_workshop_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - - on_complete = { - } - next_building = lake_pigment_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -838,7 +819,6 @@ lake_pigment_workshop_3 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -850,6 +830,17 @@ lake_pigment_workshop_3 = { } } } + on_complete = { + } + next_building = lake_pigment_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } lake_pigment_workshop_4 = { @@ -868,19 +859,6 @@ lake_pigment_workshop_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - - on_complete = { - } - next_building = lake_pigment_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -900,7 +878,6 @@ lake_pigment_workshop_4 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -912,6 +889,17 @@ lake_pigment_workshop_4 = { } } } + on_complete = { + } + next_building = lake_pigment_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } lake_pigment_workshop_5 = { @@ -930,18 +918,6 @@ lake_pigment_workshop_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -961,7 +937,6 @@ lake_pigment_workshop_5 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -973,6 +948,16 @@ lake_pigment_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } dyeing_pits_1 = { @@ -995,24 +980,6 @@ dyeing_pits_1 = { parameter = government_is_tribal monthly_artisan_tax = dyeing_pits_income_tier_1_tribal } - - - - on_complete = { - } - next_building = dyeing_pits_2 - type_icon = "resource_buildings/dyes_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1027,7 +994,6 @@ dyeing_pits_1 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1045,7 +1011,6 @@ dyeing_pits_1 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1063,6 +1028,21 @@ dyeing_pits_1 = { } } } + on_complete = { + } + next_building = dyeing_pits_2 + type_icon = "resource_buildings/dyes_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } + } dyeing_pits_2 = { @@ -1086,23 +1066,6 @@ dyeing_pits_2 = { parameter = government_is_tribal monthly_artisan_tax = dyeing_pits_income_tier_2_tribal } - - - - on_complete = { - } - next_building = dyeing_pits_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1119,7 +1082,6 @@ dyeing_pits_2 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1139,7 +1101,6 @@ dyeing_pits_2 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1159,6 +1120,20 @@ dyeing_pits_2 = { } } } + on_complete = { + } + next_building = dyeing_pits_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } dyeing_pits_3 = { @@ -1182,23 +1157,6 @@ dyeing_pits_3 = { parameter = government_is_tribal monthly_artisan_tax = dyeing_pits_income_tier_3_tribal } - - - - on_complete = { - } - next_building = dyeing_pits_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1215,7 +1173,6 @@ dyeing_pits_3 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1235,7 +1192,6 @@ dyeing_pits_3 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1255,6 +1211,20 @@ dyeing_pits_3 = { } } } + on_complete = { + } + next_building = dyeing_pits_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } dyeing_pits_4 = { @@ -1278,23 +1248,6 @@ dyeing_pits_4 = { parameter = government_is_tribal monthly_artisan_tax = dyeing_pits_income_tier_4_tribal } - - - - on_complete = { - } - next_building = dyeing_pits_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1311,7 +1264,6 @@ dyeing_pits_4 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1331,7 +1283,6 @@ dyeing_pits_4 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1351,6 +1302,20 @@ dyeing_pits_4 = { } } } + on_complete = { + } + next_building = dyeing_pits_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } dyeing_pits_5 = { @@ -1374,22 +1339,6 @@ dyeing_pits_5 = { parameter = government_is_tribal monthly_artisan_tax = dyeing_pits_income_tier_5_tribal } - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1406,7 +1355,6 @@ dyeing_pits_5 = { } } } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1426,7 +1374,6 @@ dyeing_pits_5 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1446,6 +1393,19 @@ dyeing_pits_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_dyes CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } dyes_packing_warehouse_1 = { @@ -1471,21 +1431,6 @@ dyes_packing_warehouse_1 = { market_modifier = { trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_1 } - - on_complete = { - } - next_building = dyes_packing_warehouse_2 - type_icon = "resource_buildings/jar_packing_workshops.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_dyes } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1503,6 +1448,20 @@ dyes_packing_warehouse_1 = { } } } + on_complete = { + } + next_building = dyes_packing_warehouse_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_new_building_modifier = yes + } + } dyes_packing_warehouse_2 = { @@ -1529,20 +1488,6 @@ dyes_packing_warehouse_2 = { market_modifier = { trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_2 } - - on_complete = { - } - next_building = dyes_packing_warehouse_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_dyes } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1562,6 +1507,19 @@ dyes_packing_warehouse_2 = { } } } + on_complete = { + } + next_building = dyes_packing_warehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } dyes_packing_warehouse_3 = { @@ -1588,20 +1546,6 @@ dyes_packing_warehouse_3 = { market_modifier = { trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_3 } - - on_complete = { - } - next_building = dyes_packing_warehouse_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_dyes } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1621,6 +1565,19 @@ dyes_packing_warehouse_3 = { } } } + on_complete = { + } + next_building = dyes_packing_warehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } dyes_packing_warehouse_4 = { @@ -1647,20 +1604,6 @@ dyes_packing_warehouse_4 = { market_modifier = { trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_4 } - - on_complete = { - } - next_building = dyes_packing_warehouse_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_dyes } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1680,6 +1623,19 @@ dyes_packing_warehouse_4 = { } } } + on_complete = { + } + next_building = dyes_packing_warehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } dyes_packing_warehouse_5 = { @@ -1706,19 +1662,6 @@ dyes_packing_warehouse_5 = { market_modifier = { trade_good_dyes_buy_price_mult = low_buy_price_reduction_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_dyes } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_dyes } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1738,6 +1681,18 @@ dyes_packing_warehouse_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_dyes } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_dyes } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } illumination_workshop_1 = { @@ -1756,20 +1711,6 @@ illumination_workshop_1 = { character_modifier = { monthly_prestige = illumination_workshop_prestige_tier_1 } - - on_complete = { - } - next_building = illumination_workshop_2 - type_icon = "duchy_buildings/examination_hall.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1787,6 +1728,19 @@ illumination_workshop_1 = { } } } + on_complete = { + } + next_building = illumination_workshop_2 + type_icon = "duchy_buildings/examination_hall.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + } illumination_workshop_2 = { @@ -1805,19 +1759,6 @@ illumination_workshop_2 = { character_modifier = { monthly_prestige = illumination_workshop_prestige_tier_2 } - - on_complete = { - } - next_building = illumination_workshop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1837,6 +1778,18 @@ illumination_workshop_2 = { } } } + on_complete = { + } + next_building = illumination_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } illumination_workshop_3 = { @@ -1855,19 +1808,6 @@ illumination_workshop_3 = { character_modifier = { monthly_prestige = illumination_workshop_prestige_tier_3 } - - on_complete = { - } - next_building = illumination_workshop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1887,6 +1827,18 @@ illumination_workshop_3 = { } } } + on_complete = { + } + next_building = illumination_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } illumination_workshop_4 = { @@ -1905,19 +1857,6 @@ illumination_workshop_4 = { character_modifier = { monthly_prestige = illumination_workshop_prestige_tier_4 } - - on_complete = { - } - next_building = illumination_workshop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1937,6 +1876,18 @@ illumination_workshop_4 = { } } } + on_complete = { + } + next_building = illumination_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } illumination_workshop_5 = { @@ -1955,18 +1906,6 @@ illumination_workshop_5 = { character_modifier = { monthly_prestige = illumination_workshop_prestige_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1986,4 +1925,15 @@ illumination_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/fish_district_buildings.txt b/common/buildings/resource_district_buildings/fish_district_buildings.txt index 4acdcee88..338291816 100644 --- a/common/buildings/resource_district_buildings/fish_district_buildings.txt +++ b/common/buildings/resource_district_buildings/fish_district_buildings.txt @@ -26,20 +26,6 @@ parameter = government_is_tribal monthly_maritime_tax = secondary_resource_building_income_1_tribal } - - - on_complete = { - } - next_building = fishing_villages_2 - type_icon = "resource_buildings/fishing_villages.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -51,7 +37,6 @@ } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -66,6 +51,18 @@ } } } + on_complete = { + } + next_building = fishing_villages_2 + type_icon = "resource_buildings/fishing_villages.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + } fishing_villages_2 = { @@ -97,19 +94,6 @@ fishing_villages_2 = { parameter = government_is_tribal monthly_maritime_tax = secondary_resource_building_income_2_tribal } - - - on_complete = { - } - next_building = fishing_villages_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -122,7 +106,6 @@ fishing_villages_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -138,6 +121,17 @@ fishing_villages_2 = { } } } + on_complete = { + } + next_building = fishing_villages_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } fishing_villages_3 = { @@ -169,18 +163,6 @@ fishing_villages_3 = { parameter = government_is_tribal monthly_maritime_tax = secondary_resource_building_income_3_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -193,7 +175,6 @@ fishing_villages_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -209,6 +190,16 @@ fishing_villages_3 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } fish_resource_building_1 = { @@ -254,8 +245,31 @@ fish_resource_building_1 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -281,32 +295,6 @@ fish_resource_building_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_2 = { @@ -349,8 +337,31 @@ fish_resource_building_2 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -373,32 +384,6 @@ fish_resource_building_2 = { ai_resource_district_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_3 = { @@ -446,8 +431,33 @@ fish_resource_building_3 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -470,34 +480,6 @@ fish_resource_building_3 = { ai_resource_district_upgrade_modifier = { LEVEL = 3 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_4 = { @@ -538,8 +520,33 @@ fish_resource_building_4 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -562,34 +569,6 @@ fish_resource_building_4 = { ai_resource_district_upgrade_modifier = { LEVEL = 4 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_5 = { @@ -634,8 +613,33 @@ fish_resource_building_5 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -658,34 +662,6 @@ fish_resource_building_5 = { ai_resource_district_upgrade_modifier = { LEVEL = 5 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_6 = { @@ -728,8 +704,33 @@ fish_resource_building_6 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -752,34 +753,6 @@ fish_resource_building_6 = { ai_resource_district_upgrade_modifier = { LEVEL = 6 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_7 = { @@ -822,8 +795,33 @@ fish_resource_building_7 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -846,34 +844,6 @@ fish_resource_building_7 = { ai_resource_district_upgrade_modifier = { LEVEL = 7 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_8 = { @@ -916,8 +886,33 @@ fish_resource_building_8 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -940,34 +935,6 @@ fish_resource_building_8 = { ai_resource_district_upgrade_modifier = { LEVEL = 8 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_9 = { @@ -1010,8 +977,33 @@ fish_resource_building_9 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -1034,34 +1026,6 @@ fish_resource_building_9 = { ai_resource_district_upgrade_modifier = { LEVEL = 9 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } fish_resource_building_10 = { @@ -1104,8 +1068,33 @@ fish_resource_building_10 = { parameter = northern_salt_curing trade_good_salt_sell_price_mult = northern_fish_salt_price_mult } - - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + terrain = taiga + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + culture_parameter = northern_salt_curing + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + market_modifier = { + trade_good_fish_buy_price_mult = salted_fish_buy_price_mult + } + } + } province_culture_modifier = { parameter = industrious_productivity_bonus @@ -1127,34 +1116,6 @@ fish_resource_building_10 = { ai_resource_district_upgrade_modifier = { LEVEL = 10 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - terrain = taiga - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } - - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - culture_parameter = northern_salt_curing - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - market_modifier = { - trade_good_fish_buy_price_mult = salted_fish_buy_price_mult - } - } - } } #Preserving - Fermenting, Lutefisk, etc @@ -1190,7 +1151,16 @@ fish_saltery_1 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = fish_saltery_2 @@ -1205,16 +1175,6 @@ fish_saltery_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } } fish_saltery_2 = { @@ -1241,7 +1201,18 @@ fish_saltery_2 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = fish_saltery_3 @@ -1255,18 +1226,6 @@ fish_saltery_2 = { ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } } fish_saltery_3 = { @@ -1293,7 +1252,18 @@ fish_saltery_3 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = fish_saltery_4 @@ -1307,18 +1277,6 @@ fish_saltery_3 = { ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } } fish_saltery_4 = { @@ -1345,7 +1303,18 @@ fish_saltery_4 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_salt + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_fish_production_mult = fish_multiplier_per_salt_need + maritime_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = fish_saltery_5 @@ -1359,18 +1328,6 @@ fish_saltery_4 = { ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - trade_good_need = { - trade_good = trade_good_salt - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_fish_production_mult = fish_multiplier_per_salt_need - maritime_tax_mult = tax_mult_per_production_need - } - } - } } fish_saltery_5 = { @@ -1397,19 +1354,6 @@ fish_saltery_5 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1422,6 +1366,18 @@ fish_saltery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } netmakers_1 = { @@ -1447,21 +1403,6 @@ netmakers_1 = { market_modifier = { trade_good_hemp_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = netmakers_2 - type_icon = "regular_buildings/netmakers.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1479,6 +1420,20 @@ netmakers_1 = { } } } + on_complete = { + } + next_building = netmakers_2 + type_icon = "regular_buildings/netmakers.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + } netmakers_2 = { @@ -1505,20 +1460,6 @@ netmakers_2 = { market_modifier = { trade_good_hemp_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = netmakers_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1536,6 +1477,19 @@ netmakers_2 = { } } } + on_complete = { + } + next_building = netmakers_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } netmakers_3 = { @@ -1562,20 +1516,6 @@ netmakers_3 = { market_modifier = { trade_good_hemp_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = netmakers_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1593,6 +1533,19 @@ netmakers_3 = { } } } + on_complete = { + } + next_building = netmakers_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } netmakers_4 = { @@ -1619,20 +1572,6 @@ netmakers_4 = { market_modifier = { trade_good_hemp_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = netmakers_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1650,6 +1589,19 @@ netmakers_4 = { } } } + on_complete = { + } + next_building = netmakers_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } netmakers_5 = { @@ -1676,19 +1628,6 @@ netmakers_5 = { market_modifier = { trade_good_hemp_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1706,6 +1645,18 @@ netmakers_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } fish_oil_vats_1 = { @@ -1724,18 +1675,6 @@ fish_oil_vats_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - on_complete = { - } - next_building = fish_oil_vats_2 - type_icon = "resource_buildings/fish_oil_vats.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1750,6 +1689,17 @@ fish_oil_vats_1 = { } } } + on_complete = { + } + next_building = fish_oil_vats_2 + type_icon = "resource_buildings/fish_oil_vats.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } fish_oil_vats_2 = { @@ -1768,17 +1718,6 @@ fish_oil_vats_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - on_complete = { - } - next_building = fish_oil_vats_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1795,6 +1734,16 @@ fish_oil_vats_2 = { } } } + on_complete = { + } + next_building = fish_oil_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } fish_oil_vats_3 = { @@ -1813,17 +1762,6 @@ fish_oil_vats_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - on_complete = { - } - next_building = fish_oil_vats_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1840,6 +1778,16 @@ fish_oil_vats_3 = { } } } + on_complete = { + } + next_building = fish_oil_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } fish_oil_vats_4 = { @@ -1858,17 +1806,6 @@ fish_oil_vats_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - on_complete = { - } - next_building = fish_oil_vats_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1885,6 +1822,16 @@ fish_oil_vats_4 = { } } } + on_complete = { + } + next_building = fish_oil_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } fish_oil_vats_5 = { @@ -1903,16 +1850,6 @@ fish_oil_vats_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1929,6 +1866,15 @@ fish_oil_vats_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } glue_cauldrons_1 = { @@ -1955,19 +1901,6 @@ glue_cauldrons_1 = { parameter = government_is_tribal monthly_maritime_tax = glue_cauldrons_income_tier_1_tribal } - - on_complete = { - } - next_building = glue_cauldrons_2 - type_icon = "resource_buildings/glue_cauldrons.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -1982,6 +1915,18 @@ glue_cauldrons_1 = { } } } + on_complete = { + } + next_building = glue_cauldrons_2 + type_icon = "resource_buildings/glue_cauldrons.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } glue_cauldrons_2 = { @@ -2009,18 +1954,6 @@ glue_cauldrons_2 = { parameter = government_is_tribal monthly_maritime_tax = glue_cauldrons_income_tier_2_tribal } - - on_complete = { - } - next_building = glue_cauldrons_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2037,6 +1970,17 @@ glue_cauldrons_2 = { } } } + on_complete = { + } + next_building = glue_cauldrons_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } glue_cauldrons_3 = { @@ -2064,18 +2008,6 @@ glue_cauldrons_3 = { parameter = government_is_tribal monthly_maritime_tax = glue_cauldrons_income_tier_3_tribal } - - on_complete = { - } - next_building = glue_cauldrons_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2092,6 +2024,17 @@ glue_cauldrons_3 = { } } } + on_complete = { + } + next_building = glue_cauldrons_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } glue_cauldrons_4 = { @@ -2119,18 +2062,6 @@ glue_cauldrons_4 = { parameter = government_is_tribal monthly_maritime_tax = glue_cauldrons_income_tier_4_tribal } - - on_complete = { - } - next_building = glue_cauldrons_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2147,6 +2078,17 @@ glue_cauldrons_4 = { } } } + on_complete = { + } + next_building = glue_cauldrons_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } glue_cauldrons_5 = { @@ -2174,17 +2116,6 @@ glue_cauldrons_5 = { parameter = government_is_tribal monthly_maritime_tax = glue_cauldrons_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2201,6 +2132,16 @@ glue_cauldrons_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } garum_vats_1 = { @@ -2220,18 +2161,6 @@ garum_vats_1 = { character_modifier = { monthly_prestige = garum_prestige_tier_1 } - - on_complete = { - } - next_building = garum_vats_2 - type_icon = "district_buildings/fishery_district.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2246,6 +2175,17 @@ garum_vats_1 = { } } } + on_complete = { + } + next_building = garum_vats_2 + type_icon = "district_buildings/fishery_district.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } garum_vats_2 = { @@ -2265,17 +2205,6 @@ garum_vats_2 = { character_modifier = { monthly_prestige = garum_prestige_tier_2 } - - on_complete = { - } - next_building = garum_vats_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2292,6 +2221,16 @@ garum_vats_2 = { } } } + on_complete = { + } + next_building = garum_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } garum_vats_3 = { @@ -2311,17 +2250,6 @@ garum_vats_3 = { character_modifier = { monthly_prestige = garum_prestige_tier_3 } - - on_complete = { - } - next_building = garum_vats_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2338,6 +2266,16 @@ garum_vats_3 = { } } } + on_complete = { + } + next_building = garum_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } garum_vats_4 = { @@ -2357,17 +2295,6 @@ garum_vats_4 = { character_modifier = { monthly_prestige = garum_prestige_tier_4 } - - on_complete = { - } - next_building = garum_vats_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2384,6 +2311,16 @@ garum_vats_4 = { } } } + on_complete = { + } + next_building = garum_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } garum_vats_5 = { @@ -2403,16 +2340,6 @@ garum_vats_5 = { character_modifier = { monthly_prestige = garum_prestige_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fish amount = basic_resource_need @@ -2429,6 +2356,15 @@ garum_vats_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_fish } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } pearl_fishery_1 = { diff --git a/common/buildings/resource_district_buildings/flax_district_buildings.txt b/common/buildings/resource_district_buildings/flax_district_buildings.txt index 931fcdf73..b73a2024b 100644 --- a/common/buildings/resource_district_buildings/flax_district_buildings.txt +++ b/common/buildings/resource_district_buildings/flax_district_buildings.txt @@ -954,7 +954,23 @@ textiles_flax_building_1 = { market_modifier = { trade_good_flax_sell_price_mult = price_textiles_building_1 } - + trade_good_need = { + trade_good = trade_good_flax + amount = textiles_flax_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } on_complete = { @@ -973,24 +989,6 @@ textiles_flax_building_1 = { ai_market_shortage_modifier = { GOOD = trade_good_textiles } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = textiles_flax_need_per_level - modifiers = { - province_modifier = { - trade_good_textiles_production_add = textiles_output_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level_tribal - } - } - } } textiles_flax_building_2 = { @@ -1023,25 +1021,6 @@ textiles_flax_building_2 = { market_modifier = { trade_good_flax_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_flax_building_3 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_flax amount = textiles_flax_need_per_level @@ -1061,6 +1040,23 @@ textiles_flax_building_2 = { } } } + + on_complete = { + + } + + next_building = textiles_flax_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } textiles_flax_building_3 = { @@ -1093,25 +1089,6 @@ textiles_flax_building_3 = { market_modifier = { trade_good_flax_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_flax_building_4 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_flax amount = textiles_flax_need_per_level @@ -1131,6 +1108,23 @@ textiles_flax_building_3 = { } } } + + on_complete = { + + } + + next_building = textiles_flax_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } textiles_flax_building_4 = { @@ -1163,25 +1157,6 @@ textiles_flax_building_4 = { market_modifier = { trade_good_flax_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - next_building = textiles_flax_building_5 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_flax amount = textiles_flax_need_per_level @@ -1201,6 +1176,23 @@ textiles_flax_building_4 = { } } } + + on_complete = { + + } + + next_building = textiles_flax_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } textiles_flax_building_5 = { @@ -1233,24 +1225,6 @@ textiles_flax_building_5 = { market_modifier = { trade_good_flax_sell_price_mult = price_textiles_building_1 } - - - on_complete = { - - } - - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_flax amount = textiles_flax_need_per_level @@ -1270,6 +1244,22 @@ textiles_flax_building_5 = { } } } + + on_complete = { + + } + + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } linseed_oil_1 = { @@ -1302,21 +1292,6 @@ linseed_oil_1 = { monthly_agricultural_tax = resource_tier_1_main_income_tribal } - - - next_building = linseed_oil_2 - type_icon = "resource_buildings/breaking_mill.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_new_building_modifier = yes - } - trade_good_need = { #Raw Material trade_good = trade_good_flax amount = basic_resource_need @@ -1334,6 +1309,19 @@ linseed_oil_1 = { } } } + + next_building = linseed_oil_2 + type_icon = "resource_buildings/breaking_mill.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_new_building_modifier = yes + } } linseed_oil_2 = { construction_time = construction_time_9_months @@ -1366,20 +1354,6 @@ linseed_oil_2 = { monthly_agricultural_tax = resource_tier_2_main_income_tribal } - - - next_building = linseed_oil_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #Raw Material trade_good = trade_good_flax amount = basic_resource_need @@ -1399,6 +1373,18 @@ linseed_oil_2 = { } } } + + next_building = linseed_oil_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } linseed_oil_3 = { construction_time = construction_time_1_year @@ -1431,20 +1417,6 @@ linseed_oil_3 = { monthly_agricultural_tax = resource_tier_3_main_income_tribal } - - - next_building = linseed_oil_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #Raw Material trade_good = trade_good_flax amount = basic_resource_need @@ -1464,6 +1436,18 @@ linseed_oil_3 = { } } } + + next_building = linseed_oil_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } linseed_oil_4 = { construction_time = construction_time_2_years @@ -1496,20 +1480,6 @@ linseed_oil_4 = { monthly_agricultural_tax = resource_tier_4_main_income_tribal } - - - next_building = linseed_oil_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #Raw Material trade_good = trade_good_flax amount = basic_resource_need @@ -1529,6 +1499,18 @@ linseed_oil_4 = { } } } + + next_building = linseed_oil_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } linseed_oil_5 = { construction_time = construction_time_3_years @@ -1561,19 +1543,6 @@ linseed_oil_5 = { monthly_agricultural_tax = resource_tier_5_main_income_tribal } - - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } - ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #Raw Material trade_good = trade_good_flax amount = basic_resource_need @@ -1593,6 +1562,17 @@ linseed_oil_5 = { } } } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_flax } + ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } varnishing_workshop_1 = { @@ -1617,20 +1597,6 @@ varnishing_workshop_1 = { parameter = government_is_tribal monthly_artisan_tax = varnishing_workshop_income_tier_1_tribal } - - - on_complete = { - } - next_building = varnishing_workshop_2 - type_icon = "resource_buildings/lacquerware_workshop.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -1645,7 +1611,6 @@ varnishing_workshop_1 = { } } } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -1660,6 +1625,18 @@ varnishing_workshop_1 = { } } } + on_complete = { + } + next_building = varnishing_workshop_2 + type_icon = "resource_buildings/lacquerware_workshop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } varnishing_workshop_2 = { @@ -1684,19 +1661,6 @@ varnishing_workshop_2 = { parameter = government_is_tribal monthly_artisan_tax = varnishing_workshop_income_tier_2_tribal } - - - on_complete = { - } - next_building = varnishing_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -1713,7 +1677,6 @@ varnishing_workshop_2 = { } } } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -1730,6 +1693,17 @@ varnishing_workshop_2 = { } } } + on_complete = { + } + next_building = varnishing_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } varnishing_workshop_3 = { @@ -1754,19 +1728,6 @@ varnishing_workshop_3 = { parameter = government_is_tribal monthly_artisan_tax = varnishing_workshop_income_tier_3_tribal } - - - on_complete = { - } - next_building = varnishing_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -1783,7 +1744,6 @@ varnishing_workshop_3 = { } } } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -1800,6 +1760,17 @@ varnishing_workshop_3 = { } } } + on_complete = { + } + next_building = varnishing_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } varnishing_workshop_4 = { @@ -1824,19 +1795,6 @@ varnishing_workshop_4 = { parameter = government_is_tribal monthly_artisan_tax = varnishing_workshop_income_tier_4_tribal } - - - on_complete = { - } - next_building = varnishing_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -1853,7 +1811,6 @@ varnishing_workshop_4 = { } } } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -1870,6 +1827,17 @@ varnishing_workshop_4 = { } } } + on_complete = { + } + next_building = varnishing_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } varnishing_workshop_5 = { @@ -1894,18 +1862,6 @@ varnishing_workshop_5 = { parameter = government_is_tribal monthly_artisan_tax = varnishing_workshop_income_tier_5_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_flax amount = basic_resource_need @@ -1922,7 +1878,6 @@ varnishing_workshop_5 = { } } } - trade_good_need = { trade_good_category = trade_category_carpentry_supplies amount = basic_resource_need @@ -1939,5 +1894,15 @@ varnishing_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_flax CATEGORY = trade_category_carpentry_supplies } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/fruit_district_buildings.txt b/common/buildings/resource_district_buildings/fruit_district_buildings.txt index a10d4a9d0..cfd9186c8 100644 --- a/common/buildings/resource_district_buildings/fruit_district_buildings.txt +++ b/common/buildings/resource_district_buildings/fruit_district_buildings.txt @@ -75,19 +75,6 @@ fruit_distillery_1 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = fruit_distillery_2 - type_icon = "resource_buildings/distillery.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -102,6 +89,18 @@ fruit_distillery_1 = { } } } + on_complete = { + } + next_building = fruit_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } fruit_distillery_2 = { @@ -129,18 +128,6 @@ fruit_distillery_2 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = fruit_distillery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -158,6 +145,17 @@ fruit_distillery_2 = { } } } + on_complete = { + } + next_building = fruit_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } fruit_distillery_3 = { @@ -185,18 +183,6 @@ fruit_distillery_3 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = fruit_distillery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -214,6 +200,17 @@ fruit_distillery_3 = { } } } + on_complete = { + } + next_building = fruit_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } fruit_distillery_4 = { @@ -241,18 +238,6 @@ fruit_distillery_4 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = fruit_distillery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -270,6 +255,17 @@ fruit_distillery_4 = { } } } + on_complete = { + } + next_building = fruit_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } fruit_distillery_5 = { @@ -297,17 +293,6 @@ fruit_distillery_5 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -325,6 +310,16 @@ fruit_distillery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } fruit_gardens_2 = { @@ -971,21 +966,6 @@ cider_brewery_1 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cider_brewery_2 - type_icon = "resource_buildings/breweries.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1003,6 +983,20 @@ cider_brewery_1 = { } } } + on_complete = { + } + next_building = cider_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + } cider_brewery_2 = { @@ -1037,20 +1031,6 @@ cider_brewery_2 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cider_brewery_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1070,6 +1050,19 @@ cider_brewery_2 = { } } } + on_complete = { + } + next_building = cider_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cider_brewery_3 = { @@ -1104,20 +1097,6 @@ cider_brewery_3 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cider_brewery_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1137,6 +1116,19 @@ cider_brewery_3 = { } } } + on_complete = { + } + next_building = cider_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cider_brewery_4 = { @@ -1171,20 +1163,6 @@ cider_brewery_4 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cider_brewery_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1204,6 +1182,19 @@ cider_brewery_4 = { } } } + on_complete = { + } + next_building = cider_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cider_brewery_5 = { @@ -1238,19 +1229,6 @@ cider_brewery_5 = { market_modifier = { trade_good_fruit_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1270,6 +1248,18 @@ cider_brewery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } drying_terraces_1 = { @@ -1497,19 +1487,6 @@ preserved_fruit_workshops_1 = { parameter = government_is_tribal monthly_agricultural_tax = preserved_fruit_workshops_income_tier_1_tribal } - - on_complete = { - } - next_building = preserved_fruit_workshops_2 - type_icon = "resource_buildings/jar_packing_workshops.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1527,6 +1504,18 @@ preserved_fruit_workshops_1 = { } } } + on_complete = { + } + next_building = preserved_fruit_workshops_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } preserved_fruit_workshops_2 = { @@ -1550,18 +1539,6 @@ preserved_fruit_workshops_2 = { parameter = government_is_tribal monthly_agricultural_tax = preserved_fruit_workshops_income_tier_2_tribal } - - on_complete = { - } - next_building = preserved_fruit_workshops_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1581,6 +1558,17 @@ preserved_fruit_workshops_2 = { } } } + on_complete = { + } + next_building = preserved_fruit_workshops_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } preserved_fruit_workshops_3 = { @@ -1604,20 +1592,6 @@ preserved_fruit_workshops_3 = { parameter = government_is_tribal monthly_agricultural_tax = preserved_fruit_workshops_income_tier_3_tribal } - - - on_complete = { - } - next_building = preserved_fruit_workshops_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1637,7 +1611,6 @@ preserved_fruit_workshops_3 = { } } } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1654,6 +1627,18 @@ preserved_fruit_workshops_3 = { } } } + on_complete = { + } + next_building = preserved_fruit_workshops_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } preserved_fruit_workshops_4 = { @@ -1677,20 +1662,6 @@ preserved_fruit_workshops_4 = { parameter = government_is_tribal monthly_agricultural_tax = preserved_fruit_workshops_income_tier_4_tribal } - - - on_complete = { - } - next_building = preserved_fruit_workshops_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1710,7 +1681,6 @@ preserved_fruit_workshops_4 = { } } } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1727,6 +1697,18 @@ preserved_fruit_workshops_4 = { } } } + on_complete = { + } + next_building = preserved_fruit_workshops_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } preserved_fruit_workshops_5 = { @@ -1750,19 +1732,6 @@ preserved_fruit_workshops_5 = { parameter = government_is_tribal monthly_agricultural_tax = preserved_fruit_workshops_income_tier_5_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1782,7 +1751,6 @@ preserved_fruit_workshops_5 = { } } } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1799,6 +1767,17 @@ preserved_fruit_workshops_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } syrup_boiling_vats_1 = { @@ -1822,20 +1801,6 @@ syrup_boiling_vats_1 = { parameter = government_is_tribal monthly_agricultural_tax = syrup_boiling_vats_income_tier_1_tribal } - - - on_complete = { - } - next_building = syrup_boiling_vats_2 - type_icon = "resource_buildings/glue_cauldrons.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1851,7 +1816,6 @@ syrup_boiling_vats_1 = { } } } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1867,6 +1831,18 @@ syrup_boiling_vats_1 = { } } } + on_complete = { + } + next_building = syrup_boiling_vats_2 + type_icon = "resource_buildings/glue_cauldrons.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } syrup_boiling_vats_2 = { @@ -1890,19 +1866,6 @@ syrup_boiling_vats_2 = { parameter = government_is_tribal monthly_agricultural_tax = syrup_boiling_vats_income_tier_2_tribal } - - - on_complete = { - } - next_building = syrup_boiling_vats_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1920,7 +1883,6 @@ syrup_boiling_vats_2 = { } } } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1938,6 +1900,17 @@ syrup_boiling_vats_2 = { } } } + on_complete = { + } + next_building = syrup_boiling_vats_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } syrup_boiling_vats_3 = { @@ -1961,19 +1934,6 @@ syrup_boiling_vats_3 = { parameter = government_is_tribal monthly_agricultural_tax = syrup_boiling_vats_income_tier_3_tribal } - - - on_complete = { - } - next_building = syrup_boiling_vats_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -1991,7 +1951,6 @@ syrup_boiling_vats_3 = { } } } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -2009,6 +1968,17 @@ syrup_boiling_vats_3 = { } } } + on_complete = { + } + next_building = syrup_boiling_vats_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } syrup_boiling_vats_4 = { @@ -2032,19 +2002,6 @@ syrup_boiling_vats_4 = { parameter = government_is_tribal monthly_agricultural_tax = syrup_boiling_vats_income_tier_4_tribal } - - - on_complete = { - } - next_building = syrup_boiling_vats_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -2062,7 +2019,6 @@ syrup_boiling_vats_4 = { } } } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -2080,6 +2036,17 @@ syrup_boiling_vats_4 = { } } } + on_complete = { + } + next_building = syrup_boiling_vats_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } syrup_boiling_vats_5 = { @@ -2103,18 +2070,6 @@ syrup_boiling_vats_5 = { parameter = government_is_tribal monthly_agricultural_tax = syrup_boiling_vats_income_tier_5_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_fruit amount = basic_resource_need @@ -2132,7 +2087,6 @@ syrup_boiling_vats_5 = { } } } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -2150,4 +2104,14 @@ syrup_boiling_vats_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/furs_district_buildings.txt b/common/buildings/resource_district_buildings/furs_district_buildings.txt index e64dcc9d7..8f20a89e4 100644 --- a/common/buildings/resource_district_buildings/furs_district_buildings.txt +++ b/common/buildings/resource_district_buildings/furs_district_buildings.txt @@ -651,7 +651,15 @@ furriers_1 = { cost_gold = resource_district_normal_tier_1_cost - + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } on_complete = { @@ -666,16 +674,6 @@ furriers_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = basic_resource_need - modifiers = { - province_modifier = { - prosperity_growth = furriers_prosperity_per_fur_need - } - } - } } furriers_2 = { @@ -696,7 +694,18 @@ furriers_2 = { cost_gold = resource_district_normal_tier_2_cost + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + can_be_filled_multiple_times = 2 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } on_complete = { @@ -710,19 +719,6 @@ furriers_2 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_furs - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - - modifiers = { - province_modifier = { - prosperity_growth = furriers_prosperity_per_fur_need - } - } - } } furriers_3 = { @@ -743,7 +739,18 @@ furriers_3 = { cost_gold = resource_district_normal_tier_3_cost + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + can_be_filled_multiple_times = 3 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } on_complete = { @@ -757,19 +764,6 @@ furriers_3 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_furs - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - - modifiers = { - province_modifier = { - prosperity_growth = furriers_prosperity_per_fur_need - } - } - } } furriers_4 = { @@ -790,7 +784,18 @@ furriers_4 = { cost_gold = resource_district_normal_tier_4_cost + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + can_be_filled_multiple_times = 4 + + modifiers = { + province_modifier = { + prosperity_growth = furriers_prosperity_per_fur_need + } + } + } on_complete = { @@ -804,19 +809,6 @@ furriers_4 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_furs - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - - modifiers = { - province_modifier = { - prosperity_growth = furriers_prosperity_per_fur_need - } - } - } } furriers_5 = { @@ -837,20 +829,6 @@ furriers_5 = { cost_gold = resource_district_normal_tier_5_cost - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -863,6 +841,18 @@ furriers_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } furs_trade_post_1 = { @@ -885,22 +875,6 @@ furs_trade_post_1 = { parameter = government_is_tribal monthly_woodland_tax = furs_trade_post_income_tier_1_tribal } - - - on_complete = { - } - next_building = furs_trade_post_2 - type_icon = "regular_buildings/manor_buying_agent.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_furs } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_furs } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -918,7 +892,6 @@ furs_trade_post_1 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -936,6 +909,20 @@ furs_trade_post_1 = { } } } + on_complete = { + } + next_building = furs_trade_post_2 + type_icon = "regular_buildings/manor_buying_agent.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_new_building_modifier = yes + } + } furs_trade_post_2 = { @@ -959,21 +946,6 @@ furs_trade_post_2 = { parameter = government_is_tribal monthly_woodland_tax = furs_trade_post_income_tier_2_tribal } - - - on_complete = { - } - next_building = furs_trade_post_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_furs } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_furs } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -993,7 +965,6 @@ furs_trade_post_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1013,6 +984,19 @@ furs_trade_post_2 = { } } } + on_complete = { + } + next_building = furs_trade_post_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } furs_trade_post_3 = { @@ -1036,23 +1020,6 @@ furs_trade_post_3 = { parameter = government_is_tribal monthly_woodland_tax = furs_trade_post_income_tier_3_tribal } - - - - on_complete = { - } - next_building = furs_trade_post_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_furs } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_furs } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1072,7 +1039,6 @@ furs_trade_post_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1092,7 +1058,6 @@ furs_trade_post_3 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = precious_metals_resource_need @@ -1112,6 +1077,20 @@ furs_trade_post_3 = { } } } + on_complete = { + } + next_building = furs_trade_post_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } furs_trade_post_4 = { @@ -1135,23 +1114,6 @@ furs_trade_post_4 = { parameter = government_is_tribal monthly_woodland_tax = furs_trade_post_income_tier_4_tribal } - - - - on_complete = { - } - next_building = furs_trade_post_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_furs } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_furs } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1171,7 +1133,6 @@ furs_trade_post_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1191,7 +1152,6 @@ furs_trade_post_4 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = precious_metals_resource_need @@ -1211,6 +1171,20 @@ furs_trade_post_4 = { } } } + on_complete = { + } + next_building = furs_trade_post_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } furs_trade_post_5 = { @@ -1234,22 +1208,6 @@ furs_trade_post_5 = { parameter = government_is_tribal monthly_woodland_tax = furs_trade_post_income_tier_5_tribal } - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_furs } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_furs } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -1269,7 +1227,6 @@ furs_trade_post_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1289,7 +1246,6 @@ furs_trade_post_5 = { } } } - trade_good_need = { trade_good = trade_good_silver amount = precious_metals_resource_need @@ -1309,6 +1265,19 @@ furs_trade_post_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_furs } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_fabrics } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silver } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_furs } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } musk_processing_shop_1 = { @@ -1332,21 +1301,6 @@ musk_processing_shop_1 = { parameter = government_is_tribal monthly_woodland_tax = musk_processing_shop_income_tier_1_tribal } - - on_complete = { - } - next_building = musk_processing_shop_2 - type_icon = "resource_buildings/apothecary.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1364,6 +1318,20 @@ musk_processing_shop_1 = { } } } + on_complete = { + } + next_building = musk_processing_shop_2 + type_icon = "resource_buildings/apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + } musk_processing_shop_2 = { @@ -1387,20 +1355,6 @@ musk_processing_shop_2 = { parameter = government_is_tribal monthly_woodland_tax = musk_processing_shop_income_tier_2_tribal } - - on_complete = { - } - next_building = musk_processing_shop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1420,6 +1374,19 @@ musk_processing_shop_2 = { } } } + on_complete = { + } + next_building = musk_processing_shop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } musk_processing_shop_3 = { @@ -1443,20 +1410,6 @@ musk_processing_shop_3 = { parameter = government_is_tribal monthly_woodland_tax = musk_processing_shop_income_tier_3_tribal } - - on_complete = { - } - next_building = musk_processing_shop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1476,6 +1429,19 @@ musk_processing_shop_3 = { } } } + on_complete = { + } + next_building = musk_processing_shop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } musk_processing_shop_4 = { @@ -1499,20 +1465,6 @@ musk_processing_shop_4 = { parameter = government_is_tribal monthly_woodland_tax = musk_processing_shop_income_tier_4_tribal } - - on_complete = { - } - next_building = musk_processing_shop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1532,6 +1484,19 @@ musk_processing_shop_4 = { } } } + on_complete = { + } + next_building = musk_processing_shop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } musk_processing_shop_5 = { @@ -1555,19 +1520,6 @@ musk_processing_shop_5 = { parameter = government_is_tribal monthly_woodland_tax = musk_processing_shop_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1587,6 +1539,18 @@ musk_processing_shop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } smokehouse_1 = { @@ -1610,24 +1574,6 @@ smokehouse_1 = { parameter = government_is_tribal monthly_woodland_tax = smokehouse_income_tier_1_tribal } - - - on_complete = { - } - next_building = smokehouse_2 - type_icon = "resource_buildings/meat_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1645,7 +1591,6 @@ smokehouse_1 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1663,6 +1608,22 @@ smokehouse_1 = { } } } + on_complete = { + } + next_building = smokehouse_2 + type_icon = "resource_buildings/meat_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } + } smokehouse_2 = { @@ -1687,23 +1648,6 @@ smokehouse_2 = { parameter = government_is_tribal monthly_woodland_tax = smokehouse_income_tier_2_tribal } - - - on_complete = { - } - next_building = smokehouse_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1723,7 +1667,6 @@ smokehouse_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1743,6 +1686,21 @@ smokehouse_2 = { } } } + on_complete = { + } + next_building = smokehouse_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } smokehouse_3 = { @@ -1767,23 +1725,6 @@ smokehouse_3 = { parameter = government_is_tribal monthly_woodland_tax = smokehouse_income_tier_3_tribal } - - - on_complete = { - } - next_building = smokehouse_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1803,7 +1744,6 @@ smokehouse_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1823,6 +1763,21 @@ smokehouse_3 = { } } } + on_complete = { + } + next_building = smokehouse_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } smokehouse_4 = { @@ -1847,23 +1802,6 @@ smokehouse_4 = { parameter = government_is_tribal monthly_woodland_tax = smokehouse_income_tier_4_tribal } - - - on_complete = { - } - next_building = smokehouse_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1883,7 +1821,6 @@ smokehouse_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1903,6 +1840,21 @@ smokehouse_4 = { } } } + on_complete = { + } + next_building = smokehouse_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } smokehouse_5 = { @@ -1927,22 +1879,6 @@ smokehouse_5 = { parameter = government_is_tribal monthly_woodland_tax = smokehouse_income_tier_5_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -1962,7 +1898,6 @@ smokehouse_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1982,6 +1917,20 @@ smokehouse_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } noble_hunting_lodges_1 = { @@ -2000,7 +1949,15 @@ noble_hunting_lodges_1 = { character_modifier = { monthly_prestige = noble_hunting_lodges_prestige_tier_1 } - + trade_good_need = { + trade_good = trade_good_furs + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_prestige = noble_hunting_lodges_prestige_per_furs_need + } + } + } on_complete = { } next_building = noble_hunting_lodges_2 @@ -2012,15 +1969,6 @@ noble_hunting_lodges_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_furs - amount = basic_resource_need - modifiers = { - character_modifier = { - monthly_prestige = noble_hunting_lodges_prestige_per_furs_need - } - } - } } noble_hunting_lodges_2 = { @@ -2039,17 +1987,6 @@ noble_hunting_lodges_2 = { character_modifier = { monthly_prestige = noble_hunting_lodges_prestige_tier_2 } - - on_complete = { - } - next_building = noble_hunting_lodges_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2061,6 +1998,16 @@ noble_hunting_lodges_2 = { } } } + on_complete = { + } + next_building = noble_hunting_lodges_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } noble_hunting_lodges_3 = { @@ -2079,17 +2026,6 @@ noble_hunting_lodges_3 = { character_modifier = { monthly_prestige = noble_hunting_lodges_prestige_tier_3 } - - on_complete = { - } - next_building = noble_hunting_lodges_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2101,6 +2037,16 @@ noble_hunting_lodges_3 = { } } } + on_complete = { + } + next_building = noble_hunting_lodges_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } noble_hunting_lodges_4 = { @@ -2119,17 +2065,6 @@ noble_hunting_lodges_4 = { character_modifier = { monthly_prestige = noble_hunting_lodges_prestige_tier_4 } - - on_complete = { - } - next_building = noble_hunting_lodges_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2141,6 +2076,16 @@ noble_hunting_lodges_4 = { } } } + on_complete = { + } + next_building = noble_hunting_lodges_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } noble_hunting_lodges_5 = { @@ -2159,16 +2104,6 @@ noble_hunting_lodges_5 = { character_modifier = { monthly_prestige = noble_hunting_lodges_prestige_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2180,4 +2115,13 @@ noble_hunting_lodges_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/grain_district_buildings.txt b/common/buildings/resource_district_buildings/grain_district_buildings.txt index a9d5942cf..25cfe3d7f 100644 --- a/common/buildings/resource_district_buildings/grain_district_buildings.txt +++ b/common/buildings/resource_district_buildings/grain_district_buildings.txt @@ -176,27 +176,6 @@ grain_resource_building_1 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - - - - - #No needs on first level - on_complete = { - } - flag = agricultural_district_building - flag = food_district_building - next_building = grain_resource_building_2 - type_icon = "district_buildings/grain_district.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_new_building_modifier = yes - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -208,7 +187,6 @@ grain_resource_building_1 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -232,6 +210,23 @@ grain_resource_building_1 = { } } } + #No needs on first level + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + next_building = grain_resource_building_2 + type_icon = "district_buildings/grain_district.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_new_building_modifier = yes + } + } grain_resource_building_2 = { @@ -277,25 +272,6 @@ grain_resource_building_2 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - - - - - on_complete = { - } - flag = agricultural_district_building - flag = food_district_building - next_building = grain_resource_building_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -307,7 +283,6 @@ grain_resource_building_2 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -331,6 +306,21 @@ grain_resource_building_2 = { } } } + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + next_building = grain_resource_building_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } + } grain_resource_building_3 = { @@ -378,25 +368,6 @@ grain_resource_building_3 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - - - - - on_complete = { - } - next_building = grain_resource_building_4 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -408,7 +379,6 @@ grain_resource_building_3 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -434,6 +404,21 @@ grain_resource_building_3 = { } } } + on_complete = { + } + next_building = grain_resource_building_4 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + } grain_resource_building_4 = { @@ -477,24 +462,6 @@ grain_resource_building_4 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - - - - - on_complete = { - } - next_building = grain_resource_building_5 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -506,7 +473,6 @@ grain_resource_building_4 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -532,6 +498,20 @@ grain_resource_building_4 = { } } } + on_complete = { + } + next_building = grain_resource_building_5 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + } grain_resource_building_5 = { @@ -575,24 +555,6 @@ grain_resource_building_5 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - - - on_complete = { - } - next_building = grain_resource_building_6 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -604,7 +566,6 @@ grain_resource_building_5 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -630,6 +591,20 @@ grain_resource_building_5 = { } } } + on_complete = { + } + next_building = grain_resource_building_6 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + } grain_resource_building_6 = { @@ -673,24 +648,6 @@ grain_resource_building_6 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - - - on_complete = { - } - next_building = grain_resource_building_7 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -702,7 +659,6 @@ grain_resource_building_6 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -728,6 +684,20 @@ grain_resource_building_6 = { } } } + on_complete = { + } + next_building = grain_resource_building_7 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + } grain_resource_building_7 = { @@ -771,24 +741,6 @@ grain_resource_building_7 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - - - on_complete = { - } - next_building = grain_resource_building_8 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -800,7 +752,6 @@ grain_resource_building_7 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -826,6 +777,20 @@ grain_resource_building_7 = { } } } + on_complete = { + } + next_building = grain_resource_building_8 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + } grain_resource_building_8 = { @@ -869,24 +834,6 @@ grain_resource_building_8 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - - - on_complete = { - } - next_building = grain_resource_building_9 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -898,7 +845,6 @@ grain_resource_building_8 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -924,6 +870,20 @@ grain_resource_building_8 = { } } } + on_complete = { + } + next_building = grain_resource_building_9 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + } grain_resource_building_9 = { @@ -967,24 +927,6 @@ grain_resource_building_9 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - - - - - on_complete = { - } - next_building = grain_resource_building_10 - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { #First Need Fulfillment trade_good = trade_good_iron #Heavy Plows amount = metal_resource_need @@ -996,7 +938,6 @@ grain_resource_building_9 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -1022,6 +963,20 @@ grain_resource_building_9 = { } } } + on_complete = { + } + next_building = grain_resource_building_10 + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + } grain_resource_building_10 = { @@ -1065,23 +1020,6 @@ grain_resource_building_10 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - - - - - on_complete = { - } - flag = agricultural_district_building - flag = food_district_building - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_iron #Plows amount = metal_resource_need @@ -1093,7 +1031,6 @@ grain_resource_building_10 = { } } } - trade_good_need = { trade_good = trade_good_cattle #Oxen - Pulling the Plows amount = low_resource_district_need @@ -1119,6 +1056,19 @@ grain_resource_building_10 = { } } } + on_complete = { + } + flag = agricultural_district_building + flag = food_district_building + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + } beer_brewery_1 = { @@ -1152,21 +1102,6 @@ beer_brewery_1 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = beer_brewery_2 - type_icon = "resource_buildings/breweries.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1184,6 +1119,20 @@ beer_brewery_1 = { } } } + on_complete = { + } + next_building = beer_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + } beer_brewery_2 = { @@ -1218,20 +1167,6 @@ beer_brewery_2 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = beer_brewery_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1251,6 +1186,19 @@ beer_brewery_2 = { } } } + on_complete = { + } + next_building = beer_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } beer_brewery_3 = { @@ -1285,20 +1233,6 @@ beer_brewery_3 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = beer_brewery_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1318,6 +1252,19 @@ beer_brewery_3 = { } } } + on_complete = { + } + next_building = beer_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } beer_brewery_4 = { @@ -1352,20 +1299,6 @@ beer_brewery_4 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = beer_brewery_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1385,6 +1318,19 @@ beer_brewery_4 = { } } } + on_complete = { + } + next_building = beer_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } beer_brewery_5 = { @@ -1419,19 +1365,6 @@ beer_brewery_5 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1451,6 +1384,18 @@ beer_brewery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } grain_distillery_1 = { @@ -1478,19 +1423,6 @@ grain_distillery_1 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = grain_distillery_2 - type_icon = "resource_buildings/distillery.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1505,6 +1437,18 @@ grain_distillery_1 = { } } } + on_complete = { + } + next_building = grain_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } grain_distillery_2 = { @@ -1532,18 +1476,6 @@ grain_distillery_2 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = grain_distillery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1561,6 +1493,17 @@ grain_distillery_2 = { } } } + on_complete = { + } + next_building = grain_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } grain_distillery_3 = { @@ -1588,18 +1531,6 @@ grain_distillery_3 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = grain_distillery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1617,6 +1548,17 @@ grain_distillery_3 = { } } } + on_complete = { + } + next_building = grain_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } grain_distillery_4 = { @@ -1644,18 +1586,6 @@ grain_distillery_4 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = grain_distillery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1673,6 +1603,17 @@ grain_distillery_4 = { } } } + on_complete = { + } + next_building = grain_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } grain_distillery_5 = { @@ -1700,17 +1641,6 @@ grain_distillery_5 = { market_modifier = { trade_good_grain_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1728,6 +1658,16 @@ grain_distillery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } biscuit_bakery_1 = { @@ -1746,7 +1686,16 @@ biscuit_bakery_1 = { province_modifier = { supply_limit = small_building_supply_limit_tier_1 } - + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need + stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need + } + } + } on_complete = { } next_building = biscuit_bakery_2 @@ -1758,16 +1707,6 @@ biscuit_bakery_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - modifiers = { - province_modifier = { - stationed_maa_maintenance_low_modifier = biscuit_bakery_maa_maintenance_per_grain_need - stationed_maa_maintenance_high_modifier = biscuit_bakery_maa_maintenance_per_grain_need - } - } - } } biscuit_bakery_2 = { @@ -1786,17 +1725,6 @@ biscuit_bakery_2 = { province_modifier = { supply_limit = small_building_supply_limit_tier_2 } - - on_complete = { - } - next_building = biscuit_bakery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1809,6 +1737,16 @@ biscuit_bakery_2 = { } } } + on_complete = { + } + next_building = biscuit_bakery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } biscuit_bakery_3 = { @@ -1827,17 +1765,6 @@ biscuit_bakery_3 = { province_modifier = { supply_limit = small_building_supply_limit_tier_3 } - - on_complete = { - } - next_building = biscuit_bakery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1850,6 +1777,16 @@ biscuit_bakery_3 = { } } } + on_complete = { + } + next_building = biscuit_bakery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } biscuit_bakery_4 = { @@ -1868,17 +1805,6 @@ biscuit_bakery_4 = { province_modifier = { supply_limit = small_building_supply_limit_tier_4 } - - on_complete = { - } - next_building = biscuit_bakery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1891,6 +1817,16 @@ biscuit_bakery_4 = { } } } + on_complete = { + } + next_building = biscuit_bakery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } biscuit_bakery_5 = { @@ -1909,16 +1845,6 @@ biscuit_bakery_5 = { province_modifier = { supply_limit = small_building_supply_limit_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -1931,6 +1857,15 @@ biscuit_bakery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } straw_weavery_1 = { @@ -1953,7 +1888,17 @@ straw_weavery_1 = { parameter = government_is_tribal monthly_agricultural_tax = straw_weavery_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need + } + } + } on_complete = { } next_building = straw_weavery_2 @@ -1966,17 +1911,6 @@ straw_weavery_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - modifiers = { - province_modifier = { - villages_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need - manor_houses_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need - religious_community_district_district_build_gold_cost = straw_weavery_rural_district_cost_per_grain_need - } - } - } } straw_weavery_2 = { @@ -2000,18 +1934,6 @@ straw_weavery_2 = { parameter = government_is_tribal monthly_agricultural_tax = straw_weavery_income_tier_2_tribal } - - on_complete = { - } - next_building = straw_weavery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2025,6 +1947,17 @@ straw_weavery_2 = { } } } + on_complete = { + } + next_building = straw_weavery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } straw_weavery_3 = { @@ -2048,18 +1981,6 @@ straw_weavery_3 = { parameter = government_is_tribal monthly_agricultural_tax = straw_weavery_income_tier_3_tribal } - - on_complete = { - } - next_building = straw_weavery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2073,6 +1994,17 @@ straw_weavery_3 = { } } } + on_complete = { + } + next_building = straw_weavery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } straw_weavery_4 = { @@ -2096,18 +2028,6 @@ straw_weavery_4 = { parameter = government_is_tribal monthly_agricultural_tax = straw_weavery_income_tier_4_tribal } - - on_complete = { - } - next_building = straw_weavery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2121,6 +2041,17 @@ straw_weavery_4 = { } } } + on_complete = { + } + next_building = straw_weavery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } straw_weavery_5 = { @@ -2144,17 +2075,6 @@ straw_weavery_5 = { parameter = government_is_tribal monthly_agricultural_tax = straw_weavery_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2168,6 +2088,16 @@ straw_weavery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } pasta_mill_1 = { @@ -2596,7 +2526,15 @@ grain_stores_1 = { parameter = government_is_tribal monthly_agricultural_tax = grain_stores_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need + } + } + } on_complete = { } next_building = grain_stores_2 @@ -2609,15 +2547,6 @@ grain_stores_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - modifiers = { - province_modifier = { - monthly_control_change_when_below_baseline_add = grain_stores_control_per_grain_need - } - } - } } grain_stores_2 = { @@ -2647,18 +2576,6 @@ grain_stores_2 = { parameter = government_is_tribal monthly_agricultural_tax = grain_stores_income_tier_2_tribal } - - on_complete = { - } - next_building = grain_stores_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2670,6 +2587,17 @@ grain_stores_2 = { } } } + on_complete = { + } + next_building = grain_stores_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } grain_stores_3 = { @@ -2699,18 +2627,6 @@ grain_stores_3 = { parameter = government_is_tribal monthly_agricultural_tax = grain_stores_income_tier_3_tribal } - - on_complete = { - } - next_building = grain_stores_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2722,6 +2638,17 @@ grain_stores_3 = { } } } + on_complete = { + } + next_building = grain_stores_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } grain_stores_4 = { @@ -2751,18 +2678,6 @@ grain_stores_4 = { parameter = government_is_tribal monthly_agricultural_tax = grain_stores_income_tier_4_tribal } - - on_complete = { - } - next_building = grain_stores_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2774,6 +2689,17 @@ grain_stores_4 = { } } } + on_complete = { + } + next_building = grain_stores_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } grain_stores_5 = { @@ -2803,17 +2729,6 @@ grain_stores_5 = { parameter = government_is_tribal monthly_agricultural_tax = grain_stores_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2825,6 +2740,16 @@ grain_stores_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } communal_bread_ovens_1 = { @@ -2851,7 +2776,15 @@ communal_bread_ovens_1 = { parameter = government_is_tribal monthly_artisan_tax = communal_bread_ovens_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need + } + } + } on_complete = { } next_building = communal_bread_ovens_2 @@ -2864,15 +2797,6 @@ communal_bread_ovens_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - modifiers = { - province_modifier = { - popular_opinion_add = communal_bread_ovens_popular_opinion_per_grain_need - } - } - } } communal_bread_ovens_2 = { @@ -2900,18 +2824,6 @@ communal_bread_ovens_2 = { parameter = government_is_tribal monthly_artisan_tax = communal_bread_ovens_income_tier_2_tribal } - - on_complete = { - } - next_building = communal_bread_ovens_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2923,6 +2835,17 @@ communal_bread_ovens_2 = { } } } + on_complete = { + } + next_building = communal_bread_ovens_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } communal_bread_ovens_3 = { @@ -2950,18 +2873,6 @@ communal_bread_ovens_3 = { parameter = government_is_tribal monthly_artisan_tax = communal_bread_ovens_income_tier_3_tribal } - - on_complete = { - } - next_building = communal_bread_ovens_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -2973,6 +2884,17 @@ communal_bread_ovens_3 = { } } } + on_complete = { + } + next_building = communal_bread_ovens_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } communal_bread_ovens_4 = { @@ -3000,18 +2922,6 @@ communal_bread_ovens_4 = { parameter = government_is_tribal monthly_artisan_tax = communal_bread_ovens_income_tier_4_tribal } - - on_complete = { - } - next_building = communal_bread_ovens_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -3023,6 +2933,17 @@ communal_bread_ovens_4 = { } } } + on_complete = { + } + next_building = communal_bread_ovens_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } communal_bread_ovens_5 = { @@ -3050,17 +2971,6 @@ communal_bread_ovens_5 = { parameter = government_is_tribal monthly_artisan_tax = communal_bread_ovens_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_grain amount = basic_resource_need @@ -3072,6 +2982,16 @@ communal_bread_ovens_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Granaries diff --git a/common/buildings/resource_district_buildings/hemp_district_buildings.txt b/common/buildings/resource_district_buildings/hemp_district_buildings.txt index 64a0f9d77..26ada4d60 100644 --- a/common/buildings/resource_district_buildings/hemp_district_buildings.txt +++ b/common/buildings/resource_district_buildings/hemp_district_buildings.txt @@ -695,7 +695,17 @@ hemp_thatching_1 = { monthly_artisan_tax = resource_tier_1_main_income_tribal } - + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need + } + } + } on_complete = { } @@ -710,18 +720,6 @@ hemp_thatching_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - modifiers = { - province_modifier = { - villages_district_district_build_gold_cost = hemp_thatching_district_cost_per_need - religious_community_district_district_build_gold_cost = hemp_thatching_district_cost_per_need - manor_houses_district_district_build_gold_cost = hemp_thatching_district_cost_per_need - } - } - } } hemp_thatching_2 = { @@ -751,21 +749,6 @@ hemp_thatching_2 = { monthly_artisan_tax = resource_tier_2_main_income_tribal } - - on_complete = { - - } - - next_building = hemp_thatching_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -779,6 +762,19 @@ hemp_thatching_2 = { } } } + on_complete = { + + } + + next_building = hemp_thatching_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } hemp_thatching_3 = { @@ -808,21 +804,6 @@ hemp_thatching_3 = { monthly_artisan_tax = resource_tier_3_main_income_tribal } - - on_complete = { - - } - - next_building = hemp_thatching_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -836,6 +817,19 @@ hemp_thatching_3 = { } } } + on_complete = { + + } + + next_building = hemp_thatching_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } hemp_thatching_4 = { @@ -865,21 +859,6 @@ hemp_thatching_4 = { monthly_artisan_tax = resource_tier_4_main_income_tribal } - - on_complete = { - - } - - next_building = hemp_thatching_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -893,6 +872,19 @@ hemp_thatching_4 = { } } } + on_complete = { + + } + + next_building = hemp_thatching_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } hemp_thatching_5 = { @@ -922,20 +914,6 @@ hemp_thatching_5 = { monthly_artisan_tax = resource_tier_5_main_income_tribal } - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -949,6 +927,18 @@ hemp_thatching_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } ropeworks_1 = { @@ -980,22 +970,6 @@ ropeworks_1 = { trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction } - - on_complete = { - - } - - next_building = ropeworks_2 - type_icon = "resource_buildings/ropeworks.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1010,6 +984,20 @@ ropeworks_1 = { } } } + on_complete = { + + } + + next_building = ropeworks_2 + type_icon = "resource_buildings/ropeworks.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } } ropeworks_2 = { @@ -1043,21 +1031,6 @@ ropeworks_2 = { trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction } - - on_complete = { - - } - - next_building = ropeworks_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1074,6 +1047,19 @@ ropeworks_2 = { } } } + on_complete = { + + } + + next_building = ropeworks_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } ropeworks_3 = { @@ -1107,21 +1093,6 @@ ropeworks_3 = { trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction } - - on_complete = { - - } - - next_building = ropeworks_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1138,6 +1109,19 @@ ropeworks_3 = { } } } + on_complete = { + + } + + next_building = ropeworks_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } ropeworks_4 = { @@ -1171,21 +1155,6 @@ ropeworks_4 = { trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction } - - on_complete = { - - } - - next_building = ropeworks_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1202,6 +1171,19 @@ ropeworks_4 = { } } } + on_complete = { + + } + + next_building = ropeworks_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } ropeworks_5 = { @@ -1235,20 +1217,6 @@ ropeworks_5 = { trade_good_hemp_buy_price_mult = tier_1_buy_price_reduction } - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1265,6 +1233,18 @@ ropeworks_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } hemp_weaving_1 = { @@ -1283,23 +1263,6 @@ hemp_weaving_1 = { cost_gold = resource_district_normal_tier_1_cost - - on_complete = { - - } - - next_building = hemp_weaving_2 - type_icon = "resource_buildings/textile_weavery.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1317,6 +1280,21 @@ hemp_weaving_1 = { } } } + on_complete = { + + } + + next_building = hemp_weaving_2 + type_icon = "resource_buildings/textile_weavery.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } } hemp_weaving_2 = { @@ -1337,22 +1315,6 @@ hemp_weaving_2 = { cost_gold = resource_district_normal_tier_2_cost - - on_complete = { - - } - - next_building = hemp_weaving_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1372,6 +1334,20 @@ hemp_weaving_2 = { } } } + on_complete = { + + } + + next_building = hemp_weaving_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } hemp_weaving_3 = { @@ -1392,22 +1368,6 @@ hemp_weaving_3 = { cost_gold = resource_district_normal_tier_3_cost - - on_complete = { - - } - - next_building = hemp_weaving_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1427,6 +1387,20 @@ hemp_weaving_3 = { } } } + on_complete = { + + } + + next_building = hemp_weaving_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } hemp_weaving_4 = { @@ -1447,22 +1421,6 @@ hemp_weaving_4 = { cost_gold = resource_district_normal_tier_4_cost - - on_complete = { - - } - - next_building = hemp_weaving_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1482,6 +1440,20 @@ hemp_weaving_4 = { } } } + on_complete = { + + } + + next_building = hemp_weaving_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } hemp_weaving_5 = { @@ -1502,21 +1474,6 @@ hemp_weaving_5 = { cost_gold = resource_district_normal_tier_5_cost - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1536,6 +1493,19 @@ hemp_weaving_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } hemp_naval_supplies_1 = { @@ -1554,7 +1524,15 @@ hemp_naval_supplies_1 = { cost_gold = resource_district_normal_tier_1_cost - + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } on_complete = { } @@ -1568,16 +1546,6 @@ hemp_naval_supplies_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - modifiers = { - province_modifier = { - maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need - } - } - } } hemp_naval_supplies_2 = { @@ -1598,7 +1566,17 @@ hemp_naval_supplies_2 = { cost_gold = resource_district_normal_tier_2_cost + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } on_complete = { } @@ -1611,18 +1589,6 @@ hemp_naval_supplies_2 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need - } - } - } } hemp_naval_supplies_3 = { @@ -1643,7 +1609,17 @@ hemp_naval_supplies_3 = { cost_gold = resource_district_normal_tier_3_cost + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } on_complete = { } @@ -1656,18 +1632,6 @@ hemp_naval_supplies_3 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need - } - } - } } hemp_naval_supplies_4 = { @@ -1688,7 +1652,17 @@ hemp_naval_supplies_4 = { cost_gold = resource_district_normal_tier_4_cost + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need + } + } + } on_complete = { } @@ -1701,18 +1675,6 @@ hemp_naval_supplies_4 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - maritime_tax_mult = hemp_naval_supplies_maritime_tax_mult_per_need - } - } - } } hemp_naval_supplies_5 = { @@ -1733,19 +1695,6 @@ hemp_naval_supplies_5 = { cost_gold = resource_district_normal_tier_5_cost - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1757,6 +1706,17 @@ hemp_naval_supplies_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/honey_district_buildings.txt b/common/buildings/resource_district_buildings/honey_district_buildings.txt index 26ca127be..97b728325 100644 --- a/common/buildings/resource_district_buildings/honey_district_buildings.txt +++ b/common/buildings/resource_district_buildings/honey_district_buildings.txt @@ -691,7 +691,23 @@ honey_apothecary_1 = { monthly_artisan_tax = honey_apothecary_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_honey + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_honey_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal + } + } + } on_complete = { @@ -710,24 +726,6 @@ honey_apothecary_1 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = medicaments_output_from_honey_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_medicament_from_honey_level_tribal - } - } - } } honey_apothecary_2 = { @@ -757,25 +755,6 @@ honey_apothecary_2 = { monthly_artisan_tax = honey_apothecary_income_tier_2_tribal } - - - on_complete = { - - } - - next_building = honey_apothecary_3 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -795,6 +774,23 @@ honey_apothecary_2 = { } } } + + on_complete = { + + } + + next_building = honey_apothecary_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } honey_apothecary_3 = { @@ -824,25 +820,6 @@ honey_apothecary_3 = { monthly_artisan_tax = honey_apothecary_income_tier_3_tribal } - - - on_complete = { - - } - - next_building = honey_apothecary_4 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -862,6 +839,23 @@ honey_apothecary_3 = { } } } + + on_complete = { + + } + + next_building = honey_apothecary_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } honey_apothecary_4 = { @@ -891,25 +885,6 @@ honey_apothecary_4 = { monthly_artisan_tax = honey_apothecary_income_tier_4_tribal } - - - on_complete = { - - } - - next_building = honey_apothecary_5 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -929,6 +904,23 @@ honey_apothecary_4 = { } } } + + on_complete = { + + } + + next_building = honey_apothecary_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } honey_apothecary_5 = { @@ -958,23 +950,6 @@ honey_apothecary_5 = { monthly_artisan_tax = honey_apothecary_income_tier_5_tribal } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -994,6 +969,21 @@ honey_apothecary_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } honey_waxworks_1 = { @@ -1016,22 +1006,6 @@ honey_waxworks_1 = { monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_1 } - - - on_complete = { - - } - - next_building = honey_waxworks_2 - type_icon = "resource_buildings/wickmaker.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1046,6 +1020,20 @@ honey_waxworks_1 = { } } } + + on_complete = { + + } + + next_building = honey_waxworks_2 + type_icon = "resource_buildings/wickmaker.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } honey_waxworks_2 = { @@ -1070,21 +1058,6 @@ honey_waxworks_2 = { monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_2 } - - - on_complete = { - - } - - next_building = honey_waxworks_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1101,6 +1074,19 @@ honey_waxworks_2 = { } } } + + on_complete = { + + } + + next_building = honey_waxworks_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } honey_waxworks_3 = { @@ -1125,21 +1111,6 @@ honey_waxworks_3 = { monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_3 } - - - on_complete = { - - } - - next_building = honey_waxworks_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1156,6 +1127,19 @@ honey_waxworks_3 = { } } } + + on_complete = { + + } + + next_building = honey_waxworks_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } honey_waxworks_4 = { @@ -1180,21 +1164,6 @@ honey_waxworks_4 = { monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_4 } - - - on_complete = { - - } - - next_building = honey_waxworks_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1211,6 +1180,19 @@ honey_waxworks_4 = { } } } + + on_complete = { + + } + + next_building = honey_waxworks_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } honey_waxworks_5 = { @@ -1235,20 +1217,6 @@ honey_waxworks_5 = { monthly_province_size_change_when_below_baseline_add = honey_wax_size_growth_tier_5 } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1265,6 +1233,18 @@ honey_waxworks_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } mead_brewery_1 = { @@ -1299,21 +1279,6 @@ mead_brewery_1 = { market_modifier = { trade_good_honey_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = mead_brewery_2 - type_icon = "resource_buildings/breweries.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1331,6 +1296,20 @@ mead_brewery_1 = { } } } + on_complete = { + } + next_building = mead_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + } mead_brewery_2 = { @@ -1366,20 +1345,6 @@ mead_brewery_2 = { market_modifier = { trade_good_honey_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = mead_brewery_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1399,6 +1364,19 @@ mead_brewery_2 = { } } } + on_complete = { + } + next_building = mead_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } mead_brewery_3 = { @@ -1434,20 +1412,6 @@ mead_brewery_3 = { market_modifier = { trade_good_honey_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = mead_brewery_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1467,6 +1431,19 @@ mead_brewery_3 = { } } } + on_complete = { + } + next_building = mead_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } mead_brewery_4 = { @@ -1502,20 +1479,6 @@ mead_brewery_4 = { market_modifier = { trade_good_honey_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = mead_brewery_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1535,6 +1498,19 @@ mead_brewery_4 = { } } } + on_complete = { + } + next_building = mead_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } mead_brewery_5 = { @@ -1570,19 +1546,6 @@ mead_brewery_5 = { market_modifier = { trade_good_honey_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1602,4 +1565,16 @@ mead_brewery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/horse_district_buildings.txt b/common/buildings/resource_district_buildings/horse_district_buildings.txt index df12669f2..463dbb58c 100644 --- a/common/buildings/resource_district_buildings/horse_district_buildings.txt +++ b/common/buildings/resource_district_buildings/horse_district_buildings.txt @@ -830,7 +830,18 @@ warhorse_training_1 = { monthly_agricultural_tax = warhorse_training_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_horses + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -846,19 +857,6 @@ warhorse_training_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = basic_resource_need - modifiers = { - province_modifier = { - stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } warhorse_training_2 = { @@ -888,22 +886,6 @@ warhorse_training_2 = { monthly_agricultural_tax = warhorse_training_income_tier_2_tribal } - - - on_complete = { - - } - - next_building = warhorse_training_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -918,6 +900,20 @@ warhorse_training_2 = { } } } + + on_complete = { + + } + + next_building = warhorse_training_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } warhorse_training_3 = { @@ -947,22 +943,6 @@ warhorse_training_3 = { monthly_agricultural_tax = warhorse_training_income_tier_3_tribal } - - - on_complete = { - - } - - next_building = warhorse_training_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -977,6 +957,20 @@ warhorse_training_3 = { } } } + + on_complete = { + + } + + next_building = warhorse_training_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } warhorse_training_4 = { @@ -1006,22 +1000,6 @@ warhorse_training_4 = { monthly_agricultural_tax = warhorse_training_income_tier_4_tribal } - - - on_complete = { - - } - - next_building = warhorse_training_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1036,6 +1014,20 @@ warhorse_training_4 = { } } } + + on_complete = { + + } + + next_building = warhorse_training_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } warhorse_training_5 = { @@ -1065,21 +1057,6 @@ warhorse_training_5 = { monthly_agricultural_tax = warhorse_training_income_tier_5_tribal } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_horses amount = basic_resource_need @@ -1094,6 +1071,19 @@ warhorse_training_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } horse_studfarm_1 = { @@ -1121,7 +1111,16 @@ horse_studfarm_1 = { monthly_agricultural_tax = resource_tier_1_main_income_tribal } - + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } @@ -1138,17 +1137,6 @@ horse_studfarm_1 = { ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } horse_studfarm_2 = { @@ -1178,7 +1166,18 @@ horse_studfarm_2 = { monthly_agricultural_tax = resource_tier_2_main_income_tribal } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } @@ -1194,19 +1193,6 @@ horse_studfarm_2 = { ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } horse_studfarm_3 = { @@ -1236,7 +1222,18 @@ horse_studfarm_3 = { monthly_agricultural_tax = resource_tier_3_main_income_tribal } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } @@ -1252,19 +1249,6 @@ horse_studfarm_3 = { ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } horse_studfarm_4 = { @@ -1294,7 +1278,18 @@ horse_studfarm_4 = { monthly_agricultural_tax = resource_tier_4_main_income_tribal } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } @@ -1310,19 +1305,6 @@ horse_studfarm_4 = { ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } horse_studfarm_5 = { @@ -1352,7 +1334,18 @@ horse_studfarm_5 = { monthly_agricultural_tax = resource_tier_5_main_income_tribal } + trade_good_need = { + trade_good = trade_good_grain + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } @@ -1367,17 +1360,4 @@ horse_studfarm_5 = { ai_market_category_shortage_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_grain - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_horses_production_mult = horse_studfarm_horse_mult_per_grain_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } diff --git a/common/buildings/resource_district_buildings/incense_district_buildings.txt b/common/buildings/resource_district_buildings/incense_district_buildings.txt index 42f280d88..b5b84af4e 100644 --- a/common/buildings/resource_district_buildings/incense_district_buildings.txt +++ b/common/buildings/resource_district_buildings/incense_district_buildings.txt @@ -944,19 +944,6 @@ compound_perfumery_1 = { parameter = government_is_tribal monthly_artisan_tax = compound_perfumery_income_tier_1_tribal } - - on_complete = { - } - next_building = compound_perfumery_2 - type_icon = "resource_buildings/apothecary.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -971,6 +958,18 @@ compound_perfumery_1 = { } } } + on_complete = { + } + next_building = compound_perfumery_2 + type_icon = "resource_buildings/apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } compound_perfumery_2 = { @@ -994,18 +993,6 @@ compound_perfumery_2 = { parameter = government_is_tribal monthly_artisan_tax = compound_perfumery_income_tier_2_tribal } - - on_complete = { - } - next_building = compound_perfumery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1022,6 +1009,17 @@ compound_perfumery_2 = { } } } + on_complete = { + } + next_building = compound_perfumery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } compound_perfumery_3 = { @@ -1045,18 +1043,6 @@ compound_perfumery_3 = { parameter = government_is_tribal monthly_artisan_tax = compound_perfumery_income_tier_3_tribal } - - on_complete = { - } - next_building = compound_perfumery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1073,6 +1059,17 @@ compound_perfumery_3 = { } } } + on_complete = { + } + next_building = compound_perfumery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } compound_perfumery_4 = { @@ -1096,18 +1093,6 @@ compound_perfumery_4 = { parameter = government_is_tribal monthly_artisan_tax = compound_perfumery_income_tier_4_tribal } - - on_complete = { - } - next_building = compound_perfumery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1124,6 +1109,17 @@ compound_perfumery_4 = { } } } + on_complete = { + } + next_building = compound_perfumery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } compound_perfumery_5 = { @@ -1147,17 +1143,6 @@ compound_perfumery_5 = { parameter = government_is_tribal monthly_artisan_tax = compound_perfumery_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1174,6 +1159,16 @@ compound_perfumery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } incense_warehouse_1 = { @@ -1386,23 +1381,6 @@ incense_distillation_workshop_1 = { parameter = government_is_tribal monthly_artisan_tax = incense_distillation_income_tier_1_tribal } - - - on_complete = { - } - next_building = incense_distillation_workshop_2 - type_icon = "resource_buildings/distillery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1420,7 +1398,6 @@ incense_distillation_workshop_1 = { } } } - trade_good_need = { trade_good = trade_good_glass amount = luxury_resource_need @@ -1435,6 +1412,21 @@ incense_distillation_workshop_1 = { } } } + on_complete = { + } + next_building = incense_distillation_workshop_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + } incense_distillation_workshop_2 = { @@ -1458,22 +1450,6 @@ incense_distillation_workshop_2 = { parameter = government_is_tribal monthly_artisan_tax = incense_distillation_income_tier_2_tribal } - - - on_complete = { - } - next_building = incense_distillation_workshop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1493,7 +1469,6 @@ incense_distillation_workshop_2 = { } } } - trade_good_need = { trade_good = trade_good_glass amount = luxury_resource_need @@ -1510,6 +1485,20 @@ incense_distillation_workshop_2 = { } } } + on_complete = { + } + next_building = incense_distillation_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } incense_distillation_workshop_3 = { @@ -1533,22 +1522,6 @@ incense_distillation_workshop_3 = { parameter = government_is_tribal monthly_artisan_tax = incense_distillation_income_tier_3_tribal } - - - on_complete = { - } - next_building = incense_distillation_workshop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1568,7 +1541,6 @@ incense_distillation_workshop_3 = { } } } - trade_good_need = { trade_good = trade_good_glass amount = luxury_resource_need @@ -1585,6 +1557,20 @@ incense_distillation_workshop_3 = { } } } + on_complete = { + } + next_building = incense_distillation_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } incense_distillation_workshop_4 = { @@ -1608,22 +1594,6 @@ incense_distillation_workshop_4 = { parameter = government_is_tribal monthly_artisan_tax = incense_distillation_income_tier_4_tribal } - - - on_complete = { - } - next_building = incense_distillation_workshop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1643,7 +1613,6 @@ incense_distillation_workshop_4 = { } } } - trade_good_need = { trade_good = trade_good_glass amount = luxury_resource_need @@ -1660,6 +1629,20 @@ incense_distillation_workshop_4 = { } } } + on_complete = { + } + next_building = incense_distillation_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } incense_distillation_workshop_5 = { @@ -1683,21 +1666,6 @@ incense_distillation_workshop_5 = { parameter = government_is_tribal monthly_artisan_tax = incense_distillation_income_tier_5_tribal } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1717,7 +1685,6 @@ incense_distillation_workshop_5 = { } } } - trade_good_need = { trade_good = trade_good_glass amount = luxury_resource_need @@ -1734,6 +1701,19 @@ incense_distillation_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_glass } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } cosmetic_shop_1 = { @@ -1752,18 +1732,6 @@ cosmetic_shop_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - on_complete = { - } - next_building = cosmetic_shop_2 - type_icon = "resource_buildings/cosmetic_shop.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1778,6 +1746,17 @@ cosmetic_shop_1 = { } } } + on_complete = { + } + next_building = cosmetic_shop_2 + type_icon = "resource_buildings/cosmetic_shop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } cosmetic_shop_2 = { @@ -1796,17 +1775,6 @@ cosmetic_shop_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - on_complete = { - } - next_building = cosmetic_shop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1823,6 +1791,16 @@ cosmetic_shop_2 = { } } } + on_complete = { + } + next_building = cosmetic_shop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cosmetic_shop_3 = { @@ -1841,17 +1819,6 @@ cosmetic_shop_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - on_complete = { - } - next_building = cosmetic_shop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1868,6 +1835,16 @@ cosmetic_shop_3 = { } } } + on_complete = { + } + next_building = cosmetic_shop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cosmetic_shop_4 = { @@ -1886,17 +1863,6 @@ cosmetic_shop_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - on_complete = { - } - next_building = cosmetic_shop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1913,6 +1879,16 @@ cosmetic_shop_4 = { } } } + on_complete = { + } + next_building = cosmetic_shop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cosmetic_shop_5 = { @@ -1931,16 +1907,6 @@ cosmetic_shop_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_incense amount = basic_resource_need @@ -1957,4 +1923,13 @@ cosmetic_shop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/iron_district_buildings.txt b/common/buildings/resource_district_buildings/iron_district_buildings.txt index 90b665942..1803beda1 100644 --- a/common/buildings/resource_district_buildings/iron_district_buildings.txt +++ b/common/buildings/resource_district_buildings/iron_district_buildings.txt @@ -562,19 +562,6 @@ tool_smith_1 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = tool_smith_2 - type_icon = "regular_buildings/civic_projects.dds" - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -593,6 +580,18 @@ tool_smith_1 = { } } } + on_complete = { + } + next_building = tool_smith_2 + type_icon = "regular_buildings/civic_projects.dds" + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } tool_smith_2 = { @@ -630,18 +629,6 @@ tool_smith_2 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = tool_smith_3 - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -661,6 +648,17 @@ tool_smith_2 = { } } } + on_complete = { + } + next_building = tool_smith_3 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } tool_smith_3 = { @@ -698,18 +696,6 @@ tool_smith_3 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = tool_smith_4 - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -729,6 +715,17 @@ tool_smith_3 = { } } } + on_complete = { + } + next_building = tool_smith_4 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } tool_smith_4 = { @@ -766,18 +763,6 @@ tool_smith_4 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = tool_smith_5 - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -797,6 +782,17 @@ tool_smith_4 = { } } } + on_complete = { + } + next_building = tool_smith_5 + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } tool_smith_5 = { @@ -834,17 +830,6 @@ tool_smith_5 = { market_modifier = { trade_category_base_metals_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_base_metals amount = metal_resource_need @@ -864,6 +849,16 @@ tool_smith_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_base_metals } + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Iron @@ -896,19 +891,6 @@ weapon_armor_smith_1 = { market_modifier = { trade_good_iron_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = weapon_armor_smith_2 - type_icon = "resource_buildings/weapon_armor_smith.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -926,6 +908,18 @@ weapon_armor_smith_1 = { } } } + on_complete = { + } + next_building = weapon_armor_smith_2 + type_icon = "resource_buildings/weapon_armor_smith.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } weapon_armor_smith_2 = { @@ -957,18 +951,6 @@ weapon_armor_smith_2 = { market_modifier = { trade_good_iron_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = weapon_armor_smith_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -987,6 +969,17 @@ weapon_armor_smith_2 = { } } } + on_complete = { + } + next_building = weapon_armor_smith_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } weapon_armor_smith_3 = { @@ -1018,18 +1011,6 @@ weapon_armor_smith_3 = { market_modifier = { trade_good_iron_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = weapon_armor_smith_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -1048,6 +1029,17 @@ weapon_armor_smith_3 = { } } } + on_complete = { + } + next_building = weapon_armor_smith_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } weapon_armor_smith_4 = { @@ -1079,18 +1071,6 @@ weapon_armor_smith_4 = { market_modifier = { trade_good_iron_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - next_building = weapon_armor_smith_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -1109,6 +1089,17 @@ weapon_armor_smith_4 = { } } } + on_complete = { + } + next_building = weapon_armor_smith_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } weapon_armor_smith_5 = { @@ -1140,17 +1131,6 @@ weapon_armor_smith_5 = { market_modifier = { trade_good_iron_sell_price_mult = price_metal_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -1169,4 +1149,14 @@ weapon_armor_smith_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/ivory_district_buildings.txt b/common/buildings/resource_district_buildings/ivory_district_buildings.txt index 0a6f4650a..ffd4965b1 100644 --- a/common/buildings/resource_district_buildings/ivory_district_buildings.txt +++ b/common/buildings/resource_district_buildings/ivory_district_buildings.txt @@ -688,7 +688,15 @@ sacred_elephant_compound_1 = { monthly_religious_tax = sacred_elephant_compound_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } on_complete = { @@ -704,16 +712,6 @@ sacred_elephant_compound_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - modifiers = { - character_modifier = { - monthly_piety = sacred_elephant_compound_piety_per_ivory_need - } - } - } } sacred_elephant_compound_2 = { @@ -756,7 +754,17 @@ sacred_elephant_compound_2 = { monthly_religious_tax = sacred_elephant_compound_income_tier_2_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } on_complete = { @@ -771,18 +779,6 @@ sacred_elephant_compound_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - character_modifier = { - monthly_piety = sacred_elephant_compound_piety_per_ivory_need - } - } - } } sacred_elephant_compound_3 = { @@ -825,7 +821,17 @@ sacred_elephant_compound_3 = { monthly_religious_tax = sacred_elephant_compound_income_tier_3_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } on_complete = { @@ -840,18 +846,6 @@ sacred_elephant_compound_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - character_modifier = { - monthly_piety = sacred_elephant_compound_piety_per_ivory_need - } - } - } } sacred_elephant_compound_4 = { @@ -894,7 +888,17 @@ sacred_elephant_compound_4 = { monthly_religious_tax = sacred_elephant_compound_income_tier_4_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } on_complete = { @@ -909,18 +913,6 @@ sacred_elephant_compound_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - character_modifier = { - monthly_piety = sacred_elephant_compound_piety_per_ivory_need - } - } - } } sacred_elephant_compound_5 = { @@ -963,7 +955,17 @@ sacred_elephant_compound_5 = { monthly_religious_tax = sacred_elephant_compound_income_tier_5_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_piety = sacred_elephant_compound_piety_per_ivory_need + } + } + } on_complete = { @@ -977,18 +979,6 @@ sacred_elephant_compound_5 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - character_modifier = { - monthly_piety = sacred_elephant_compound_piety_per_ivory_need - } - } - } } #Military Elephant Compound @@ -1018,7 +1008,16 @@ military_elephant_compound_1 = { monthly_civic_tax = military_elephant_compound_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -1034,17 +1033,6 @@ military_elephant_compound_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - modifiers = { - province_modifier = { - stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } military_elephant_compound_2 = { @@ -1074,7 +1062,18 @@ military_elephant_compound_2 = { monthly_civic_tax = military_elephant_compound_income_tier_2_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -1089,19 +1088,6 @@ military_elephant_compound_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } military_elephant_compound_3 = { @@ -1131,7 +1117,18 @@ military_elephant_compound_3 = { monthly_civic_tax = military_elephant_compound_income_tier_3_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -1146,19 +1143,6 @@ military_elephant_compound_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } military_elephant_compound_4 = { @@ -1188,7 +1172,18 @@ military_elephant_compound_4 = { monthly_civic_tax = military_elephant_compound_income_tier_4_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -1203,19 +1198,6 @@ military_elephant_compound_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } military_elephant_compound_5 = { @@ -1245,7 +1227,18 @@ military_elephant_compound_5 = { monthly_civic_tax = military_elephant_compound_income_tier_5_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { @@ -1259,19 +1252,6 @@ military_elephant_compound_5 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - stationed_elephant_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_elephant_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } #Labor Elephants @@ -1301,7 +1281,20 @@ ivory_labor_elephants_1 = { monthly_woodland_tax = ivory_labor_elephants_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need + } + } + } on_complete = { @@ -1317,21 +1310,6 @@ ivory_labor_elephants_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - modifiers = { - province_modifier = { - temple_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - mandala_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - religious_community_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - villages_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - walls_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - urban_housing_district_district_build_gold_cost = ivory_labor_elephant_district_cost_per_need - } - } - } } ivory_labor_elephants_2 = { @@ -1360,21 +1338,6 @@ ivory_labor_elephants_2 = { parameter = government_is_tribal monthly_woodland_tax = ivory_labor_elephants_income_tier_2_tribal } - - - on_complete = { - - } - next_building = ivory_labor_elephants_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_ivory amount = basic_resource_need @@ -1391,6 +1354,19 @@ ivory_labor_elephants_2 = { } } } + + on_complete = { + + } + next_building = ivory_labor_elephants_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } ivory_labor_elephants_3 = { construction_time = construction_time_1_year @@ -1418,21 +1394,6 @@ ivory_labor_elephants_3 = { parameter = government_is_tribal monthly_woodland_tax = ivory_labor_elephants_income_tier_3_tribal } - - - on_complete = { - - } - next_building = ivory_labor_elephants_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_ivory amount = basic_resource_need @@ -1449,6 +1410,19 @@ ivory_labor_elephants_3 = { } } } + + on_complete = { + + } + next_building = ivory_labor_elephants_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } ivory_labor_elephants_4 = { construction_time = construction_time_2_years @@ -1476,21 +1450,6 @@ ivory_labor_elephants_4 = { parameter = government_is_tribal monthly_woodland_tax = ivory_labor_elephants_income_tier_4_tribal } - - - on_complete = { - - } - next_building = ivory_labor_elephants_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_ivory amount = basic_resource_need @@ -1507,6 +1466,19 @@ ivory_labor_elephants_4 = { } } } + + on_complete = { + + } + next_building = ivory_labor_elephants_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } ivory_labor_elephants_5 = { construction_time = construction_time_3_years @@ -1534,20 +1506,6 @@ ivory_labor_elephants_5 = { parameter = government_is_tribal monthly_woodland_tax = ivory_labor_elephants_income_tier_5_tribal } - - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ivory amount = basic_resource_need @@ -1564,6 +1522,18 @@ ivory_labor_elephants_5 = { } } } + + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } ivory_carvers_1 = { construction_time = construction_time_6_months @@ -1590,7 +1560,15 @@ ivory_carvers_1 = { monthly_artisan_tax = ivory_carvers_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } on_complete = { } @@ -1605,16 +1583,6 @@ ivory_carvers_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - modifiers = { - province_modifier = { - prosperity_growth = ivory_carvers_prosperity_per_ivory_need - } - } - } } ivory_carvers_2 = { @@ -1644,7 +1612,17 @@ ivory_carvers_2 = { monthly_artisan_tax = ivory_carvers_income_tier_2_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } on_complete = { } @@ -1658,18 +1636,6 @@ ivory_carvers_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - prosperity_growth = ivory_carvers_prosperity_per_ivory_need - } - } - } } ivory_carvers_3 = { @@ -1699,7 +1665,17 @@ ivory_carvers_3 = { monthly_artisan_tax = ivory_carvers_income_tier_3_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } on_complete = { } @@ -1713,18 +1689,6 @@ ivory_carvers_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - prosperity_growth = ivory_carvers_prosperity_per_ivory_need - } - } - } } ivory_carvers_4 = { @@ -1754,7 +1718,17 @@ ivory_carvers_4 = { monthly_artisan_tax = ivory_carvers_income_tier_4_tribal } + trade_good_need = { + trade_good = trade_good_ivory + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + prosperity_growth = ivory_carvers_prosperity_per_ivory_need + } + } + } on_complete = { } @@ -1768,18 +1742,6 @@ ivory_carvers_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_ivory - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - prosperity_growth = ivory_carvers_prosperity_per_ivory_need - } - } - } } ivory_carvers_5 = { @@ -1809,19 +1771,6 @@ ivory_carvers_5 = { monthly_artisan_tax = ivory_carvers_income_tier_5_tribal } - - on_complete = { - - } - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ivory amount = basic_resource_need @@ -1833,4 +1782,15 @@ ivory_carvers_5 = { } } } + on_complete = { + + } + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ivory } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/medicaments_district_buildings.txt b/common/buildings/resource_district_buildings/medicaments_district_buildings.txt index daf215f58..72f46f0a2 100644 --- a/common/buildings/resource_district_buildings/medicaments_district_buildings.txt +++ b/common/buildings/resource_district_buildings/medicaments_district_buildings.txt @@ -1089,7 +1089,15 @@ local_hospital_1 = { - + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } on_complete = { } @@ -1103,16 +1111,6 @@ local_hospital_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = basic_resource_need - modifiers = { - province_modifier = { - province_size_baseline_add = local_hospital_province_size_per_medicaments_need - } - } - } } local_hospital_2 = { @@ -1139,7 +1137,17 @@ local_hospital_2 = { + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } on_complete = { } @@ -1152,18 +1160,6 @@ local_hospital_2 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - province_size_baseline_add = local_hospital_province_size_per_medicaments_need - } - } - } } local_hospital_3 = { @@ -1190,7 +1186,17 @@ local_hospital_3 = { + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } on_complete = { } @@ -1203,18 +1209,6 @@ local_hospital_3 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - province_size_baseline_add = local_hospital_province_size_per_medicaments_need - } - } - } } local_hospital_4 = { @@ -1241,7 +1235,17 @@ local_hospital_4 = { + trade_good_need = { + trade_good = trade_good_medicaments + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + province_size_baseline_add = local_hospital_province_size_per_medicaments_need + } + } + } on_complete = { } @@ -1254,18 +1258,6 @@ local_hospital_4 = { directive_to_build_economy_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - province_size_baseline_add = local_hospital_province_size_per_medicaments_need - } - } - } } local_hospital_5 = { @@ -1292,19 +1284,6 @@ local_hospital_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1316,6 +1295,17 @@ local_hospital_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } apothecary_1 = { @@ -1340,21 +1330,6 @@ apothecary_1 = { - - on_complete = { - - } - - next_building = apothecary_2 - type_icon = "resource_buildings/apothecary.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1369,6 +1344,19 @@ apothecary_1 = { } } } + on_complete = { + + } + + next_building = apothecary_2 + type_icon = "resource_buildings/apothecary.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } apothecary_2 = { @@ -1395,20 +1383,6 @@ apothecary_2 = { - - on_complete = { - - } - - next_building = apothecary_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1425,6 +1399,18 @@ apothecary_2 = { } } } + on_complete = { + + } + + next_building = apothecary_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } apothecary_3 = { @@ -1451,20 +1437,6 @@ apothecary_3 = { - - on_complete = { - - } - - next_building = apothecary_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1481,6 +1453,18 @@ apothecary_3 = { } } } + on_complete = { + + } + + next_building = apothecary_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } apothecary_4 = { @@ -1507,20 +1491,6 @@ apothecary_4 = { - - on_complete = { - - } - - next_building = apothecary_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1537,6 +1507,18 @@ apothecary_4 = { } } } + on_complete = { + + } + + next_building = apothecary_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } apothecary_5 = { @@ -1563,19 +1545,6 @@ apothecary_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -1592,6 +1561,17 @@ apothecary_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } theriac_workshop_1 = { @@ -1613,22 +1593,6 @@ theriac_workshop_1 = { market_modifier = { trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_1 } - - - on_complete = { - } - next_building = theriac_workshop_2 - type_icon = "resource_buildings/jar_packing_workshops.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1646,7 +1610,6 @@ theriac_workshop_1 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1664,6 +1627,20 @@ theriac_workshop_1 = { } } } + on_complete = { + } + next_building = theriac_workshop_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + } theriac_workshop_2 = { @@ -1685,21 +1662,6 @@ theriac_workshop_2 = { market_modifier = { trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_2 } - - - on_complete = { - } - next_building = theriac_workshop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1719,7 +1681,6 @@ theriac_workshop_2 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1739,6 +1700,19 @@ theriac_workshop_2 = { } } } + on_complete = { + } + next_building = theriac_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } theriac_workshop_3 = { @@ -1760,21 +1734,6 @@ theriac_workshop_3 = { market_modifier = { trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_3 } - - - on_complete = { - } - next_building = theriac_workshop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1794,7 +1753,6 @@ theriac_workshop_3 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1814,6 +1772,19 @@ theriac_workshop_3 = { } } } + on_complete = { + } + next_building = theriac_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } theriac_workshop_4 = { @@ -1835,21 +1806,6 @@ theriac_workshop_4 = { market_modifier = { trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_4 } - - - on_complete = { - } - next_building = theriac_workshop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1869,7 +1825,6 @@ theriac_workshop_4 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1889,6 +1844,19 @@ theriac_workshop_4 = { } } } + on_complete = { + } + next_building = theriac_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } theriac_workshop_5 = { @@ -1910,20 +1878,6 @@ theriac_workshop_5 = { market_modifier = { trade_good_medicaments_buy_price_mult = low_buy_price_reduction_tier_5 } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_honey amount = basic_resource_need @@ -1943,7 +1897,6 @@ theriac_workshop_5 = { } } } - trade_good_need = { trade_good = trade_good_spices amount = luxury_resource_need @@ -1963,6 +1916,18 @@ theriac_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_honey } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } perfumery_1 = { @@ -1986,21 +1951,6 @@ perfumery_1 = { parameter = government_is_tribal monthly_artisan_tax = perfumery_income_tier_1_tribal } - - on_complete = { - } - next_building = perfumery_2 - type_icon = "resource_buildings/cosmetic_shop.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2018,6 +1968,20 @@ perfumery_1 = { } } } + on_complete = { + } + next_building = perfumery_2 + type_icon = "resource_buildings/cosmetic_shop.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_new_building_modifier = yes + } + } perfumery_2 = { @@ -2041,20 +2005,6 @@ perfumery_2 = { parameter = government_is_tribal monthly_artisan_tax = perfumery_income_tier_2_tribal } - - on_complete = { - } - next_building = perfumery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2074,6 +2024,19 @@ perfumery_2 = { } } } + on_complete = { + } + next_building = perfumery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } perfumery_3 = { @@ -2097,20 +2060,6 @@ perfumery_3 = { parameter = government_is_tribal monthly_artisan_tax = perfumery_income_tier_3_tribal } - - on_complete = { - } - next_building = perfumery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2130,6 +2079,19 @@ perfumery_3 = { } } } + on_complete = { + } + next_building = perfumery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } perfumery_4 = { @@ -2153,20 +2115,6 @@ perfumery_4 = { parameter = government_is_tribal monthly_artisan_tax = perfumery_income_tier_4_tribal } - - on_complete = { - } - next_building = perfumery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2186,6 +2134,19 @@ perfumery_4 = { } } } + on_complete = { + } + next_building = perfumery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } perfumery_5 = { @@ -2209,19 +2170,6 @@ perfumery_5 = { parameter = government_is_tribal monthly_artisan_tax = perfumery_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_need_modifier = { GOOD = trade_good_incense } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_incense } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2241,6 +2189,18 @@ perfumery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_need_modifier = { GOOD = trade_good_incense } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_incense } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } stupefactives_apothecary_1 = { @@ -2264,19 +2224,6 @@ stupefactives_apothecary_1 = { parameter = government_is_tribal monthly_artisan_tax = stupefactives_apothecary_income_tier_1_tribal } - - on_complete = { - } - next_building = stupefactives_apothecary_2 - type_icon = "resource_buildings/stupefactives_apothecary.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2294,6 +2241,18 @@ stupefactives_apothecary_1 = { } } } + on_complete = { + } + next_building = stupefactives_apothecary_2 + type_icon = "resource_buildings/stupefactives_apothecary.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } stupefactives_apothecary_2 = { @@ -2317,18 +2276,6 @@ stupefactives_apothecary_2 = { parameter = government_is_tribal monthly_artisan_tax = stupefactives_apothecary_income_tier_2_tribal } - - on_complete = { - } - next_building = stupefactives_apothecary_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2348,6 +2295,17 @@ stupefactives_apothecary_2 = { } } } + on_complete = { + } + next_building = stupefactives_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } stupefactives_apothecary_3 = { @@ -2371,18 +2329,6 @@ stupefactives_apothecary_3 = { parameter = government_is_tribal monthly_artisan_tax = stupefactives_apothecary_income_tier_3_tribal } - - on_complete = { - } - next_building = stupefactives_apothecary_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2402,6 +2348,17 @@ stupefactives_apothecary_3 = { } } } + on_complete = { + } + next_building = stupefactives_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } stupefactives_apothecary_4 = { @@ -2425,18 +2382,6 @@ stupefactives_apothecary_4 = { parameter = government_is_tribal monthly_artisan_tax = stupefactives_apothecary_income_tier_4_tribal } - - on_complete = { - } - next_building = stupefactives_apothecary_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2456,6 +2401,17 @@ stupefactives_apothecary_4 = { } } } + on_complete = { + } + next_building = stupefactives_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } stupefactives_apothecary_5 = { @@ -2479,17 +2435,6 @@ stupefactives_apothecary_5 = { parameter = government_is_tribal monthly_artisan_tax = stupefactives_apothecary_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_medicaments amount = basic_resource_need @@ -2509,4 +2454,14 @@ stupefactives_apothecary_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_medicaments } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/millet_district_buildings.txt b/common/buildings/resource_district_buildings/millet_district_buildings.txt index bbce0e100..5430b84d1 100644 --- a/common/buildings/resource_district_buildings/millet_district_buildings.txt +++ b/common/buildings/resource_district_buildings/millet_district_buildings.txt @@ -985,7 +985,16 @@ sorghum_stalk_builder_1 = { - + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } on_complete = { } @@ -1002,17 +1011,6 @@ sorghum_stalk_builder_1 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need - prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need - } - } - } } sorghum_stalk_builder_2 = { @@ -1044,7 +1042,18 @@ sorghum_stalk_builder_2 = { + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } on_complete = { } @@ -1060,19 +1069,6 @@ sorghum_stalk_builder_2 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need - prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need - } - } - } } sorghum_stalk_builder_3 = { @@ -1104,7 +1100,18 @@ sorghum_stalk_builder_3 = { + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } on_complete = { } @@ -1120,19 +1127,6 @@ sorghum_stalk_builder_3 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need - prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need - } - } - } } sorghum_stalk_builder_4 = { @@ -1164,7 +1158,18 @@ sorghum_stalk_builder_4 = { + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } on_complete = { } @@ -1180,19 +1185,6 @@ sorghum_stalk_builder_4 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need - prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need - } - } - } } sorghum_stalk_builder_5 = { @@ -1224,7 +1216,18 @@ sorghum_stalk_builder_5 = { + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need + prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need + } + } + } on_complete = { } @@ -1239,19 +1242,6 @@ sorghum_stalk_builder_5 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - trade_good_wood_production_add = sorghum_stalk_builder_wood_output_per_millet_need - prosperity_growth = sorghum_stalk_builder_prosperity_per_millet_need - } - } - } } millet_distillery_1 = { @@ -1284,22 +1274,6 @@ millet_distillery_1 = { - - on_complete = { - - } - - next_building = millet_distillery_2 - type_icon = "resource_buildings/distillery.dds" - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1314,6 +1288,20 @@ millet_distillery_1 = { } } } + on_complete = { + + } + + next_building = millet_distillery_2 + type_icon = "resource_buildings/distillery.dds" + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } } millet_distillery_2 = { @@ -1346,21 +1334,6 @@ millet_distillery_2 = { - - on_complete = { - - } - - next_building = millet_distillery_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1377,6 +1350,19 @@ millet_distillery_2 = { } } } + on_complete = { + + } + + next_building = millet_distillery_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } millet_distillery_3 = { @@ -1409,21 +1395,6 @@ millet_distillery_3 = { - - on_complete = { - - } - - next_building = millet_distillery_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1440,6 +1411,19 @@ millet_distillery_3 = { } } } + on_complete = { + + } + + next_building = millet_distillery_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } millet_distillery_4 = { @@ -1472,21 +1456,6 @@ millet_distillery_4 = { - - on_complete = { - - } - - next_building = millet_distillery_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1503,6 +1472,19 @@ millet_distillery_4 = { } } } + on_complete = { + + } + + next_building = millet_distillery_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } millet_distillery_5 = { @@ -1535,20 +1517,6 @@ millet_distillery_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1565,6 +1533,18 @@ millet_distillery_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } fodder_stores_1 = { @@ -1594,7 +1574,18 @@ fodder_stores_1 = { - + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction + stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction + } + } + } on_complete = { } @@ -1609,19 +1600,6 @@ fodder_stores_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - modifiers = { - province_modifier = { - stationed_light_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_light_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - stationed_heavy_cavalry_maintenance_low_modifier = stationed_maa_need_maintenance_reduction - stationed_heavy_cavalry_maintenance_high_modifier = stationed_maa_need_maintenance_reduction - } - } - } } fodder_stores_2 = { @@ -1653,21 +1631,6 @@ fodder_stores_2 = { - - on_complete = { - - } - - next_building = fodder_stores_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1682,6 +1645,19 @@ fodder_stores_2 = { } } } + on_complete = { + + } + + next_building = fodder_stores_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } fodder_stores_3 = { @@ -1713,21 +1689,6 @@ fodder_stores_3 = { - - on_complete = { - - } - - next_building = fodder_stores_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1742,6 +1703,19 @@ fodder_stores_3 = { } } } + on_complete = { + + } + + next_building = fodder_stores_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } fodder_stores_4 = { @@ -1773,21 +1747,6 @@ fodder_stores_4 = { - - on_complete = { - - } - - next_building = fodder_stores_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1802,6 +1761,19 @@ fodder_stores_4 = { } } } + on_complete = { + + } + + next_building = fodder_stores_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } fodder_stores_5 = { @@ -1833,20 +1805,6 @@ fodder_stores_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1861,6 +1819,18 @@ fodder_stores_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } millet_brewery_1 = { @@ -1901,21 +1871,6 @@ millet_brewery_1 = { parameter = government_is_tribal monthly_agricultural_tax = millet_brewery_income_tier_1_tribal } - - on_complete = { - } - next_building = millet_brewery_2 - type_icon = "resource_buildings/breweries.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -1933,6 +1888,20 @@ millet_brewery_1 = { } } } + on_complete = { + } + next_building = millet_brewery_2 + type_icon = "resource_buildings/breweries.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_new_building_modifier = yes + } + } millet_brewery_2 = { @@ -1974,20 +1943,6 @@ millet_brewery_2 = { parameter = government_is_tribal monthly_agricultural_tax = millet_brewery_income_tier_2_tribal } - - on_complete = { - } - next_building = millet_brewery_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2007,6 +1962,19 @@ millet_brewery_2 = { } } } + on_complete = { + } + next_building = millet_brewery_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } millet_brewery_3 = { @@ -2048,20 +2016,6 @@ millet_brewery_3 = { parameter = government_is_tribal monthly_agricultural_tax = millet_brewery_income_tier_3_tribal } - - on_complete = { - } - next_building = millet_brewery_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2081,6 +2035,19 @@ millet_brewery_3 = { } } } + on_complete = { + } + next_building = millet_brewery_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } millet_brewery_4 = { @@ -2122,20 +2089,6 @@ millet_brewery_4 = { parameter = government_is_tribal monthly_agricultural_tax = millet_brewery_income_tier_4_tribal } - - on_complete = { - } - next_building = millet_brewery_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2155,6 +2108,19 @@ millet_brewery_4 = { } } } + on_complete = { + } + next_building = millet_brewery_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } millet_brewery_5 = { @@ -2196,19 +2162,6 @@ millet_brewery_5 = { parameter = government_is_tribal monthly_agricultural_tax = millet_brewery_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2228,6 +2181,18 @@ millet_brewery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } millet_granaries_1 = { @@ -2245,7 +2210,16 @@ millet_granaries_1 = { province_modifier = { supply_limit = small_building_supply_limit_tier_1 } - + trade_good_need = { + trade_good = trade_good_millet + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need + monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need + } + } + } on_complete = { } next_building = millet_granaries_2 @@ -2257,16 +2231,6 @@ millet_granaries_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_millet - amount = basic_resource_need - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = millet_granaries_size_change_per_millet_need - monthly_province_size_change_when_above_baseline_add = millet_granaries_size_change_per_millet_need - } - } - } } millet_granaries_2 = { @@ -2285,17 +2249,6 @@ millet_granaries_2 = { province_modifier = { supply_limit = small_building_supply_limit_tier_2 } - - on_complete = { - } - next_building = millet_granaries_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2308,6 +2261,16 @@ millet_granaries_2 = { } } } + on_complete = { + } + next_building = millet_granaries_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } millet_granaries_3 = { @@ -2326,17 +2289,6 @@ millet_granaries_3 = { province_modifier = { supply_limit = small_building_supply_limit_tier_3 } - - on_complete = { - } - next_building = millet_granaries_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2349,6 +2301,16 @@ millet_granaries_3 = { } } } + on_complete = { + } + next_building = millet_granaries_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } millet_granaries_4 = { @@ -2367,17 +2329,6 @@ millet_granaries_4 = { province_modifier = { supply_limit = small_building_supply_limit_tier_4 } - - on_complete = { - } - next_building = millet_granaries_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2390,6 +2341,16 @@ millet_granaries_4 = { } } } + on_complete = { + } + next_building = millet_granaries_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } millet_granaries_5 = { @@ -2408,16 +2369,6 @@ millet_granaries_5 = { province_modifier = { supply_limit = small_building_supply_limit_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_millet amount = basic_resource_need @@ -2430,4 +2381,13 @@ millet_granaries_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/mine_district_buildings.txt b/common/buildings/resource_district_buildings/mine_district_buildings.txt index 411eaefc5..0213331ca 100644 --- a/common/buildings/resource_district_buildings/mine_district_buildings.txt +++ b/common/buildings/resource_district_buildings/mine_district_buildings.txt @@ -191,7 +191,16 @@ mine_tier_2 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good_category = trade_category_beasts_of_burden + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_category_minerals_production_mult = mine_multiplier_per_beast_need + mining_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = mine_tier_3 @@ -203,16 +212,6 @@ mine_tier_2 = { ai_resource_district_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good_category = trade_category_beasts_of_burden - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_category_minerals_production_mult = mine_multiplier_per_beast_need - mining_tax_mult = tax_mult_per_production_need - } - } - } } mine_tier_3 = { @@ -290,18 +289,6 @@ mine_tier_3 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - - on_complete = { - } - next_building = mine_tier_4 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -313,6 +300,17 @@ mine_tier_3 = { } } } + on_complete = { + } + next_building = mine_tier_4 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } + } mine_tier_4 = { @@ -390,18 +388,6 @@ mine_tier_4 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - - on_complete = { - } - next_building = mine_tier_5 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -413,6 +399,17 @@ mine_tier_4 = { } } } + on_complete = { + } + next_building = mine_tier_5 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } + } mine_tier_5 = { @@ -490,18 +487,6 @@ mine_tier_5 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = mine_tier_6 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -513,6 +498,17 @@ mine_tier_5 = { } } } + on_complete = { + } + next_building = mine_tier_6 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } + } mine_tier_6 = { @@ -596,18 +592,6 @@ mine_tier_6 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = mine_tier_7 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -619,6 +603,17 @@ mine_tier_6 = { } } } + on_complete = { + } + next_building = mine_tier_7 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } + } mine_tier_7 = { @@ -696,18 +691,6 @@ mine_tier_7 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = mine_tier_8 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -719,6 +702,17 @@ mine_tier_7 = { } } } + on_complete = { + } + next_building = mine_tier_8 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } + } mine_tier_8 = { @@ -802,18 +796,6 @@ mine_tier_8 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = mine_tier_9 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -825,6 +807,17 @@ mine_tier_8 = { } } } + on_complete = { + } + next_building = mine_tier_9 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } + } mine_tier_9 = { @@ -902,18 +895,6 @@ mine_tier_9 = { monthly_mining_tax = industrious_tradition_tax_bonus_high } - - on_complete = { - } - next_building = mine_tier_10 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -925,6 +906,17 @@ mine_tier_9 = { } } } + on_complete = { + } + next_building = mine_tier_10 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } + } mine_tier_10 = { @@ -1002,17 +994,6 @@ mine_tier_10 = { monthly_mining_tax = industrious_tradition_tax_bonus_high } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good_category = trade_category_beasts_of_burden amount = basic_resource_need @@ -1024,6 +1005,16 @@ mine_tier_10 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_iron } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } + } # Jewellers' Workshops jewellers_workshop_1 = { @@ -1061,22 +1052,6 @@ jewellers_workshop_1 = { trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 trade_category_precious_metals_sell_price_mult = price_metal_building_1 } - - - next_building = jewellers_workshop_2 - - type_icon = "resource_buildings/jeweller.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_jewelry } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_jewelry_materials amount = guild_precious_stones_resource_need @@ -1094,7 +1069,6 @@ jewellers_workshop_1 = { } } } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = guild_precious_metals_resource_need @@ -1112,6 +1086,19 @@ jewellers_workshop_1 = { } } } + next_building = jewellers_workshop_2 + + type_icon = "resource_buildings/jeweller.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_new_building_modifier = yes + } } # Jewellers' Workshops @@ -1151,21 +1138,6 @@ jewellers_workshop_2 = { trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 trade_category_precious_metals_sell_price_mult = price_metal_building_1 } - - - next_building = jewellers_workshop_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_jewelry } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_jewelry_materials amount = guild_precious_stones_resource_need @@ -1184,7 +1156,6 @@ jewellers_workshop_2 = { } } } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = guild_precious_metals_resource_need @@ -1203,6 +1174,18 @@ jewellers_workshop_2 = { } } } + next_building = jewellers_workshop_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } # Jewellers' Workshops @@ -1242,21 +1225,6 @@ jewellers_workshop_3 = { trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 trade_category_precious_metals_sell_price_mult = price_metal_building_1 } - - - next_building = jewellers_workshop_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_jewelry } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_jewelry_materials amount = guild_precious_stones_resource_need @@ -1275,7 +1243,6 @@ jewellers_workshop_3 = { } } } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = guild_precious_metals_resource_need @@ -1294,6 +1261,18 @@ jewellers_workshop_3 = { } } } + next_building = jewellers_workshop_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } # Jewellers' Workshops @@ -1333,21 +1312,6 @@ jewellers_workshop_4 = { trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 trade_category_precious_metals_sell_price_mult = price_metal_building_1 } - - - next_building = jewellers_workshop_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_jewelry } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_jewelry_materials amount = guild_precious_stones_resource_need @@ -1366,7 +1330,6 @@ jewellers_workshop_4 = { } } } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = guild_precious_metals_resource_need @@ -1385,6 +1348,18 @@ jewellers_workshop_4 = { } } } + next_building = jewellers_workshop_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } # Jewellers' Workshops @@ -1424,19 +1399,6 @@ jewellers_workshop_5 = { trade_category_jewelry_materials_sell_price_mult = price_basic_building_1 trade_category_precious_metals_sell_price_mult = price_metal_building_1 } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } - ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_jewelry } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_jewelry_materials amount = guild_precious_stones_resource_need @@ -1455,7 +1417,6 @@ jewellers_workshop_5 = { } } } - trade_good_need = { trade_good_category = trade_category_precious_metals amount = guild_precious_metals_resource_need @@ -1474,5 +1435,15 @@ jewellers_workshop_5 = { } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_jewelry } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_jewelry_materials } + ai_resource_building_consumer_need_category_modifier = { CATEGORY = trade_category_precious_metals } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_jewelry } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/oil_district_buildings.txt b/common/buildings/resource_district_buildings/oil_district_buildings.txt index d58fe73c1..7ca5da725 100644 --- a/common/buildings/resource_district_buildings/oil_district_buildings.txt +++ b/common/buildings/resource_district_buildings/oil_district_buildings.txt @@ -606,18 +606,6 @@ oil_soapworks_1 = { county_modifier = { epidemic_resistance = soap_epidemic_resistance_tier_1 } - - on_complete = { - } - next_building = oil_soapworks_2 - type_icon = "resource_buildings/monsoon_water_management.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -632,6 +620,17 @@ oil_soapworks_1 = { } } } + on_complete = { + } + next_building = oil_soapworks_2 + type_icon = "resource_buildings/monsoon_water_management.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } oil_soapworks_2 = { @@ -650,17 +649,6 @@ oil_soapworks_2 = { county_modifier = { epidemic_resistance = soap_epidemic_resistance_tier_2 } - - on_complete = { - } - next_building = oil_soapworks_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -677,6 +665,16 @@ oil_soapworks_2 = { } } } + on_complete = { + } + next_building = oil_soapworks_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } oil_soapworks_3 = { @@ -695,17 +693,6 @@ oil_soapworks_3 = { county_modifier = { epidemic_resistance = soap_epidemic_resistance_tier_3 } - - on_complete = { - } - next_building = oil_soapworks_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -722,6 +709,16 @@ oil_soapworks_3 = { } } } + on_complete = { + } + next_building = oil_soapworks_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } oil_soapworks_4 = { @@ -740,17 +737,6 @@ oil_soapworks_4 = { county_modifier = { epidemic_resistance = soap_epidemic_resistance_tier_4 } - - on_complete = { - } - next_building = oil_soapworks_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -767,6 +753,16 @@ oil_soapworks_4 = { } } } + on_complete = { + } + next_building = oil_soapworks_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } oil_soapworks_5 = { @@ -785,16 +781,6 @@ oil_soapworks_5 = { county_modifier = { epidemic_resistance = soap_epidemic_resistance_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -811,6 +797,15 @@ oil_soapworks_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } olive_mill_1 = { @@ -831,7 +826,16 @@ olive_mill_1 = { market_modifier = { trade_good_stone_sell_price_mult = price_basic_building_1 } - + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = olive_mill_2 @@ -846,16 +850,6 @@ olive_mill_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } olive_mill_2 = { @@ -877,7 +871,18 @@ olive_mill_2 = { market_modifier = { trade_good_stone_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = olive_mill_3 @@ -891,18 +896,6 @@ olive_mill_2 = { ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } olive_mill_3 = { @@ -924,7 +917,18 @@ olive_mill_3 = { market_modifier = { trade_good_stone_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = olive_mill_4 @@ -938,18 +942,6 @@ olive_mill_3 = { ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } olive_mill_4 = { @@ -971,7 +963,18 @@ olive_mill_4 = { market_modifier = { trade_good_stone_sell_price_mult = price_basic_building_1 } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = olive_mill_5 @@ -985,18 +988,6 @@ olive_mill_4 = { ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - trade_good_oil_production_mult = olive_mill_oil_mult_per_stone_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } olive_mill_5 = { @@ -1018,19 +1009,6 @@ olive_mill_5 = { market_modifier = { trade_good_stone_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1043,6 +1021,18 @@ olive_mill_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } oil_apothecary_1 = { @@ -1065,21 +1055,6 @@ oil_apothecary_1 = { parameter = government_is_tribal monthly_artisan_tax = oil_apothecary_income_tier_1_tribal } - - on_complete = { - } - next_building = oil_apothecary_2 - type_icon = "resource_buildings/ointment_maker.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1097,6 +1072,20 @@ oil_apothecary_1 = { } } } + on_complete = { + } + next_building = oil_apothecary_2 + type_icon = "resource_buildings/ointment_maker.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + } oil_apothecary_2 = { @@ -1120,20 +1109,6 @@ oil_apothecary_2 = { parameter = government_is_tribal monthly_artisan_tax = oil_apothecary_income_tier_2_tribal } - - on_complete = { - } - next_building = oil_apothecary_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1153,6 +1128,19 @@ oil_apothecary_2 = { } } } + on_complete = { + } + next_building = oil_apothecary_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } oil_apothecary_3 = { @@ -1176,20 +1164,6 @@ oil_apothecary_3 = { parameter = government_is_tribal monthly_artisan_tax = oil_apothecary_income_tier_3_tribal } - - on_complete = { - } - next_building = oil_apothecary_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1209,6 +1183,19 @@ oil_apothecary_3 = { } } } + on_complete = { + } + next_building = oil_apothecary_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } oil_apothecary_4 = { @@ -1232,20 +1219,6 @@ oil_apothecary_4 = { parameter = government_is_tribal monthly_artisan_tax = oil_apothecary_income_tier_4_tribal } - - on_complete = { - } - next_building = oil_apothecary_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1265,6 +1238,19 @@ oil_apothecary_4 = { } } } + on_complete = { + } + next_building = oil_apothecary_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } oil_apothecary_5 = { @@ -1288,19 +1274,6 @@ oil_apothecary_5 = { parameter = government_is_tribal monthly_artisan_tax = oil_apothecary_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1320,6 +1293,18 @@ oil_apothecary_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } oil_waxworks_1 = { @@ -1337,18 +1322,6 @@ oil_waxworks_1 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_1 } - - on_complete = { - } - next_building = oil_waxworks_2 - type_icon = "resource_buildings/wickmaker.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1363,6 +1336,17 @@ oil_waxworks_1 = { } } } + on_complete = { + } + next_building = oil_waxworks_2 + type_icon = "resource_buildings/wickmaker.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } oil_waxworks_2 = { @@ -1381,17 +1365,6 @@ oil_waxworks_2 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_2 } - - on_complete = { - } - next_building = oil_waxworks_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1408,6 +1381,16 @@ oil_waxworks_2 = { } } } + on_complete = { + } + next_building = oil_waxworks_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } oil_waxworks_3 = { @@ -1426,17 +1409,6 @@ oil_waxworks_3 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_3 } - - on_complete = { - } - next_building = oil_waxworks_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1453,6 +1425,16 @@ oil_waxworks_3 = { } } } + on_complete = { + } + next_building = oil_waxworks_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } oil_waxworks_4 = { @@ -1471,17 +1453,6 @@ oil_waxworks_4 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_4 } - - on_complete = { - } - next_building = oil_waxworks_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1498,6 +1469,16 @@ oil_waxworks_4 = { } } } + on_complete = { + } + next_building = oil_waxworks_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } oil_waxworks_5 = { @@ -1516,16 +1497,6 @@ oil_waxworks_5 = { province_modifier = { monthly_province_size_change_when_below_baseline_add = wax_size_growth_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1542,4 +1513,13 @@ oil_waxworks_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/rice_district_buildings.txt b/common/buildings/resource_district_buildings/rice_district_buildings.txt index fc03eac0c..f25f1817a 100644 --- a/common/buildings/resource_district_buildings/rice_district_buildings.txt +++ b/common/buildings/resource_district_buildings/rice_district_buildings.txt @@ -924,8 +924,33 @@ rice_winery_1 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_beer_production_add = rice_winery_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_agricultural_tax = monthly_tax_per_beer_level_tribal + } + } + } + trade_good_need = { + trade_good = trade_good_ceramics + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { @@ -945,35 +970,6 @@ rice_winery_1 = { ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_beer_production_add = rice_winery_output_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_agricultural_tax = monthly_tax_per_beer_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_agricultural_tax = monthly_tax_per_beer_level_tribal - } - } - } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_wine_production_mult = rice_winery_wine_mult_from_ceramics_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } rice_winery_2 = { @@ -1009,27 +1005,6 @@ rice_winery_2 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - - - on_complete = { - - } - - next_building = rice_winery_3 - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1049,7 +1024,6 @@ rice_winery_2 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1060,6 +1034,24 @@ rice_winery_2 = { } } } + + on_complete = { + + } + + next_building = rice_winery_3 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } rice_winery_3 = { @@ -1095,27 +1087,6 @@ rice_winery_3 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - - - on_complete = { - - } - - next_building = rice_winery_4 - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1135,7 +1106,6 @@ rice_winery_3 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1148,6 +1118,24 @@ rice_winery_3 = { } } } + + on_complete = { + + } + + next_building = rice_winery_4 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } rice_winery_4 = { @@ -1185,27 +1173,6 @@ rice_winery_4 = { trade_good_ceramics_sell_price_mult = price_basic_building_1 } - - - - on_complete = { - - } - - next_building = rice_winery_5 - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1225,7 +1192,6 @@ rice_winery_4 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1238,6 +1204,24 @@ rice_winery_4 = { } } } + + on_complete = { + + } + + next_building = rice_winery_5 + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } rice_winery_5 = { @@ -1277,25 +1261,6 @@ rice_winery_5 = { } - - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1315,7 +1280,6 @@ rice_winery_5 = { } } } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1328,6 +1292,22 @@ rice_winery_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_beer CATEGORY = trade_category_alcohol } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #rice_straw_weaving @@ -1348,24 +1328,6 @@ rice_straw_weaving_1 = { cost_gold = resource_district_normal_tier_1_cost - - - on_complete = { - - } - - next_building = rice_straw_weaving_2 - type_icon = "old_buildings/rice.dds" - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1383,6 +1345,22 @@ rice_straw_weaving_1 = { } } } + + on_complete = { + + } + + next_building = rice_straw_weaving_2 + type_icon = "old_buildings/rice.dds" + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } } rice_straw_weaving_2 = { @@ -1403,23 +1381,6 @@ rice_straw_weaving_2 = { cost_gold = resource_district_normal_tier_2_cost - - - on_complete = { - - } - - next_building = rice_straw_weaving_3 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1439,6 +1400,21 @@ rice_straw_weaving_2 = { } } } + + on_complete = { + + } + + next_building = rice_straw_weaving_3 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } rice_straw_weaving_3 = { @@ -1459,23 +1435,6 @@ rice_straw_weaving_3 = { cost_gold = resource_district_normal_tier_3_cost - - - on_complete = { - - } - - next_building = rice_straw_weaving_4 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1495,6 +1454,21 @@ rice_straw_weaving_3 = { } } } + + on_complete = { + + } + + next_building = rice_straw_weaving_4 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } rice_straw_weaving_4 = { @@ -1515,23 +1489,6 @@ rice_straw_weaving_4 = { cost_gold = resource_district_normal_tier_4_cost - - - on_complete = { - - } - - next_building = rice_straw_weaving_5 - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1551,6 +1508,21 @@ rice_straw_weaving_4 = { } } } + + on_complete = { + + } + + next_building = rice_straw_weaving_5 + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } rice_straw_weaving_5 = { @@ -1571,22 +1543,6 @@ rice_straw_weaving_5 = { cost_gold = resource_district_normal_tier_5_cost - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1606,6 +1562,20 @@ rice_straw_weaving_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #rice_thatching @@ -1626,7 +1596,17 @@ rice_thatching_1 = { cost_gold = resource_district_normal_tier_1_cost - + trade_good_need = { + trade_good = trade_good_rice + amount = basic_resource_need + modifiers = { + province_modifier = { + villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need + religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need + manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need + } + } + } on_complete = { @@ -1641,18 +1621,6 @@ rice_thatching_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = basic_resource_need - modifiers = { - province_modifier = { - villages_district_district_build_gold_cost = rice_thatching_district_cost_per_need - religious_community_district_district_build_gold_cost = rice_thatching_district_cost_per_need - manor_houses_district_district_build_gold_cost = rice_thatching_district_cost_per_need - } - } - } } rice_thatching_2 = { @@ -1673,21 +1641,6 @@ rice_thatching_2 = { cost_gold = resource_district_normal_tier_2_cost - - - on_complete = { - - } - - next_building = rice_thatching_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1701,6 +1654,19 @@ rice_thatching_2 = { } } } + + on_complete = { + + } + + next_building = rice_thatching_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } rice_thatching_3 = { @@ -1721,21 +1687,6 @@ rice_thatching_3 = { cost_gold = resource_district_normal_tier_3_cost - - - on_complete = { - - } - - next_building = rice_thatching_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1749,6 +1700,19 @@ rice_thatching_3 = { } } } + + on_complete = { + + } + + next_building = rice_thatching_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } rice_thatching_4 = { @@ -1769,21 +1733,6 @@ rice_thatching_4 = { cost_gold = resource_district_normal_tier_4_cost - - - on_complete = { - - } - - next_building = rice_thatching_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1797,6 +1746,19 @@ rice_thatching_4 = { } } } + + on_complete = { + + } + + next_building = rice_thatching_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } rice_thatching_5 = { @@ -1817,20 +1779,6 @@ rice_thatching_5 = { cost_gold = resource_district_normal_tier_5_cost - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -1844,6 +1792,18 @@ rice_thatching_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } rice_bran_mill_1 = { @@ -2256,18 +2216,6 @@ fine_flour_mills_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - on_complete = { - } - next_building = fine_flour_mills_2 - type_icon = "resource_buildings/breaking_mill.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2282,6 +2230,17 @@ fine_flour_mills_1 = { } } } + on_complete = { + } + next_building = fine_flour_mills_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } fine_flour_mills_2 = { @@ -2300,17 +2259,6 @@ fine_flour_mills_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - on_complete = { - } - next_building = fine_flour_mills_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2327,6 +2275,16 @@ fine_flour_mills_2 = { } } } + on_complete = { + } + next_building = fine_flour_mills_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } fine_flour_mills_3 = { @@ -2345,17 +2303,6 @@ fine_flour_mills_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - on_complete = { - } - next_building = fine_flour_mills_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2372,6 +2319,16 @@ fine_flour_mills_3 = { } } } + on_complete = { + } + next_building = fine_flour_mills_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } fine_flour_mills_4 = { @@ -2390,17 +2347,6 @@ fine_flour_mills_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - on_complete = { - } - next_building = fine_flour_mills_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2417,6 +2363,16 @@ fine_flour_mills_4 = { } } } + on_complete = { + } + next_building = fine_flour_mills_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } fine_flour_mills_5 = { @@ -2435,16 +2391,6 @@ fine_flour_mills_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2461,6 +2407,15 @@ fine_flour_mills_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } rice_confectionary_1 = { @@ -2484,19 +2439,6 @@ rice_confectionary_1 = { parameter = government_is_tribal monthly_artisan_tax = rice_confectionary_income_tier_1_tribal } - - on_complete = { - } - next_building = rice_confectionary_2 - type_icon = "resource_buildings/sugar_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2511,6 +2453,18 @@ rice_confectionary_1 = { } } } + on_complete = { + } + next_building = rice_confectionary_2 + type_icon = "resource_buildings/sugar_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } rice_confectionary_2 = { @@ -2534,18 +2488,6 @@ rice_confectionary_2 = { parameter = government_is_tribal monthly_artisan_tax = rice_confectionary_income_tier_2_tribal } - - on_complete = { - } - next_building = rice_confectionary_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2562,6 +2504,17 @@ rice_confectionary_2 = { } } } + on_complete = { + } + next_building = rice_confectionary_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } rice_confectionary_3 = { @@ -2585,18 +2538,6 @@ rice_confectionary_3 = { parameter = government_is_tribal monthly_artisan_tax = rice_confectionary_income_tier_3_tribal } - - on_complete = { - } - next_building = rice_confectionary_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2613,6 +2554,17 @@ rice_confectionary_3 = { } } } + on_complete = { + } + next_building = rice_confectionary_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } rice_confectionary_4 = { @@ -2636,18 +2588,6 @@ rice_confectionary_4 = { parameter = government_is_tribal monthly_artisan_tax = rice_confectionary_income_tier_4_tribal } - - on_complete = { - } - next_building = rice_confectionary_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2664,6 +2604,17 @@ rice_confectionary_4 = { } } } + on_complete = { + } + next_building = rice_confectionary_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } rice_confectionary_5 = { @@ -2687,17 +2638,6 @@ rice_confectionary_5 = { parameter = government_is_tribal monthly_artisan_tax = rice_confectionary_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_rice amount = basic_resource_need @@ -2714,4 +2654,14 @@ rice_confectionary_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/salt_district_buildings.txt b/common/buildings/resource_district_buildings/salt_district_buildings.txt index 0e109d17c..250ef57b7 100644 --- a/common/buildings/resource_district_buildings/salt_district_buildings.txt +++ b/common/buildings/resource_district_buildings/salt_district_buildings.txt @@ -245,7 +245,16 @@ salt_resource_building_2 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } next_building = salt_resource_building_3 @@ -257,17 +266,6 @@ salt_resource_building_2 = { ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } ai_resource_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_wood - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_salt_production_mult = salt_wood_salt_mult_per_need - mining_tax_mult = tax_mult_per_production_need - } - } - } } salt_resource_building_3 = { @@ -316,7 +314,16 @@ salt_resource_building_3 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = salt_wood_salt_mult_per_need + mining_tax_mult = tax_mult_per_production_need + } + } + } next_building = salt_resource_building_4 @@ -328,17 +335,6 @@ salt_resource_building_3 = { ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } ai_resource_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_wood - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_salt_production_mult = salt_wood_salt_mult_per_need - mining_tax_mult = tax_mult_per_production_need - } - } - } } salt_resource_building_4 = { @@ -387,19 +383,6 @@ salt_resource_building_4 = { monthly_mining_tax = industrious_tradition_tax_bonus_low } - - - next_building = salt_resource_building_5 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -412,6 +395,17 @@ salt_resource_building_4 = { } } } + + next_building = salt_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } } salt_resource_building_5 = { @@ -460,19 +454,6 @@ salt_resource_building_5 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - - next_building = salt_resource_building_6 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -485,6 +466,17 @@ salt_resource_building_5 = { } } } + + next_building = salt_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } } salt_resource_building_6 = { @@ -533,19 +525,6 @@ salt_resource_building_6 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - - next_building = salt_resource_building_7 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -558,6 +537,17 @@ salt_resource_building_6 = { } } } + + next_building = salt_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } } salt_resource_building_7 = { @@ -606,19 +596,6 @@ salt_resource_building_7 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - - next_building = salt_resource_building_8 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -631,6 +608,17 @@ salt_resource_building_7 = { } } } + + next_building = salt_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } } salt_resource_building_8 = { @@ -679,19 +667,6 @@ salt_resource_building_8 = { monthly_mining_tax = industrious_tradition_tax_bonus_mid } - - - next_building = salt_resource_building_9 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -704,6 +679,17 @@ salt_resource_building_8 = { } } } + + next_building = salt_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } } salt_resource_building_9 = { @@ -752,19 +738,6 @@ salt_resource_building_9 = { monthly_mining_tax = industrious_tradition_tax_bonus_high } - - - next_building = salt_resource_building_10 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -777,6 +750,17 @@ salt_resource_building_9 = { } } } + + next_building = salt_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } } salt_resource_building_10 = { @@ -825,18 +809,6 @@ salt_resource_building_10 = { monthly_mining_tax = industrious_tradition_tax_bonus_high } - - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -849,6 +821,16 @@ salt_resource_building_10 = { } } } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } } # Pan-smiths @@ -873,7 +855,16 @@ pan_smith_1 = { parameter = government_is_tribal monthly_mining_tax = pan_smith_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_iron + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need + mining_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = pan_smith_2 @@ -887,17 +878,6 @@ pan_smith_1 = { ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = metal_resource_need - modifiers = { - province_modifier = { - trade_good_salt_production_mult = pan_smith_salt_mult_per_iron_need - mining_tax_mult = tax_mult_per_production_need - } - } - } } pan_smith_2 = { construction_time = construction_time_9_months @@ -920,20 +900,6 @@ pan_smith_2 = { parameter = government_is_tribal monthly_mining_tax = pan_smith_income_tier_2_tribal } - - on_complete = { - } - next_building = pan_smith_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -946,6 +912,18 @@ pan_smith_2 = { } } } + on_complete = { + } + next_building = pan_smith_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } pan_smith_3 = { construction_time = construction_time_1_year @@ -968,20 +946,6 @@ pan_smith_3 = { parameter = government_is_tribal monthly_mining_tax = pan_smith_income_tier_3_tribal } - - on_complete = { - } - next_building = pan_smith_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -994,6 +958,18 @@ pan_smith_3 = { } } } + on_complete = { + } + next_building = pan_smith_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } pan_smith_4 = { construction_time = construction_time_2_years @@ -1016,20 +992,6 @@ pan_smith_4 = { parameter = government_is_tribal monthly_mining_tax = pan_smith_income_tier_4_tribal } - - on_complete = { - } - next_building = pan_smith_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -1042,6 +1004,18 @@ pan_smith_4 = { } } } + on_complete = { + } + next_building = pan_smith_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } pan_smith_5 = { construction_time = construction_time_3_years @@ -1064,19 +1038,6 @@ pan_smith_5 = { parameter = government_is_tribal monthly_mining_tax = pan_smith_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron amount = metal_resource_need @@ -1089,6 +1050,17 @@ pan_smith_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Sack & Basket Weavers sack_basket_weavers_1 = { @@ -1109,7 +1081,15 @@ sack_basket_weavers_1 = { market_modifier = { trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult } - + trade_good_need = { + trade_good = trade_good_hemp + amount = basic_resource_need + modifiers = { + province_modifier = { + prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need + } + } + } on_complete = { } next_building = sack_basket_weavers_2 @@ -1120,16 +1100,6 @@ sack_basket_weavers_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = basic_resource_need - modifiers = { - province_modifier = { - prosperity_growth = sack_basket_weavers_prosperity_per_hemp_need - } - } - } } sack_basket_weavers_2 = { construction_time = construction_time_9_months @@ -1150,17 +1120,6 @@ sack_basket_weavers_2 = { market_modifier = { trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult } - - on_complete = { - } - next_building = sack_basket_weavers_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1172,6 +1131,15 @@ sack_basket_weavers_2 = { } } } + on_complete = { + } + next_building = sack_basket_weavers_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } sack_basket_weavers_3 = { construction_time = construction_time_1_year @@ -1192,17 +1160,6 @@ sack_basket_weavers_3 = { market_modifier = { trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult } - - on_complete = { - } - next_building = sack_basket_weavers_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1214,6 +1171,15 @@ sack_basket_weavers_3 = { } } } + on_complete = { + } + next_building = sack_basket_weavers_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } sack_basket_weavers_4 = { construction_time = construction_time_2_years @@ -1234,17 +1200,6 @@ sack_basket_weavers_4 = { market_modifier = { trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult } - - on_complete = { - } - next_building = sack_basket_weavers_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1256,6 +1211,15 @@ sack_basket_weavers_4 = { } } } + on_complete = { + } + next_building = sack_basket_weavers_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } sack_basket_weavers_5 = { construction_time = construction_time_3_years @@ -1276,16 +1240,6 @@ sack_basket_weavers_5 = { market_modifier = { trade_good_salt_buy_price_mult = sack_basket_weavers_salt_buy_price_mult } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_hemp amount = basic_resource_need @@ -1297,6 +1251,14 @@ sack_basket_weavers_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_hemp } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Salt Taxation Office salt_taxation_office_1 = { @@ -1331,19 +1293,6 @@ salt_taxation_office_1 = { parameter = government_is_tribal monthly_civic_tax = salt_taxation_office_civic_tax_tier_1_tribal } - - on_complete = { - } - next_building = salt_taxation_office_2 - type_icon = "regular_buildings/camera_salis.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1358,6 +1307,17 @@ salt_taxation_office_1 = { } } } + on_complete = { + } + next_building = salt_taxation_office_2 + type_icon = "regular_buildings/camera_salis.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } } salt_taxation_office_2 = { construction_time = construction_time_9_months @@ -1392,18 +1352,6 @@ salt_taxation_office_2 = { parameter = government_is_tribal monthly_civic_tax = salt_taxation_office_civic_tax_tier_2_tribal } - - on_complete = { - } - next_building = salt_taxation_office_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1420,6 +1368,16 @@ salt_taxation_office_2 = { } } } + on_complete = { + } + next_building = salt_taxation_office_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } salt_taxation_office_3 = { construction_time = construction_time_1_year @@ -1454,18 +1412,6 @@ salt_taxation_office_3 = { parameter = government_is_tribal monthly_civic_tax = salt_taxation_office_civic_tax_tier_3_tribal } - - on_complete = { - } - next_building = salt_taxation_office_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1482,6 +1428,16 @@ salt_taxation_office_3 = { } } } + on_complete = { + } + next_building = salt_taxation_office_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } salt_taxation_office_4 = { construction_time = construction_time_2_years @@ -1516,18 +1472,6 @@ salt_taxation_office_4 = { parameter = government_is_tribal monthly_civic_tax = salt_taxation_office_civic_tax_tier_4_tribal } - - on_complete = { - } - next_building = salt_taxation_office_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1544,6 +1488,16 @@ salt_taxation_office_4 = { } } } + on_complete = { + } + next_building = salt_taxation_office_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } salt_taxation_office_5 = { construction_time = construction_time_3_years @@ -1578,17 +1532,6 @@ salt_taxation_office_5 = { parameter = government_is_tribal monthly_civic_tax = salt_taxation_office_civic_tax_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1605,4 +1548,13 @@ salt_taxation_office_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt b/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt index fc60c4f20..3cdfa99aa 100644 --- a/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt +++ b/common/buildings/resource_district_buildings/shared_resource_district_buildings.txt @@ -842,18 +842,6 @@ cooper_workshop_1 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cooper_workshop_2 - type_icon = "old_buildings/workshops.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -868,6 +856,17 @@ cooper_workshop_1 = { } } } + on_complete = { + } + next_building = cooper_workshop_2 + type_icon = "old_buildings/workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } cooper_workshop_2 = { @@ -894,17 +893,6 @@ cooper_workshop_2 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cooper_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -922,6 +910,16 @@ cooper_workshop_2 = { } } } + on_complete = { + } + next_building = cooper_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cooper_workshop_3 = { @@ -948,17 +946,6 @@ cooper_workshop_3 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cooper_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -976,6 +963,16 @@ cooper_workshop_3 = { } } } + on_complete = { + } + next_building = cooper_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cooper_workshop_4 = { @@ -1002,17 +999,6 @@ cooper_workshop_4 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = cooper_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1030,6 +1016,16 @@ cooper_workshop_4 = { } } } + on_complete = { + } + next_building = cooper_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cooper_workshop_5 = { @@ -1056,16 +1052,6 @@ cooper_workshop_5 = { market_modifier = { trade_good_wood_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1083,6 +1069,15 @@ cooper_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Tanneries @@ -1123,23 +1118,6 @@ cattle_tannery_1 = { trade_good_cattle_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - on_complete = { - } - next_building = cattle_tannery_2 - type_icon = "resource_buildings/tannery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1157,7 +1135,6 @@ cattle_tannery_1 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1168,6 +1145,21 @@ cattle_tannery_1 = { } } } + on_complete = { + } + next_building = cattle_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + } cattle_tannery_2 = { @@ -1200,26 +1192,6 @@ cattle_tannery_2 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = cattle_tannery_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1240,7 +1212,6 @@ cattle_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1258,7 +1229,6 @@ cattle_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1276,7 +1246,6 @@ cattle_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1287,6 +1256,22 @@ cattle_tannery_2 = { } } } + on_complete = { + } + next_building = cattle_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } cattle_tannery_3 = { @@ -1319,26 +1304,6 @@ cattle_tannery_3 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = cattle_tannery_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1358,7 +1323,6 @@ cattle_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1376,7 +1340,6 @@ cattle_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1394,7 +1357,6 @@ cattle_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1405,6 +1367,22 @@ cattle_tannery_3 = { } } } + on_complete = { + } + next_building = cattle_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } cattle_tannery_4 = { @@ -1437,26 +1415,6 @@ cattle_tannery_4 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = cattle_tannery_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1476,7 +1434,6 @@ cattle_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1494,7 +1451,6 @@ cattle_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1512,7 +1468,6 @@ cattle_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1523,6 +1478,22 @@ cattle_tannery_4 = { } } } + on_complete = { + } + next_building = cattle_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } cattle_tannery_5 = { @@ -1555,25 +1526,6 @@ cattle_tannery_5 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_cattle amount = basic_resource_need @@ -1593,7 +1545,6 @@ cattle_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1611,7 +1562,6 @@ cattle_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1629,7 +1579,6 @@ cattle_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1640,6 +1589,21 @@ cattle_tannery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Wool Tannery @@ -1673,23 +1637,6 @@ wool_tannery_1 = { trade_good_wool_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - on_complete = { - } - next_building = wool_tannery_2 - type_icon = "resource_buildings/tannery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1707,7 +1654,6 @@ wool_tannery_1 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1718,6 +1664,21 @@ wool_tannery_1 = { } } } + on_complete = { + } + next_building = wool_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + } wool_tannery_2 = { @@ -1750,26 +1711,6 @@ wool_tannery_2 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = wool_tannery_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1790,7 +1731,6 @@ wool_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1808,7 +1748,6 @@ wool_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1826,7 +1765,6 @@ wool_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1837,6 +1775,22 @@ wool_tannery_2 = { } } } + on_complete = { + } + next_building = wool_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } wool_tannery_3 = { @@ -1869,26 +1823,6 @@ wool_tannery_3 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = wool_tannery_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1908,7 +1842,6 @@ wool_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -1926,7 +1859,6 @@ wool_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -1944,7 +1876,6 @@ wool_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1955,6 +1886,22 @@ wool_tannery_3 = { } } } + on_complete = { + } + next_building = wool_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } wool_tannery_4 = { @@ -1987,26 +1934,6 @@ wool_tannery_4 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = wool_tannery_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2026,7 +1953,6 @@ wool_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2044,7 +1970,6 @@ wool_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2062,7 +1987,6 @@ wool_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2073,6 +1997,22 @@ wool_tannery_4 = { } } } + on_complete = { + } + next_building = wool_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } wool_tannery_5 = { @@ -2105,25 +2045,6 @@ wool_tannery_5 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -2143,7 +2064,6 @@ wool_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2161,7 +2081,6 @@ wool_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2179,7 +2098,6 @@ wool_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2190,6 +2108,21 @@ wool_tannery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Furs Tannery @@ -2223,23 +2156,6 @@ furs_tannery_1 = { trade_good_furs_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - on_complete = { - } - next_building = furs_tannery_2 - type_icon = "resource_buildings/tannery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2257,7 +2173,6 @@ furs_tannery_1 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2268,6 +2183,21 @@ furs_tannery_1 = { } } } + on_complete = { + } + next_building = furs_tannery_2 + type_icon = "resource_buildings/tannery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_new_building_modifier = yes + } + } furs_tannery_2 = { @@ -2300,26 +2230,6 @@ furs_tannery_2 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = furs_tannery_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2340,7 +2250,6 @@ furs_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2358,7 +2267,6 @@ furs_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2376,7 +2284,6 @@ furs_tannery_2 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2387,6 +2294,22 @@ furs_tannery_2 = { } } } + on_complete = { + } + next_building = furs_tannery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } furs_tannery_3 = { @@ -2419,26 +2342,6 @@ furs_tannery_3 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = furs_tannery_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2458,7 +2361,6 @@ furs_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2476,7 +2378,6 @@ furs_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2494,7 +2395,6 @@ furs_tannery_3 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2505,6 +2405,22 @@ furs_tannery_3 = { } } } + on_complete = { + } + next_building = furs_tannery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } furs_tannery_4 = { @@ -2537,26 +2453,6 @@ furs_tannery_4 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - next_building = furs_tannery_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2576,7 +2472,6 @@ furs_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2594,7 +2489,6 @@ furs_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2612,7 +2506,6 @@ furs_tannery_4 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2623,6 +2516,22 @@ furs_tannery_4 = { } } } + on_complete = { + } + next_building = furs_tannery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } furs_tannery_5 = { @@ -2655,25 +2564,6 @@ furs_tannery_5 = { trade_good_alum_sell_price_mult = price_basic_building_1 trade_good_wood_sell_price_mult = price_basic_building_1 } - - - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_leather } - ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } - ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_leather } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_furs amount = basic_resource_need @@ -2693,7 +2583,6 @@ furs_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_salt amount = basic_resource_need @@ -2711,7 +2600,6 @@ furs_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_alum amount = luxury_resource_need @@ -2729,7 +2617,6 @@ furs_tannery_5 = { } } } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -2740,6 +2627,21 @@ furs_tannery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_leather } + ai_resource_building_consumer_modifier = { GOOD = trade_good_furs } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_salt } + ai_resource_building_consumer_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_leather } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Paper Mill @@ -2773,20 +2675,6 @@ paper_workshop_1 = { market_modifier = { trade_good_textiles_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = paper_workshop_2 - type_icon = "resource_buildings/paper_buildings.dds" - ai_value = { - base = 10.7 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -2804,6 +2692,19 @@ paper_workshop_1 = { } } } + on_complete = { + } + next_building = paper_workshop_2 + type_icon = "resource_buildings/paper_buildings.dds" + ai_value = { + base = 10.7 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + } paper_workshop_2 = { @@ -2831,19 +2732,6 @@ paper_workshop_2 = { market_modifier = { trade_good_textiles_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = paper_workshop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -2864,6 +2752,18 @@ paper_workshop_2 = { } } } + on_complete = { + } + next_building = paper_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } paper_workshop_3 = { @@ -2891,19 +2791,6 @@ paper_workshop_3 = { market_modifier = { trade_good_textiles_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = paper_workshop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -2924,6 +2811,18 @@ paper_workshop_3 = { } } } + on_complete = { + } + next_building = paper_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } paper_workshop_4 = { @@ -2951,19 +2850,6 @@ paper_workshop_4 = { market_modifier = { trade_good_textiles_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = paper_workshop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -2984,6 +2870,18 @@ paper_workshop_4 = { } } } + on_complete = { + } + next_building = paper_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } paper_workshop_5 = { @@ -3011,18 +2909,6 @@ paper_workshop_5 = { market_modifier = { trade_good_textiles_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_textiles amount = basic_resource_need @@ -3043,6 +2929,17 @@ paper_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_textiles } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } dyehouse_1 = { @@ -3070,8 +2967,26 @@ dyehouse_1 = { trade_good_dyes_sell_price_mult = price_basic_building_1 trade_good_alum_sell_price_mult = price_basic_building_1 } - - + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } on_complete = { } next_building = dyehouse_2 @@ -3083,27 +2998,6 @@ dyehouse_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } } dyehouse_2 = { @@ -3132,10 +3026,46 @@ dyehouse_2 = { trade_good_dyes_sell_price_mult = price_basic_building_1 trade_good_alum_sell_price_mult = price_basic_building_1 } - - - - + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } on_complete = { } next_building = dyehouse_3 @@ -3146,49 +3076,6 @@ dyehouse_2 = { ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } } dyehouse_3 = { @@ -3217,12 +3104,66 @@ dyehouse_3 = { trade_good_dyes_sell_price_mult = price_basic_building_1 trade_good_alum_sell_price_mult = price_basic_building_1 } - - - - - - + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } on_complete = { } next_building = dyehouse_4 @@ -3233,71 +3174,6 @@ dyehouse_3 = { ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } } dyehouse_4 = { @@ -3326,14 +3202,86 @@ dyehouse_4 = { trade_good_dyes_sell_price_mult = price_basic_building_1 trade_good_alum_sell_price_mult = price_basic_building_1 } - - - - - - - - + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } on_complete = { } next_building = dyehouse_5 @@ -3344,93 +3292,6 @@ dyehouse_4 = { ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } } dyehouse_5 = { @@ -3459,16 +3320,106 @@ dyehouse_5 = { trade_good_dyes_sell_price_mult = price_basic_building_1 trade_good_alum_sell_price_mult = price_basic_building_1 } - - - - - - - - - - + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_dyes + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } + trade_good_need = { + trade_good = trade_good_alum + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need + artisan_tax_mult = dyehouse_artisan_tax_mult_per_need + } + } + } on_complete = { } ai_value = { @@ -3478,115 +3429,6 @@ dyehouse_5 = { ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_dyes - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } - - trade_good_need = { - trade_good = trade_good_alum - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_textiles_production_mult = dyehouse_textiles_mult_per_need - artisan_tax_mult = dyehouse_artisan_tax_mult_per_need - } - } - } } seasonal_labor_shared_1 = { @@ -3998,18 +3840,6 @@ saddlers_1 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = saddlers_2 - type_icon = "resource_buildings/saddlers.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4031,6 +3861,17 @@ saddlers_1 = { } } } + on_complete = { + } + next_building = saddlers_2 + type_icon = "resource_buildings/saddlers.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } saddlers_2 = { @@ -4060,17 +3901,6 @@ saddlers_2 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = saddlers_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4095,6 +3925,16 @@ saddlers_2 = { } } } + on_complete = { + } + next_building = saddlers_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } saddlers_3 = { @@ -4124,17 +3964,6 @@ saddlers_3 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = saddlers_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4159,6 +3988,16 @@ saddlers_3 = { } } } + on_complete = { + } + next_building = saddlers_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } saddlers_4 = { @@ -4188,17 +4027,6 @@ saddlers_4 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = saddlers_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4223,6 +4051,16 @@ saddlers_4 = { } } } + on_complete = { + } + next_building = saddlers_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } saddlers_5 = { @@ -4252,16 +4090,6 @@ saddlers_5 = { parameter = leather_permitted trade_good_leather_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_leather amount = basic_resource_need @@ -4286,6 +4114,15 @@ saddlers_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_leather } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } #Small Mining Pit - unlocked by the Ancient Miners tradition diff --git a/common/buildings/resource_district_buildings/silk_district_buildings.txt b/common/buildings/resource_district_buildings/silk_district_buildings.txt index 9fc39326f..ae042167e 100644 --- a/common/buildings/resource_district_buildings/silk_district_buildings.txt +++ b/common/buildings/resource_district_buildings/silk_district_buildings.txt @@ -952,7 +952,23 @@ textiles_silk_building_1 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - + trade_good_need = { + trade_good = trade_good_silk + amount = textiles_silk_need_per_level + modifiers = { + province_modifier = { + trade_good_textiles_production_add = textiles_output_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_textiles_level_tribal + } + } + } on_complete = { @@ -971,24 +987,6 @@ textiles_silk_building_1 = { ai_market_shortage_modifier = { GOOD = trade_good_textiles } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = textiles_silk_need_per_level - modifiers = { - province_modifier = { - trade_good_textiles_production_add = textiles_output_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_textiles_level_tribal - } - } - } } textiles_silk_building_2 = { @@ -1021,25 +1019,6 @@ textiles_silk_building_2 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_3 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1059,6 +1038,23 @@ textiles_silk_building_2 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } textiles_silk_building_3 = { @@ -1091,25 +1087,6 @@ textiles_silk_building_3 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_4 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1129,6 +1106,23 @@ textiles_silk_building_3 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } textiles_silk_building_4 = { @@ -1161,25 +1155,6 @@ textiles_silk_building_4 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_5 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1199,6 +1174,23 @@ textiles_silk_building_4 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } textiles_silk_building_5 = { @@ -1231,25 +1223,6 @@ textiles_silk_building_5 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_6 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1269,6 +1242,23 @@ textiles_silk_building_5 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_6 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } textiles_silk_building_6 = { @@ -1301,25 +1291,6 @@ textiles_silk_building_6 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_7 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1339,6 +1310,23 @@ textiles_silk_building_6 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_7 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 6 } + } } textiles_silk_building_7 = { @@ -1371,25 +1359,6 @@ textiles_silk_building_7 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_8 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1409,6 +1378,23 @@ textiles_silk_building_7 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_8 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 7 } + } } textiles_silk_building_8 = { @@ -1441,25 +1427,6 @@ textiles_silk_building_8 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_9 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1479,6 +1446,23 @@ textiles_silk_building_8 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_9 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 8 } + } } textiles_silk_building_9 = { @@ -1511,25 +1495,6 @@ textiles_silk_building_9 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - next_building = textiles_silk_building_10 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1549,6 +1514,23 @@ textiles_silk_building_9 = { } } } + + on_complete = { + + } + + next_building = textiles_silk_building_10 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 9 } + } } textiles_silk_building_10 = { @@ -1581,23 +1563,6 @@ textiles_silk_building_10 = { market_modifier = { trade_good_silk_sell_price_mult = price_textiles_silk_building } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_silk amount = textiles_silk_need_per_level @@ -1617,6 +1582,21 @@ textiles_silk_building_10 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 10 } + } } mulberry_paper_mill_1 = { @@ -1640,21 +1620,6 @@ mulberry_paper_mill_1 = { parameter = government_is_tribal monthly_artisan_tax = mulberry_paper_mill_income_tier_1_tribal } - - on_complete = { - } - next_building = mulberry_paper_mill_2 - type_icon = "resource_buildings/mulberry_paper_mill.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -1672,6 +1637,20 @@ mulberry_paper_mill_1 = { } } } + on_complete = { + } + next_building = mulberry_paper_mill_2 + type_icon = "resource_buildings/mulberry_paper_mill.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_new_building_modifier = yes + } + } mulberry_paper_mill_2 = { @@ -1695,20 +1674,6 @@ mulberry_paper_mill_2 = { parameter = government_is_tribal monthly_artisan_tax = mulberry_paper_mill_income_tier_2_tribal } - - on_complete = { - } - next_building = mulberry_paper_mill_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -1728,6 +1693,19 @@ mulberry_paper_mill_2 = { } } } + on_complete = { + } + next_building = mulberry_paper_mill_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } mulberry_paper_mill_3 = { @@ -1751,20 +1729,6 @@ mulberry_paper_mill_3 = { parameter = government_is_tribal monthly_artisan_tax = mulberry_paper_mill_income_tier_3_tribal } - - on_complete = { - } - next_building = mulberry_paper_mill_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -1784,6 +1748,19 @@ mulberry_paper_mill_3 = { } } } + on_complete = { + } + next_building = mulberry_paper_mill_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } mulberry_paper_mill_4 = { @@ -1807,20 +1784,6 @@ mulberry_paper_mill_4 = { parameter = government_is_tribal monthly_artisan_tax = mulberry_paper_mill_income_tier_4_tribal } - - on_complete = { - } - next_building = mulberry_paper_mill_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -1840,6 +1803,19 @@ mulberry_paper_mill_4 = { } } } + on_complete = { + } + next_building = mulberry_paper_mill_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } mulberry_paper_mill_5 = { @@ -1863,19 +1839,6 @@ mulberry_paper_mill_5 = { parameter = government_is_tribal monthly_artisan_tax = mulberry_paper_mill_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_books_paper } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -1895,6 +1858,18 @@ mulberry_paper_mill_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_consumer_modifier = { GOOD = trade_good_silk } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_books_paper } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } floss_spinnery_1 = { @@ -2241,19 +2216,6 @@ half_silk_weavery_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - - on_complete = { - } - next_building = half_silk_weavery_2 - type_icon = "resource_buildings/leather_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -2268,7 +2230,6 @@ half_silk_weavery_1 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -2278,6 +2239,17 @@ half_silk_weavery_1 = { } } } + on_complete = { + } + next_building = half_silk_weavery_2 + type_icon = "resource_buildings/leather_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } half_silk_weavery_2 = { @@ -2296,18 +2268,6 @@ half_silk_weavery_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - - on_complete = { - } - next_building = half_silk_weavery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -2324,7 +2284,6 @@ half_silk_weavery_2 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -2336,6 +2295,16 @@ half_silk_weavery_2 = { } } } + on_complete = { + } + next_building = half_silk_weavery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } half_silk_weavery_3 = { @@ -2354,18 +2323,6 @@ half_silk_weavery_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - - on_complete = { - } - next_building = half_silk_weavery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -2382,7 +2339,6 @@ half_silk_weavery_3 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -2394,6 +2350,16 @@ half_silk_weavery_3 = { } } } + on_complete = { + } + next_building = half_silk_weavery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } half_silk_weavery_4 = { @@ -2412,18 +2378,6 @@ half_silk_weavery_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - - on_complete = { - } - next_building = half_silk_weavery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -2440,7 +2394,6 @@ half_silk_weavery_4 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -2452,6 +2405,16 @@ half_silk_weavery_4 = { } } } + on_complete = { + } + next_building = half_silk_weavery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } half_silk_weavery_5 = { @@ -2470,17 +2433,6 @@ half_silk_weavery_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good_category = trade_category_fabrics amount = basic_resource_need @@ -2497,7 +2449,6 @@ half_silk_weavery_5 = { } } } - trade_good_need = { trade_good = trade_good_silk amount = basic_resource_need @@ -2509,4 +2460,13 @@ half_silk_weavery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_silk CATEGORY = trade_category_fabrics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/spices_district_buildings.txt b/common/buildings/resource_district_buildings/spices_district_buildings.txt index fc24ca3c8..42c09464d 100644 --- a/common/buildings/resource_district_buildings/spices_district_buildings.txt +++ b/common/buildings/resource_district_buildings/spices_district_buildings.txt @@ -703,7 +703,23 @@ spice_apothecary_1 = { monthly_artisan_tax = spice_apothecary_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_spices + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_medicaments_production_add = medicaments_output_from_spices_per_level + } + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal + } + } + } on_complete = { @@ -722,24 +738,6 @@ spice_apothecary_1 = { ai_market_shortage_modifier = { GOOD = trade_good_medicaments } ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_medicaments_production_add = medicaments_output_from_spices_per_level - } - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = monthly_tax_per_medicament_from_spices_level_tribal - } - } - } } spice_apothecary_2 = { @@ -769,25 +767,6 @@ spice_apothecary_2 = { monthly_artisan_tax = spice_apothecary_income_tier_2_tribal } - - - on_complete = { - - } - - next_building = spice_apothecary_3 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -807,6 +786,23 @@ spice_apothecary_2 = { } } } + + on_complete = { + + } + + next_building = spice_apothecary_3 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } spice_apothecary_3 = { @@ -836,25 +832,6 @@ spice_apothecary_3 = { monthly_artisan_tax = spice_apothecary_income_tier_3_tribal } - - - on_complete = { - - } - - next_building = spice_apothecary_4 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -874,6 +851,23 @@ spice_apothecary_3 = { } } } + + on_complete = { + + } + + next_building = spice_apothecary_4 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } spice_apothecary_4 = { @@ -903,25 +897,6 @@ spice_apothecary_4 = { monthly_artisan_tax = spice_apothecary_income_tier_4_tribal } - - - on_complete = { - - } - - next_building = spice_apothecary_5 - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -941,6 +916,23 @@ spice_apothecary_4 = { } } } + + on_complete = { + + } + + next_building = spice_apothecary_5 + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } spice_apothecary_5 = { @@ -970,23 +962,6 @@ spice_apothecary_5 = { monthly_artisan_tax = spice_apothecary_income_tier_5_tribal } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1006,6 +981,21 @@ spice_apothecary_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } compound_powder_grinder_1 = { @@ -1194,7 +1184,18 @@ comfit_maker_1 = { parameter = government_is_tribal monthly_artisan_tax = comfit_maker_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_sugar + amount = luxury_resource_need + modifiers = { + province_modifier = { + trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need + } + market_modifier = { + trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need + } + } + } on_complete = { } next_building = comfit_maker_2 @@ -1209,18 +1210,6 @@ comfit_maker_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_sugar - amount = luxury_resource_need - modifiers = { - province_modifier = { - trade_good_spices_production_mult = comfit_maker_spices_mult_per_sugar_need - } - market_modifier = { - trade_good_spices_buy_price_mult = comfit_maker_spices_buy_price_mult_per_sugar_need - } - } - } } comfit_maker_2 = { @@ -1244,20 +1233,6 @@ comfit_maker_2 = { parameter = government_is_tribal monthly_artisan_tax = comfit_maker_income_tier_2_tribal } - - on_complete = { - } - next_building = comfit_maker_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_spices } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1272,6 +1247,19 @@ comfit_maker_2 = { } } } + on_complete = { + } + next_building = comfit_maker_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } comfit_maker_3 = { @@ -1295,20 +1283,6 @@ comfit_maker_3 = { parameter = government_is_tribal monthly_artisan_tax = comfit_maker_income_tier_3_tribal } - - on_complete = { - } - next_building = comfit_maker_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_spices } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1323,6 +1297,19 @@ comfit_maker_3 = { } } } + on_complete = { + } + next_building = comfit_maker_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } comfit_maker_4 = { @@ -1346,20 +1333,6 @@ comfit_maker_4 = { parameter = government_is_tribal monthly_artisan_tax = comfit_maker_income_tier_4_tribal } - - on_complete = { - } - next_building = comfit_maker_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_spices } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1374,6 +1347,19 @@ comfit_maker_4 = { } } } + on_complete = { + } + next_building = comfit_maker_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } comfit_maker_5 = { @@ -1397,19 +1383,6 @@ comfit_maker_5 = { parameter = government_is_tribal monthly_artisan_tax = comfit_maker_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_spices } - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_spices } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_sugar amount = luxury_resource_need @@ -1424,6 +1397,18 @@ comfit_maker_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_spices } + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_spices } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } garbler_office_1 = { @@ -1450,19 +1435,6 @@ garbler_office_1 = { market_modifier = { trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_1 } - - on_complete = { - } - next_building = garbler_office_2 - type_icon = "regular_buildings/guild_court_of_law.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1477,6 +1449,18 @@ garbler_office_1 = { } } } + on_complete = { + } + next_building = garbler_office_2 + type_icon = "regular_buildings/guild_court_of_law.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } garbler_office_2 = { @@ -1503,18 +1487,6 @@ garbler_office_2 = { market_modifier = { trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_2 } - - on_complete = { - } - next_building = garbler_office_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1531,6 +1503,17 @@ garbler_office_2 = { } } } + on_complete = { + } + next_building = garbler_office_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } garbler_office_3 = { @@ -1557,18 +1540,6 @@ garbler_office_3 = { market_modifier = { trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_3 } - - on_complete = { - } - next_building = garbler_office_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1585,6 +1556,17 @@ garbler_office_3 = { } } } + on_complete = { + } + next_building = garbler_office_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } garbler_office_4 = { @@ -1611,18 +1593,6 @@ garbler_office_4 = { market_modifier = { trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_4 } - - on_complete = { - } - next_building = garbler_office_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1639,6 +1609,17 @@ garbler_office_4 = { } } } + on_complete = { + } + next_building = garbler_office_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } garbler_office_5 = { @@ -1665,17 +1646,6 @@ garbler_office_5 = { market_modifier = { trade_good_spices_buy_price_mult = garbler_office_spices_buy_price_mult_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_spices amount = basic_resource_need @@ -1692,4 +1662,14 @@ garbler_office_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_spices } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/stone_district_buildings.txt b/common/buildings/resource_district_buildings/stone_district_buildings.txt index 93f5ed043..ef6209523 100644 --- a/common/buildings/resource_district_buildings/stone_district_buildings.txt +++ b/common/buildings/resource_district_buildings/stone_district_buildings.txt @@ -951,7 +951,17 @@ stone_masons_1 = { monthly_mining_tax = stone_masons_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } on_complete = { @@ -967,18 +977,6 @@ stone_masons_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - modifiers = { - province_modifier = { - walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level - temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level - border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level - } - } - } } stone_masons_2 = { @@ -1008,7 +1006,19 @@ stone_masons_2 = { monthly_mining_tax = stone_masons_income_tier_2_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } on_complete = { @@ -1023,20 +1033,6 @@ stone_masons_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level - temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level - border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level - } - } - } } stone_masons_3 = { @@ -1066,7 +1062,19 @@ stone_masons_3 = { monthly_mining_tax = stone_masons_income_tier_3_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } on_complete = { @@ -1081,20 +1089,6 @@ stone_masons_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level - temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level - border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level - } - } - } } stone_masons_4 = { @@ -1124,7 +1118,19 @@ stone_masons_4 = { monthly_mining_tax = stone_masons_income_tier_4_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level + temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level + border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level + } + } + } on_complete = { @@ -1139,20 +1145,6 @@ stone_masons_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - walls_district_district_build_gold_cost = district_build_cost_from_stone_per_level - temple_district_district_build_gold_cost = district_build_cost_from_stone_per_level - border_forts_district_district_build_gold_cost = district_build_cost_from_stone_per_level - } - } - } } stone_masons_5 = { @@ -1182,21 +1174,6 @@ stone_masons_5 = { monthly_mining_tax = stone_masons_income_tier_5_tribal } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1210,6 +1187,19 @@ stone_masons_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #Stone Statue Workshops @@ -1239,7 +1229,15 @@ stone_statue_workshop_1 = { monthly_mining_tax = stone_statue_workshop_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } on_complete = { @@ -1255,16 +1253,6 @@ stone_statue_workshop_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - modifiers = { - character_modifier = { - monthly_prestige = statue_workshop_prestige_per_stone_need - } - } - } } stone_statue_workshop_2 = { @@ -1294,7 +1282,17 @@ stone_statue_workshop_2 = { monthly_mining_tax = stone_statue_workshop_income_tier_2_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } on_complete = { @@ -1309,18 +1307,6 @@ stone_statue_workshop_2 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 2 - modifiers = { - character_modifier = { - monthly_prestige = statue_workshop_prestige_per_stone_need - } - } - } } stone_statue_workshop_3 = { @@ -1350,7 +1336,17 @@ stone_statue_workshop_3 = { monthly_mining_tax = stone_statue_workshop_income_tier_3_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } on_complete = { @@ -1365,18 +1361,6 @@ stone_statue_workshop_3 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 3 - modifiers = { - character_modifier = { - monthly_prestige = statue_workshop_prestige_per_stone_need - } - } - } } stone_statue_workshop_4 = { @@ -1406,7 +1390,17 @@ stone_statue_workshop_4 = { monthly_mining_tax = stone_statue_workshop_income_tier_4_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } on_complete = { @@ -1421,18 +1415,6 @@ stone_statue_workshop_4 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 4 - modifiers = { - character_modifier = { - monthly_prestige = statue_workshop_prestige_per_stone_need - } - } - } } stone_statue_workshop_5 = { @@ -1462,7 +1444,17 @@ stone_statue_workshop_5 = { monthly_mining_tax = stone_statue_workshop_income_tier_5_tribal } + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + character_modifier = { + monthly_prestige = statue_workshop_prestige_per_stone_need + } + } + } on_complete = { @@ -1476,18 +1468,6 @@ stone_statue_workshop_5 = { ai_income_building_modifier = yes ai_resource_building_upgrade_modifier = { LEVEL = 5 } } - - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - - can_be_filled_multiple_times = 5 - modifiers = { - character_modifier = { - monthly_prestige = statue_workshop_prestige_per_stone_need - } - } - } } millstone_workshop_1 = { @@ -1506,19 +1486,6 @@ millstone_workshop_1 = { province_modifier = { mining_tax_mult = millstone_workshop_mining_tax_mult_tier_1 } - - on_complete = { - } - next_building = millstone_workshop_2 - type_icon = "resource_buildings/breaking_mill.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1533,6 +1500,18 @@ millstone_workshop_1 = { } } } + on_complete = { + } + next_building = millstone_workshop_2 + type_icon = "resource_buildings/breaking_mill.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } millstone_workshop_2 = { @@ -1551,18 +1530,6 @@ millstone_workshop_2 = { province_modifier = { mining_tax_mult = millstone_workshop_mining_tax_mult_tier_2 } - - on_complete = { - } - next_building = millstone_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1579,6 +1546,17 @@ millstone_workshop_2 = { } } } + on_complete = { + } + next_building = millstone_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } millstone_workshop_3 = { @@ -1597,18 +1575,6 @@ millstone_workshop_3 = { province_modifier = { mining_tax_mult = millstone_workshop_mining_tax_mult_tier_3 } - - on_complete = { - } - next_building = millstone_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1625,6 +1591,17 @@ millstone_workshop_3 = { } } } + on_complete = { + } + next_building = millstone_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } millstone_workshop_4 = { @@ -1643,18 +1620,6 @@ millstone_workshop_4 = { province_modifier = { mining_tax_mult = millstone_workshop_mining_tax_mult_tier_4 } - - on_complete = { - } - next_building = millstone_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1671,6 +1636,17 @@ millstone_workshop_4 = { } } } + on_complete = { + } + next_building = millstone_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } millstone_workshop_5 = { @@ -1689,17 +1665,6 @@ millstone_workshop_5 = { province_modifier = { mining_tax_mult = millstone_workshop_mining_tax_mult_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1716,6 +1681,16 @@ millstone_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } whetstone_workshop_1 = { @@ -1734,18 +1709,6 @@ whetstone_workshop_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - - on_complete = { - } - next_building = whetstone_workshop_2 - type_icon = "resource_buildings/tool_smith.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1760,6 +1723,17 @@ whetstone_workshop_1 = { } } } + on_complete = { + } + next_building = whetstone_workshop_2 + type_icon = "resource_buildings/tool_smith.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } + } whetstone_workshop_2 = { @@ -1778,17 +1752,6 @@ whetstone_workshop_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - on_complete = { - } - next_building = whetstone_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1805,6 +1768,16 @@ whetstone_workshop_2 = { } } } + on_complete = { + } + next_building = whetstone_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } whetstone_workshop_3 = { @@ -1823,17 +1796,6 @@ whetstone_workshop_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - on_complete = { - } - next_building = whetstone_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1850,6 +1812,16 @@ whetstone_workshop_3 = { } } } + on_complete = { + } + next_building = whetstone_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } whetstone_workshop_4 = { @@ -1868,17 +1840,6 @@ whetstone_workshop_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - on_complete = { - } - next_building = whetstone_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1895,6 +1856,16 @@ whetstone_workshop_4 = { } } } + on_complete = { + } + next_building = whetstone_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } whetstone_workshop_5 = { @@ -1913,16 +1884,6 @@ whetstone_workshop_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -1939,6 +1900,15 @@ whetstone_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } mortar_workshop_1 = { @@ -1957,7 +1927,16 @@ mortar_workshop_1 = { province_modifier = { prosperity_growth = low_prosperity_tier_1 } - + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + county_modifier = { + build_gold_cost = mortar_workshop_build_cost_per_stone_need + district_build_gold_cost = mortar_workshop_build_cost_per_stone_need + } + } + } on_complete = { } next_building = mortar_workshop_2 @@ -1969,16 +1948,6 @@ mortar_workshop_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - modifiers = { - county_modifier = { - build_gold_cost = mortar_workshop_build_cost_per_stone_need - district_build_gold_cost = mortar_workshop_build_cost_per_stone_need - } - } - } } mortar_workshop_2 = { @@ -1997,17 +1966,6 @@ mortar_workshop_2 = { province_modifier = { prosperity_growth = low_prosperity_tier_2 } - - on_complete = { - } - next_building = mortar_workshop_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2020,6 +1978,16 @@ mortar_workshop_2 = { } } } + on_complete = { + } + next_building = mortar_workshop_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } mortar_workshop_3 = { @@ -2038,17 +2006,6 @@ mortar_workshop_3 = { province_modifier = { prosperity_growth = low_prosperity_tier_3 } - - on_complete = { - } - next_building = mortar_workshop_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2061,6 +2018,16 @@ mortar_workshop_3 = { } } } + on_complete = { + } + next_building = mortar_workshop_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } mortar_workshop_4 = { @@ -2079,17 +2046,6 @@ mortar_workshop_4 = { province_modifier = { prosperity_growth = low_prosperity_tier_4 } - - on_complete = { - } - next_building = mortar_workshop_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2102,6 +2058,16 @@ mortar_workshop_4 = { } } } + on_complete = { + } + next_building = mortar_workshop_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } mortar_workshop_5 = { @@ -2120,16 +2086,6 @@ mortar_workshop_5 = { province_modifier = { prosperity_growth = low_prosperity_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2142,6 +2098,15 @@ mortar_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } quarry_port_1 = { @@ -2334,7 +2299,15 @@ grindstone_maker_1 = { parameter = government_is_tribal monthly_mining_tax = grindstone_maker_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_stone + amount = basic_resource_need + modifiers = { + province_modifier = { + artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need + } + } + } on_complete = { } next_building = grindstone_maker_2 @@ -2347,15 +2320,6 @@ grindstone_maker_1 = { ai_resource_new_building_modifier = yes } - trade_good_need = { - trade_good = trade_good_stone - amount = basic_resource_need - modifiers = { - province_modifier = { - artisan_tax_mult = grindstone_maker_artisan_tax_mult_per_stone_need - } - } - } } grindstone_maker_2 = { @@ -2379,18 +2343,6 @@ grindstone_maker_2 = { parameter = government_is_tribal monthly_mining_tax = grindstone_maker_income_tier_2_tribal } - - on_complete = { - } - next_building = grindstone_maker_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2402,6 +2354,17 @@ grindstone_maker_2 = { } } } + on_complete = { + } + next_building = grindstone_maker_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } grindstone_maker_3 = { @@ -2425,18 +2388,6 @@ grindstone_maker_3 = { parameter = government_is_tribal monthly_mining_tax = grindstone_maker_income_tier_3_tribal } - - on_complete = { - } - next_building = grindstone_maker_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2448,6 +2399,17 @@ grindstone_maker_3 = { } } } + on_complete = { + } + next_building = grindstone_maker_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } grindstone_maker_4 = { @@ -2471,18 +2433,6 @@ grindstone_maker_4 = { parameter = government_is_tribal monthly_mining_tax = grindstone_maker_income_tier_4_tribal } - - on_complete = { - } - next_building = grindstone_maker_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2494,6 +2444,17 @@ grindstone_maker_4 = { } } } + on_complete = { + } + next_building = grindstone_maker_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } grindstone_maker_5 = { @@ -2517,17 +2478,6 @@ grindstone_maker_5 = { parameter = government_is_tribal monthly_mining_tax = grindstone_maker_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_stone amount = basic_resource_need @@ -2539,4 +2489,14 @@ grindstone_maker_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_stone } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/sugar_district_buildings.txt b/common/buildings/resource_district_buildings/sugar_district_buildings.txt index c855cad39..04cd8d42b 100644 --- a/common/buildings/resource_district_buildings/sugar_district_buildings.txt +++ b/common/buildings/resource_district_buildings/sugar_district_buildings.txt @@ -77,19 +77,6 @@ sugar_distillery_1 = { market_modifier = { trade_good_sugar_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = sugar_distillery_2 - type_icon = "resource_buildings/distillery.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -104,6 +91,18 @@ sugar_distillery_1 = { } } } + on_complete = { + } + next_building = sugar_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } sugar_distillery_2 = { @@ -131,18 +130,6 @@ sugar_distillery_2 = { market_modifier = { trade_good_sugar_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = sugar_distillery_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -160,6 +147,17 @@ sugar_distillery_2 = { } } } + on_complete = { + } + next_building = sugar_distillery_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } sugar_distillery_3 = { @@ -187,18 +185,6 @@ sugar_distillery_3 = { market_modifier = { trade_good_sugar_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = sugar_distillery_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -216,6 +202,17 @@ sugar_distillery_3 = { } } } + on_complete = { + } + next_building = sugar_distillery_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } sugar_distillery_4 = { @@ -243,18 +240,6 @@ sugar_distillery_4 = { market_modifier = { trade_good_sugar_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = sugar_distillery_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -272,6 +257,17 @@ sugar_distillery_4 = { } } } + on_complete = { + } + next_building = sugar_distillery_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } sugar_distillery_5 = { @@ -299,17 +295,6 @@ sugar_distillery_5 = { market_modifier = { trade_good_sugar_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -327,6 +312,16 @@ sugar_distillery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } small_sugar_plantations_2 = { @@ -1229,7 +1224,20 @@ confectionary_1 = { monthly_artisan_tax = rice_confectionary_income_tier_1_tribal } - + trade_good_need = { + trade_good = trade_good_sugar + amount = basic_resource_need + modifiers = { + province_government_modifier = { + not_parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need + } + province_government_modifier = { + parameter = government_is_tribal + monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal + } + } + } on_complete = { @@ -1245,21 +1253,6 @@ confectionary_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = basic_resource_need - modifiers = { - province_government_modifier = { - not_parameter = government_is_tribal - monthly_artisan_tax = confectionary_artisan_income_per_sugar_need - } - province_government_modifier = { - parameter = government_is_tribal - monthly_artisan_tax = confectionary_artisan_income_per_sugar_need_tribal - } - } - } } confectionary_2 = { @@ -1288,22 +1281,6 @@ confectionary_2 = { monthly_artisan_tax = rice_confectionary_income_tier_2_tribal } - - - on_complete = { - - } - - next_building = confectionary_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -1320,6 +1297,20 @@ confectionary_2 = { } } } + + on_complete = { + + } + + next_building = confectionary_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } confectionary_3 = { @@ -1348,22 +1339,6 @@ confectionary_3 = { monthly_artisan_tax = rice_confectionary_income_tier_3_tribal } - - - on_complete = { - - } - - next_building = confectionary_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -1380,6 +1355,20 @@ confectionary_3 = { } } } + + on_complete = { + + } + + next_building = confectionary_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } confectionary_4 = { @@ -1408,22 +1397,6 @@ confectionary_4 = { monthly_artisan_tax = rice_confectionary_income_tier_4_tribal } - - - on_complete = { - - } - - next_building = confectionary_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -1440,6 +1413,20 @@ confectionary_4 = { } } } + + on_complete = { + + } + + next_building = confectionary_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } confectionary_5 = { @@ -1468,21 +1455,6 @@ confectionary_5 = { monthly_artisan_tax = rice_confectionary_income_tier_5_tribal } - - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_sugar amount = basic_resource_need @@ -1499,4 +1471,17 @@ confectionary_5 = { } } } + + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_sugar } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/tea_district_buildings.txt b/common/buildings/resource_district_buildings/tea_district_buildings.txt index 1b7dfc49e..fb7839b80 100644 --- a/common/buildings/resource_district_buildings/tea_district_buildings.txt +++ b/common/buildings/resource_district_buildings/tea_district_buildings.txt @@ -255,7 +255,16 @@ tea_resource_building_2 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } next_building = tea_resource_building_3 @@ -267,17 +276,6 @@ tea_resource_building_2 = { ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } ai_resource_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_wood - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_tea_production_mult = tea_wood_tea_mult_per_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } tea_resource_building_3 = { @@ -323,7 +321,16 @@ tea_resource_building_3 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + trade_good_tea_production_mult = tea_wood_tea_mult_per_need + agricultural_tax_mult = tax_mult_per_production_need + } + } + } next_building = tea_resource_building_4 @@ -335,17 +342,6 @@ tea_resource_building_3 = { ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } ai_resource_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_wood - amount = basic_resource_need - modifiers = { - province_modifier = { - trade_good_tea_production_mult = tea_wood_tea_mult_per_need - agricultural_tax_mult = tax_mult_per_production_need - } - } - } } tea_resource_building_4 = { @@ -391,19 +387,6 @@ tea_resource_building_4 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - - - next_building = tea_resource_building_5 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -416,6 +399,17 @@ tea_resource_building_4 = { } } } + + next_building = tea_resource_building_5 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } } tea_resource_building_5 = { @@ -457,19 +451,6 @@ tea_resource_building_5 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - next_building = tea_resource_building_6 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -482,6 +463,17 @@ tea_resource_building_5 = { } } } + + next_building = tea_resource_building_6 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } } tea_resource_building_6 = { @@ -523,19 +515,6 @@ tea_resource_building_6 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - next_building = tea_resource_building_7 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -548,6 +527,17 @@ tea_resource_building_6 = { } } } + + next_building = tea_resource_building_7 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } } tea_resource_building_7 = { @@ -589,19 +579,6 @@ tea_resource_building_7 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - next_building = tea_resource_building_8 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -614,6 +591,17 @@ tea_resource_building_7 = { } } } + + next_building = tea_resource_building_8 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } } tea_resource_building_8 = { @@ -655,19 +643,6 @@ tea_resource_building_8 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - - next_building = tea_resource_building_9 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -680,6 +655,17 @@ tea_resource_building_8 = { } } } + + next_building = tea_resource_building_9 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } } tea_resource_building_9 = { @@ -721,19 +707,6 @@ tea_resource_building_9 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - - - next_building = tea_resource_building_10 - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -746,6 +719,17 @@ tea_resource_building_9 = { } } } + + next_building = tea_resource_building_10 + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } } tea_resource_building_10 = { @@ -787,18 +771,6 @@ tea_resource_building_10 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - - - - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -811,6 +783,16 @@ tea_resource_building_10 = { } } } + + + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } } # Tea Charcoal Burners @@ -837,19 +819,6 @@ tea_charcoal_burners_1 = { parameter = government_is_tribal monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_1_tribal } - - on_complete = { - } - next_building = tea_charcoal_burners_2 - type_icon = "resource_buildings/coal_pile.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -867,6 +836,17 @@ tea_charcoal_burners_1 = { } } } + on_complete = { + } + next_building = tea_charcoal_burners_2 + type_icon = "resource_buildings/coal_pile.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } } tea_charcoal_burners_2 = { construction_time = construction_time_9_months @@ -892,18 +872,6 @@ tea_charcoal_burners_2 = { parameter = government_is_tribal monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_2_tribal } - - on_complete = { - } - next_building = tea_charcoal_burners_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -923,6 +891,16 @@ tea_charcoal_burners_2 = { } } } + on_complete = { + } + next_building = tea_charcoal_burners_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } tea_charcoal_burners_3 = { construction_time = construction_time_1_year @@ -948,18 +926,6 @@ tea_charcoal_burners_3 = { parameter = government_is_tribal monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_3_tribal } - - on_complete = { - } - next_building = tea_charcoal_burners_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -979,6 +945,16 @@ tea_charcoal_burners_3 = { } } } + on_complete = { + } + next_building = tea_charcoal_burners_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } tea_charcoal_burners_4 = { construction_time = construction_time_2_years @@ -1004,18 +980,6 @@ tea_charcoal_burners_4 = { parameter = government_is_tribal monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_4_tribal } - - on_complete = { - } - next_building = tea_charcoal_burners_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1035,6 +999,16 @@ tea_charcoal_burners_4 = { } } } + on_complete = { + } + next_building = tea_charcoal_burners_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } tea_charcoal_burners_5 = { construction_time = construction_time_3_years @@ -1060,17 +1034,6 @@ tea_charcoal_burners_5 = { parameter = government_is_tribal monthly_woodland_tax = tea_charcoal_burners_woodland_tax_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1090,6 +1053,15 @@ tea_charcoal_burners_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Local Tea Houses @@ -1114,7 +1086,15 @@ local_tea_house_1 = { province_modifier = { popular_opinion_add = local_tea_house_popular_opinion_tier_1 } - + trade_good_need = { + trade_good = trade_good_tea + amount = basic_resource_need + modifiers = { + province_modifier = { + popular_opinion_add = local_tea_house_popular_opinion_per_tea_need + } + } + } on_complete = { } next_building = local_tea_house_2 @@ -1127,16 +1107,6 @@ local_tea_house_1 = { ai_popular_opinion_need_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = basic_resource_need - modifiers = { - province_modifier = { - popular_opinion_add = local_tea_house_popular_opinion_per_tea_need - } - } - } } local_tea_house_2 = { construction_time = construction_time_9_months @@ -1160,19 +1130,6 @@ local_tea_house_2 = { province_modifier = { popular_opinion_add = local_tea_house_popular_opinion_tier_2 } - - on_complete = { - } - next_building = local_tea_house_3 - ai_value = { - base = 10 - ai_opinion_baseline_building_modifier = { VALUE = 2 } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_popular_opinion_need_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_tea amount = basic_resource_need @@ -1184,6 +1141,17 @@ local_tea_house_2 = { } } } + on_complete = { + } + next_building = local_tea_house_3 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 2 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } local_tea_house_3 = { construction_time = construction_time_1_year @@ -1207,19 +1175,6 @@ local_tea_house_3 = { province_modifier = { popular_opinion_add = local_tea_house_popular_opinion_tier_3 } - - on_complete = { - } - next_building = local_tea_house_4 - ai_value = { - base = 10 - ai_opinion_baseline_building_modifier = { VALUE = 3 } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_popular_opinion_need_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_tea amount = basic_resource_need @@ -1231,6 +1186,17 @@ local_tea_house_3 = { } } } + on_complete = { + } + next_building = local_tea_house_4 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 3 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } local_tea_house_4 = { construction_time = construction_time_2_years @@ -1254,19 +1220,6 @@ local_tea_house_4 = { province_modifier = { popular_opinion_add = local_tea_house_popular_opinion_tier_4 } - - on_complete = { - } - next_building = local_tea_house_5 - ai_value = { - base = 10 - ai_opinion_baseline_building_modifier = { VALUE = 4 } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_popular_opinion_need_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_tea amount = basic_resource_need @@ -1278,6 +1231,17 @@ local_tea_house_4 = { } } } + on_complete = { + } + next_building = local_tea_house_5 + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 4 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } local_tea_house_5 = { construction_time = construction_time_3_years @@ -1301,18 +1265,6 @@ local_tea_house_5 = { province_modifier = { popular_opinion_add = local_tea_house_popular_opinion_tier_5 } - - on_complete = { - } - ai_value = { - base = 10 - ai_opinion_baseline_building_modifier = { VALUE = 5 } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_popular_opinion_need_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_tea amount = basic_resource_need @@ -1324,6 +1276,16 @@ local_tea_house_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_opinion_baseline_building_modifier = { VALUE = 5 } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_popular_opinion_need_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Jar Packing Workshops @@ -1348,18 +1310,6 @@ jar_packing_workshops_1 = { market_modifier = { trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult } - - on_complete = { - } - next_building = jar_packing_workshops_2 - type_icon = "resource_buildings/jar_packing_workshops.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1374,6 +1324,16 @@ jar_packing_workshops_1 = { } } } + on_complete = { + } + next_building = jar_packing_workshops_2 + type_icon = "resource_buildings/jar_packing_workshops.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_new_building_modifier = yes + } } jar_packing_workshops_2 = { construction_time = construction_time_9_months @@ -1397,17 +1357,6 @@ jar_packing_workshops_2 = { market_modifier = { trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult } - - on_complete = { - } - next_building = jar_packing_workshops_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1424,6 +1373,15 @@ jar_packing_workshops_2 = { } } } + on_complete = { + } + next_building = jar_packing_workshops_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } jar_packing_workshops_3 = { construction_time = construction_time_1_year @@ -1447,17 +1405,6 @@ jar_packing_workshops_3 = { market_modifier = { trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult } - - on_complete = { - } - next_building = jar_packing_workshops_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1474,6 +1421,15 @@ jar_packing_workshops_3 = { } } } + on_complete = { + } + next_building = jar_packing_workshops_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } jar_packing_workshops_4 = { construction_time = construction_time_2_years @@ -1497,17 +1453,6 @@ jar_packing_workshops_4 = { market_modifier = { trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult } - - on_complete = { - } - next_building = jar_packing_workshops_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1524,6 +1469,15 @@ jar_packing_workshops_4 = { } } } + on_complete = { + } + next_building = jar_packing_workshops_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } jar_packing_workshops_5 = { construction_time = construction_time_3_years @@ -1547,16 +1501,6 @@ jar_packing_workshops_5 = { market_modifier = { trade_good_tea_buy_price_mult = jar_packing_workshops_tea_buy_price_mult } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_ceramics amount = luxury_resource_need @@ -1573,4 +1517,12 @@ jar_packing_workshops_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_ceramics } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt b/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt index a5feda5b9..c3727502b 100644 --- a/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt +++ b/common/buildings/resource_district_buildings/wanua_resource_district_buildings.txt @@ -26,7 +26,15 @@ wanua_wood_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } @@ -48,16 +56,6 @@ wanua_wood_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wood - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wood_barter_2 = { @@ -83,7 +81,16 @@ wanua_wood_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } @@ -105,17 +112,6 @@ wanua_wood_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wood - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wood_barter_3 = { @@ -141,7 +137,16 @@ wanua_wood_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } @@ -163,17 +168,6 @@ wanua_wood_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wood - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wood_barter_4 = { @@ -199,7 +193,16 @@ wanua_wood_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } @@ -221,17 +224,6 @@ wanua_wood_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wood - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wood_barter_5 = { @@ -256,7 +248,16 @@ wanua_wood_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wood + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } @@ -278,17 +279,6 @@ wanua_wood_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wood - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Grain Barter @@ -317,7 +307,15 @@ wanua_grain_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } @@ -339,16 +337,6 @@ wanua_grain_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_grain_barter_2 = { @@ -374,7 +362,16 @@ wanua_grain_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } @@ -396,17 +393,6 @@ wanua_grain_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_grain_barter_3 = { @@ -432,7 +418,16 @@ wanua_grain_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } @@ -454,17 +449,6 @@ wanua_grain_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_grain_barter_4 = { @@ -490,7 +474,16 @@ wanua_grain_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } @@ -512,17 +505,6 @@ wanua_grain_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_grain_barter_5 = { @@ -547,7 +529,16 @@ wanua_grain_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_grain + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_grain CATEGORY = trade_category_cereals } @@ -569,17 +560,6 @@ wanua_grain_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_grain - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Wool Barter @@ -608,7 +588,15 @@ wanua_wool_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_wool } @@ -630,16 +618,6 @@ wanua_wool_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wool_barter_2 = { @@ -665,7 +643,16 @@ wanua_wool_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_wool } @@ -687,17 +674,6 @@ wanua_wool_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wool_barter_3 = { @@ -723,7 +699,16 @@ wanua_wool_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_wool } @@ -745,17 +730,6 @@ wanua_wool_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wool_barter_4 = { @@ -781,7 +755,16 @@ wanua_wool_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_wool } @@ -803,17 +786,6 @@ wanua_wool_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wool_barter_5 = { @@ -838,7 +810,16 @@ wanua_wool_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wool + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_wool } @@ -860,17 +841,6 @@ wanua_wool_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Cattle Barter @@ -899,7 +869,15 @@ wanua_cattle_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } @@ -921,16 +899,6 @@ wanua_cattle_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cattle - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cattle_barter_2 = { @@ -956,7 +924,16 @@ wanua_cattle_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } @@ -978,17 +955,6 @@ wanua_cattle_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cattle - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cattle_barter_3 = { @@ -1014,7 +980,16 @@ wanua_cattle_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } @@ -1036,17 +1011,6 @@ wanua_cattle_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cattle - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cattle_barter_4 = { @@ -1072,7 +1036,16 @@ wanua_cattle_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } @@ -1094,17 +1067,6 @@ wanua_cattle_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cattle - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cattle_barter_5 = { @@ -1129,7 +1091,16 @@ wanua_cattle_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cattle + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_cattle CATEGORY = trade_category_beasts_of_burden } @@ -1151,17 +1122,6 @@ wanua_cattle_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cattle - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Cotton Barter @@ -1190,7 +1150,15 @@ wanua_cotton_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_cotton } @@ -1212,16 +1180,6 @@ wanua_cotton_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cotton_barter_2 = { @@ -1247,7 +1205,16 @@ wanua_cotton_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_cotton } @@ -1269,17 +1236,6 @@ wanua_cotton_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cotton_barter_3 = { @@ -1305,7 +1261,16 @@ wanua_cotton_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_cotton } @@ -1327,17 +1292,6 @@ wanua_cotton_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cotton_barter_4 = { @@ -1363,7 +1317,16 @@ wanua_cotton_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_cotton } @@ -1385,17 +1348,6 @@ wanua_cotton_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_cotton_barter_5 = { @@ -1420,7 +1372,16 @@ wanua_cotton_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_cotton + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_cotton } @@ -1442,17 +1403,6 @@ wanua_cotton_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_cotton - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Stone Barter @@ -1481,7 +1431,15 @@ wanua_stone_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } @@ -1503,16 +1461,6 @@ wanua_stone_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_stone_barter_2 = { @@ -1538,7 +1486,16 @@ wanua_stone_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } @@ -1560,17 +1517,6 @@ wanua_stone_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_stone_barter_3 = { @@ -1596,7 +1542,16 @@ wanua_stone_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } @@ -1618,17 +1573,6 @@ wanua_stone_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_stone_barter_4 = { @@ -1654,7 +1598,16 @@ wanua_stone_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } @@ -1676,17 +1629,6 @@ wanua_stone_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_stone_barter_5 = { @@ -1711,7 +1653,16 @@ wanua_stone_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_stone + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_stone } @@ -1733,17 +1684,6 @@ wanua_stone_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_stone - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Fish Barter @@ -1772,7 +1712,15 @@ wanua_fish_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } @@ -1794,16 +1742,6 @@ wanua_fish_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fish - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fish_barter_2 = { @@ -1829,7 +1767,16 @@ wanua_fish_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } @@ -1851,17 +1798,6 @@ wanua_fish_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fish - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fish_barter_3 = { @@ -1887,7 +1823,16 @@ wanua_fish_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } @@ -1909,17 +1854,6 @@ wanua_fish_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fish - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fish_barter_4 = { @@ -1945,7 +1879,16 @@ wanua_fish_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } @@ -1967,17 +1910,6 @@ wanua_fish_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fish - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fish_barter_5 = { @@ -2002,7 +1934,16 @@ wanua_fish_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fish + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fish CATEGORY = trade_category_meat } @@ -2024,17 +1965,6 @@ wanua_fish_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fish - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Wine Barter @@ -2064,7 +1994,16 @@ wanua_wine_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -2086,17 +2025,6 @@ wanua_wine_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = wanua_barter_resource_need - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wine_barter_2 = { @@ -2123,7 +2051,17 @@ wanua_wine_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -2145,18 +2083,6 @@ wanua_wine_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wine_barter_3 = { @@ -2183,7 +2109,17 @@ wanua_wine_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -2205,18 +2141,6 @@ wanua_wine_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wine_barter_4 = { @@ -2243,7 +2167,17 @@ wanua_wine_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -2265,18 +2199,6 @@ wanua_wine_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_wine_barter_5 = { @@ -2302,7 +2224,17 @@ wanua_wine_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_wine + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -2324,18 +2256,6 @@ wanua_wine_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Oil Barter @@ -2364,7 +2284,15 @@ wanua_oil_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } @@ -2386,16 +2314,6 @@ wanua_oil_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_oil_barter_2 = { @@ -2421,7 +2339,16 @@ wanua_oil_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } @@ -2443,17 +2370,6 @@ wanua_oil_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_oil_barter_3 = { @@ -2479,7 +2395,16 @@ wanua_oil_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } @@ -2501,17 +2426,6 @@ wanua_oil_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_oil_barter_4 = { @@ -2537,7 +2451,16 @@ wanua_oil_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } @@ -2559,17 +2482,6 @@ wanua_oil_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_oil_barter_5 = { @@ -2594,7 +2506,16 @@ wanua_oil_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_oil + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } @@ -2616,17 +2537,6 @@ wanua_oil_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_oil - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Rice Barter @@ -2655,7 +2565,15 @@ wanua_rice_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } @@ -2677,16 +2595,6 @@ wanua_rice_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_rice_barter_2 = { @@ -2712,7 +2620,16 @@ wanua_rice_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } @@ -2734,17 +2651,6 @@ wanua_rice_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_rice_barter_3 = { @@ -2770,7 +2676,16 @@ wanua_rice_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } @@ -2792,17 +2707,6 @@ wanua_rice_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_rice_barter_4 = { @@ -2828,7 +2732,16 @@ wanua_rice_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } @@ -2850,17 +2763,6 @@ wanua_rice_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_rice_barter_5 = { @@ -2885,7 +2787,16 @@ wanua_rice_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_rice + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_rice CATEGORY = trade_category_cereals } @@ -2907,17 +2818,6 @@ wanua_rice_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_rice - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Millet Barter @@ -2946,7 +2846,15 @@ wanua_millet_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } @@ -2968,16 +2876,6 @@ wanua_millet_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_millet_barter_2 = { @@ -3003,7 +2901,16 @@ wanua_millet_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } @@ -3025,17 +2932,6 @@ wanua_millet_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_millet_barter_3 = { @@ -3061,7 +2957,16 @@ wanua_millet_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } @@ -3083,17 +2988,6 @@ wanua_millet_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_millet_barter_4 = { @@ -3119,7 +3013,16 @@ wanua_millet_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } @@ -3141,17 +3044,6 @@ wanua_millet_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_millet_barter_5 = { @@ -3176,7 +3068,16 @@ wanua_millet_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_millet + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_millet CATEGORY = trade_category_cereals } @@ -3198,17 +3099,6 @@ wanua_millet_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_millet - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Salt Barter @@ -3237,7 +3127,15 @@ wanua_salt_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -3259,16 +3157,6 @@ wanua_salt_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_salt_barter_2 = { @@ -3294,7 +3182,16 @@ wanua_salt_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -3316,17 +3213,6 @@ wanua_salt_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_salt_barter_3 = { @@ -3352,7 +3238,16 @@ wanua_salt_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -3374,17 +3269,6 @@ wanua_salt_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_salt_barter_4 = { @@ -3410,7 +3294,16 @@ wanua_salt_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -3432,17 +3325,6 @@ wanua_salt_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_salt_barter_5 = { @@ -3467,7 +3349,16 @@ wanua_salt_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -3489,17 +3380,6 @@ wanua_salt_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Amber Barter @@ -3528,7 +3408,15 @@ wanua_amber_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_amber } @@ -3550,16 +3438,6 @@ wanua_amber_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_amber_barter_2 = { @@ -3585,7 +3463,16 @@ wanua_amber_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_amber } @@ -3607,17 +3494,6 @@ wanua_amber_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_amber_barter_3 = { @@ -3643,7 +3519,16 @@ wanua_amber_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_amber } @@ -3665,17 +3550,6 @@ wanua_amber_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_amber_barter_4 = { @@ -3701,7 +3575,16 @@ wanua_amber_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_amber } @@ -3723,17 +3606,6 @@ wanua_amber_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_amber_barter_5 = { @@ -3758,7 +3630,16 @@ wanua_amber_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_amber + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_amber } @@ -3780,17 +3661,6 @@ wanua_amber_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_amber - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Silk Barter @@ -3819,7 +3689,15 @@ wanua_silk_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silk } @@ -3841,16 +3719,6 @@ wanua_silk_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_silk_barter_2 = { @@ -3876,7 +3744,16 @@ wanua_silk_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silk } @@ -3898,17 +3775,6 @@ wanua_silk_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_silk_barter_3 = { @@ -3934,7 +3800,16 @@ wanua_silk_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silk } @@ -3956,17 +3831,6 @@ wanua_silk_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_silk_barter_4 = { @@ -3992,7 +3856,16 @@ wanua_silk_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silk } @@ -4014,17 +3887,6 @@ wanua_silk_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_silk_barter_5 = { @@ -4049,7 +3911,16 @@ wanua_silk_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silk + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silk } @@ -4071,17 +3942,6 @@ wanua_silk_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silk - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Furs Barter @@ -4110,7 +3970,15 @@ wanua_furs_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_furs } @@ -4132,16 +4000,6 @@ wanua_furs_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_furs_barter_2 = { @@ -4167,7 +4025,16 @@ wanua_furs_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_furs } @@ -4189,17 +4056,6 @@ wanua_furs_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_furs_barter_3 = { @@ -4225,7 +4081,16 @@ wanua_furs_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_furs } @@ -4247,17 +4112,6 @@ wanua_furs_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_furs_barter_4 = { @@ -4283,7 +4137,16 @@ wanua_furs_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_furs } @@ -4305,17 +4168,6 @@ wanua_furs_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_furs_barter_5 = { @@ -4340,7 +4192,16 @@ wanua_furs_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_furs + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_furs } @@ -4362,17 +4223,6 @@ wanua_furs_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_furs - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Spices Barter @@ -4401,7 +4251,15 @@ wanua_spices_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_spices } @@ -4423,16 +4281,6 @@ wanua_spices_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_spices_barter_2 = { @@ -4458,7 +4306,16 @@ wanua_spices_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_spices } @@ -4480,17 +4337,6 @@ wanua_spices_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_spices_barter_3 = { @@ -4516,7 +4362,16 @@ wanua_spices_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_spices } @@ -4538,17 +4393,6 @@ wanua_spices_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_spices_barter_4 = { @@ -4574,7 +4418,16 @@ wanua_spices_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_spices } @@ -4596,17 +4449,6 @@ wanua_spices_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_spices_barter_5 = { @@ -4631,7 +4473,16 @@ wanua_spices_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_spices + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_spices } @@ -4653,17 +4504,6 @@ wanua_spices_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_spices - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Tea Barter @@ -4692,7 +4532,15 @@ wanua_tea_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } @@ -4714,16 +4562,6 @@ wanua_tea_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_tea_barter_2 = { @@ -4749,7 +4587,16 @@ wanua_tea_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } @@ -4771,17 +4618,6 @@ wanua_tea_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_tea_barter_3 = { @@ -4807,7 +4643,16 @@ wanua_tea_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } @@ -4829,17 +4674,6 @@ wanua_tea_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_tea_barter_4 = { @@ -4865,7 +4699,16 @@ wanua_tea_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } @@ -4887,17 +4730,6 @@ wanua_tea_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_tea_barter_5 = { @@ -4922,7 +4754,16 @@ wanua_tea_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_tea + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_tea CATEGORY = trade_category_comforts } @@ -4944,17 +4785,6 @@ wanua_tea_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_tea - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Dyes Barter @@ -4983,7 +4813,15 @@ wanua_dyes_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_dyes } @@ -5005,16 +4843,6 @@ wanua_dyes_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_dyes - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_dyes_barter_2 = { @@ -5040,7 +4868,16 @@ wanua_dyes_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_dyes } @@ -5062,17 +4899,6 @@ wanua_dyes_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_dyes - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_dyes_barter_3 = { @@ -5098,7 +4924,16 @@ wanua_dyes_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_dyes } @@ -5120,17 +4955,6 @@ wanua_dyes_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_dyes - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_dyes_barter_4 = { @@ -5156,7 +4980,16 @@ wanua_dyes_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_dyes } @@ -5178,17 +5011,6 @@ wanua_dyes_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_dyes - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_dyes_barter_5 = { @@ -5213,7 +5035,16 @@ wanua_dyes_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_dyes + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_dyes } @@ -5235,17 +5066,6 @@ wanua_dyes_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_dyes - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Ivory Barter @@ -5274,7 +5094,15 @@ wanua_ivory_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ivory } @@ -5296,16 +5124,6 @@ wanua_ivory_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ivory_barter_2 = { @@ -5331,7 +5149,16 @@ wanua_ivory_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ivory } @@ -5353,17 +5180,6 @@ wanua_ivory_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ivory_barter_3 = { @@ -5389,7 +5205,16 @@ wanua_ivory_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ivory } @@ -5411,17 +5236,6 @@ wanua_ivory_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ivory_barter_4 = { @@ -5447,7 +5261,16 @@ wanua_ivory_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ivory } @@ -5469,17 +5292,6 @@ wanua_ivory_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ivory_barter_5 = { @@ -5504,7 +5316,16 @@ wanua_ivory_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ivory + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ivory } @@ -5526,17 +5347,6 @@ wanua_ivory_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ivory - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Sugar Barter @@ -5565,7 +5375,15 @@ wanua_sugar_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_sugar } @@ -5587,16 +5405,6 @@ wanua_sugar_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_sugar_barter_2 = { @@ -5622,7 +5430,16 @@ wanua_sugar_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_sugar } @@ -5644,17 +5461,6 @@ wanua_sugar_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_sugar_barter_3 = { @@ -5680,7 +5486,16 @@ wanua_sugar_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_sugar } @@ -5702,17 +5517,6 @@ wanua_sugar_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_sugar_barter_4 = { @@ -5738,7 +5542,16 @@ wanua_sugar_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_sugar } @@ -5760,17 +5573,6 @@ wanua_sugar_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_sugar_barter_5 = { @@ -5795,7 +5597,16 @@ wanua_sugar_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_sugar + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_sugar } @@ -5817,17 +5628,6 @@ wanua_sugar_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_sugar - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Incense Barter @@ -5856,7 +5656,15 @@ wanua_incense_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_incense } @@ -5878,16 +5686,6 @@ wanua_incense_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_incense - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_incense_barter_2 = { @@ -5913,7 +5711,16 @@ wanua_incense_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_incense } @@ -5935,17 +5742,6 @@ wanua_incense_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_incense - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_incense_barter_3 = { @@ -5971,7 +5767,16 @@ wanua_incense_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_incense } @@ -5993,17 +5798,6 @@ wanua_incense_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_incense - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_incense_barter_4 = { @@ -6029,7 +5823,16 @@ wanua_incense_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_incense } @@ -6051,17 +5854,6 @@ wanua_incense_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_incense - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_incense_barter_5 = { @@ -6086,7 +5878,16 @@ wanua_incense_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_incense + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_incense } @@ -6108,17 +5909,6 @@ wanua_incense_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_incense - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Medicaments Barter @@ -6147,7 +5937,15 @@ wanua_medicaments_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } @@ -6169,16 +5967,6 @@ wanua_medicaments_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_medicaments_barter_2 = { @@ -6204,7 +5992,16 @@ wanua_medicaments_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } @@ -6226,17 +6023,6 @@ wanua_medicaments_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_medicaments_barter_3 = { @@ -6262,7 +6048,16 @@ wanua_medicaments_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } @@ -6284,17 +6079,6 @@ wanua_medicaments_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_medicaments_barter_4 = { @@ -6320,7 +6104,16 @@ wanua_medicaments_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } @@ -6342,17 +6135,6 @@ wanua_medicaments_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_medicaments_barter_5 = { @@ -6377,7 +6159,16 @@ wanua_medicaments_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_medicaments + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } @@ -6399,17 +6190,6 @@ wanua_medicaments_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_medicaments - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Ceramics Barter @@ -6438,7 +6218,15 @@ wanua_ceramics_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } @@ -6460,16 +6248,6 @@ wanua_ceramics_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ceramics_barter_2 = { @@ -6495,7 +6273,16 @@ wanua_ceramics_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } @@ -6517,17 +6304,6 @@ wanua_ceramics_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ceramics_barter_3 = { @@ -6553,7 +6329,16 @@ wanua_ceramics_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } @@ -6575,17 +6360,6 @@ wanua_ceramics_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ceramics_barter_4 = { @@ -6611,7 +6385,16 @@ wanua_ceramics_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } @@ -6633,17 +6416,6 @@ wanua_ceramics_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_ceramics_barter_5 = { @@ -6668,7 +6440,16 @@ wanua_ceramics_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_ceramics + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_ceramics } @@ -6690,17 +6471,6 @@ wanua_ceramics_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_ceramics - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Hemp Barter @@ -6729,7 +6499,15 @@ wanua_hemp_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_hemp } @@ -6751,16 +6529,6 @@ wanua_hemp_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_hemp_barter_2 = { @@ -6786,7 +6554,16 @@ wanua_hemp_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_hemp } @@ -6808,17 +6585,6 @@ wanua_hemp_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_hemp_barter_3 = { @@ -6844,7 +6610,16 @@ wanua_hemp_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_hemp } @@ -6866,17 +6641,6 @@ wanua_hemp_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_hemp_barter_4 = { @@ -6902,7 +6666,16 @@ wanua_hemp_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_hemp } @@ -6924,17 +6697,6 @@ wanua_hemp_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_hemp_barter_5 = { @@ -6959,7 +6721,16 @@ wanua_hemp_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_hemp + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_hemp } @@ -6981,17 +6752,6 @@ wanua_hemp_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_hemp - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Flax Barter @@ -7020,7 +6780,15 @@ wanua_flax_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_flax } @@ -7042,16 +6810,6 @@ wanua_flax_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_flax_barter_2 = { @@ -7077,7 +6835,16 @@ wanua_flax_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_flax } @@ -7099,17 +6866,6 @@ wanua_flax_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_flax_barter_3 = { @@ -7135,7 +6891,16 @@ wanua_flax_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_flax } @@ -7157,17 +6922,6 @@ wanua_flax_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_flax_barter_4 = { @@ -7193,7 +6947,16 @@ wanua_flax_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_flax } @@ -7215,17 +6978,6 @@ wanua_flax_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_flax_barter_5 = { @@ -7250,7 +7002,16 @@ wanua_flax_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_flax + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_flax } @@ -7272,17 +7033,6 @@ wanua_flax_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_flax - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Honey Barter @@ -7311,7 +7061,15 @@ wanua_honey_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } @@ -7333,16 +7091,6 @@ wanua_honey_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_honey_barter_2 = { @@ -7368,7 +7116,16 @@ wanua_honey_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } @@ -7390,17 +7147,6 @@ wanua_honey_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_honey_barter_3 = { @@ -7426,7 +7172,16 @@ wanua_honey_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } @@ -7448,17 +7203,6 @@ wanua_honey_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_honey_barter_4 = { @@ -7484,7 +7228,16 @@ wanua_honey_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } @@ -7506,17 +7259,6 @@ wanua_honey_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_honey_barter_5 = { @@ -7541,7 +7283,16 @@ wanua_honey_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_honey + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_honey CATEGORY = trade_category_comforts } @@ -7563,17 +7314,6 @@ wanua_honey_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_honey - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Fruit Barter @@ -7602,7 +7342,15 @@ wanua_fruit_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } @@ -7624,16 +7372,6 @@ wanua_fruit_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fruit - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fruit_barter_2 = { @@ -7659,7 +7397,16 @@ wanua_fruit_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } @@ -7681,17 +7428,6 @@ wanua_fruit_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fruit - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fruit_barter_3 = { @@ -7717,7 +7453,16 @@ wanua_fruit_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } @@ -7739,17 +7484,6 @@ wanua_fruit_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fruit - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fruit_barter_4 = { @@ -7775,7 +7509,16 @@ wanua_fruit_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } @@ -7797,17 +7540,6 @@ wanua_fruit_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fruit - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_fruit_barter_5 = { @@ -7832,7 +7564,16 @@ wanua_fruit_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_fruit + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_fruit CATEGORY = trade_category_comforts } @@ -7854,17 +7595,6 @@ wanua_fruit_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_fruit - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Horses Barter @@ -7893,7 +7623,15 @@ wanua_horses_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } @@ -7915,16 +7653,6 @@ wanua_horses_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_horses_barter_2 = { @@ -7950,7 +7678,16 @@ wanua_horses_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } @@ -7972,17 +7709,6 @@ wanua_horses_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_horses_barter_3 = { @@ -8008,7 +7734,16 @@ wanua_horses_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } @@ -8030,17 +7765,6 @@ wanua_horses_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_horses_barter_4 = { @@ -8066,7 +7790,16 @@ wanua_horses_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } @@ -8088,17 +7821,6 @@ wanua_horses_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_horses_barter_5 = { @@ -8123,7 +7845,16 @@ wanua_horses_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_horses + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_horses CATEGORY = trade_category_beasts_of_burden } @@ -8145,17 +7876,6 @@ wanua_horses_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_horses - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Iron Barter @@ -8184,7 +7904,15 @@ wanua_mine_iron_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } @@ -8206,16 +7934,6 @@ wanua_mine_iron_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_iron_barter_2 = { @@ -8241,7 +7959,16 @@ wanua_mine_iron_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } @@ -8263,17 +7990,6 @@ wanua_mine_iron_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_iron_barter_3 = { @@ -8299,7 +8015,16 @@ wanua_mine_iron_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } @@ -8321,17 +8046,6 @@ wanua_mine_iron_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_iron_barter_4 = { @@ -8357,7 +8071,16 @@ wanua_mine_iron_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } @@ -8379,17 +8102,6 @@ wanua_mine_iron_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_iron_barter_5 = { @@ -8414,7 +8126,16 @@ wanua_mine_iron_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_iron + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_staple_need_modifier = { GOOD = trade_good_iron } @@ -8436,17 +8157,6 @@ wanua_mine_iron_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_iron - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Copper Barter @@ -8475,7 +8185,15 @@ wanua_mine_copper_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_copper } @@ -8497,16 +8215,6 @@ wanua_mine_copper_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_copper - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_copper_barter_2 = { @@ -8532,7 +8240,16 @@ wanua_mine_copper_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_copper } @@ -8554,17 +8271,6 @@ wanua_mine_copper_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_copper - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_copper_barter_3 = { @@ -8590,7 +8296,16 @@ wanua_mine_copper_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_copper } @@ -8612,17 +8327,6 @@ wanua_mine_copper_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_copper - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_copper_barter_4 = { @@ -8648,7 +8352,16 @@ wanua_mine_copper_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_copper } @@ -8670,17 +8383,6 @@ wanua_mine_copper_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_copper - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_copper_barter_5 = { @@ -8705,7 +8407,16 @@ wanua_mine_copper_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_copper + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_copper } @@ -8727,17 +8438,6 @@ wanua_mine_copper_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_copper - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Gold Barter @@ -8766,7 +8466,15 @@ wanua_mine_gold_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gold } @@ -8788,16 +8496,6 @@ wanua_mine_gold_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gold - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gold_barter_2 = { @@ -8823,7 +8521,16 @@ wanua_mine_gold_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gold } @@ -8845,17 +8552,6 @@ wanua_mine_gold_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gold - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gold_barter_3 = { @@ -8881,7 +8577,16 @@ wanua_mine_gold_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gold } @@ -8903,17 +8608,6 @@ wanua_mine_gold_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gold - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gold_barter_4 = { @@ -8939,7 +8633,16 @@ wanua_mine_gold_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gold } @@ -8961,17 +8664,6 @@ wanua_mine_gold_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gold - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gold_barter_5 = { @@ -8996,7 +8688,16 @@ wanua_mine_gold_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gold + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gold } @@ -9018,17 +8719,6 @@ wanua_mine_gold_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gold - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Silver Barter @@ -9057,7 +8747,15 @@ wanua_mine_silver_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silver } @@ -9079,16 +8777,6 @@ wanua_mine_silver_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silver - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_silver_barter_2 = { @@ -9114,7 +8802,16 @@ wanua_mine_silver_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silver } @@ -9136,17 +8833,6 @@ wanua_mine_silver_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silver - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_silver_barter_3 = { @@ -9172,7 +8858,16 @@ wanua_mine_silver_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silver } @@ -9194,17 +8889,6 @@ wanua_mine_silver_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silver - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_silver_barter_4 = { @@ -9230,7 +8914,16 @@ wanua_mine_silver_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silver } @@ -9252,17 +8945,6 @@ wanua_mine_silver_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silver - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_silver_barter_5 = { @@ -9287,7 +8969,16 @@ wanua_mine_silver_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_silver + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_silver } @@ -9309,17 +9000,6 @@ wanua_mine_silver_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_silver - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Gems Barter @@ -9348,7 +9028,15 @@ wanua_mine_gems_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gems } @@ -9370,16 +9058,6 @@ wanua_mine_gems_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gems - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gems_barter_2 = { @@ -9405,7 +9083,16 @@ wanua_mine_gems_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gems } @@ -9427,17 +9114,6 @@ wanua_mine_gems_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gems - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gems_barter_3 = { @@ -9463,7 +9139,16 @@ wanua_mine_gems_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gems } @@ -9485,17 +9170,6 @@ wanua_mine_gems_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gems - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gems_barter_4 = { @@ -9521,7 +9195,16 @@ wanua_mine_gems_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gems } @@ -9543,17 +9226,6 @@ wanua_mine_gems_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gems - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_gems_barter_5 = { @@ -9578,7 +9250,16 @@ wanua_mine_gems_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_gems + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_gems } @@ -9600,17 +9281,6 @@ wanua_mine_gems_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_gems - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Alum Barter @@ -9639,7 +9309,15 @@ wanua_mine_alum_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } @@ -9661,16 +9339,6 @@ wanua_mine_alum_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_alum - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_alum_barter_2 = { @@ -9696,7 +9364,16 @@ wanua_mine_alum_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } @@ -9718,17 +9395,6 @@ wanua_mine_alum_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_alum - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_alum_barter_3 = { @@ -9754,7 +9420,16 @@ wanua_mine_alum_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } @@ -9776,17 +9451,6 @@ wanua_mine_alum_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_alum - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_alum_barter_4 = { @@ -9812,7 +9476,16 @@ wanua_mine_alum_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } @@ -9834,17 +9507,6 @@ wanua_mine_alum_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_alum - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_alum_barter_5 = { @@ -9869,7 +9531,16 @@ wanua_mine_alum_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_alum + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } @@ -9891,17 +9562,6 @@ wanua_mine_alum_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_alum - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Jade Barter @@ -9930,7 +9590,15 @@ wanua_mine_jade_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_jade } @@ -9952,16 +9620,6 @@ wanua_mine_jade_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_jade - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_jade_barter_2 = { @@ -9987,7 +9645,16 @@ wanua_mine_jade_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_jade } @@ -10009,17 +9676,6 @@ wanua_mine_jade_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_jade - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_jade_barter_3 = { @@ -10045,7 +9701,16 @@ wanua_mine_jade_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_jade } @@ -10067,17 +9732,6 @@ wanua_mine_jade_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_jade - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_jade_barter_4 = { @@ -10103,7 +9757,16 @@ wanua_mine_jade_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_jade } @@ -10125,17 +9788,6 @@ wanua_mine_jade_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_jade - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_jade_barter_5 = { @@ -10160,7 +9812,16 @@ wanua_mine_jade_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_jade + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_jade } @@ -10182,17 +9843,6 @@ wanua_mine_jade_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_jade - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } # Wanua Salt Mine Barter @@ -10221,7 +9871,15 @@ wanua_mine_salt_barter_1 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -10243,16 +9901,6 @@ wanua_mine_salt_barter_1 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_salt_barter_2 = { @@ -10278,7 +9926,16 @@ wanua_mine_salt_barter_2 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 2 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -10300,17 +9957,6 @@ wanua_mine_salt_barter_2 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 2 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_salt_barter_3 = { @@ -10336,7 +9982,16 @@ wanua_mine_salt_barter_3 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 3 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -10358,17 +10013,6 @@ wanua_mine_salt_barter_3 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 3 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_salt_barter_4 = { @@ -10394,7 +10038,16 @@ wanua_mine_salt_barter_4 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 4 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -10416,17 +10069,6 @@ wanua_mine_salt_barter_4 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 4 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } wanua_mine_salt_barter_5 = { @@ -10451,7 +10093,16 @@ wanua_mine_salt_barter_5 = { } province_modifier = { } - + trade_good_need = { + trade_good = trade_good_salt + amount = wanua_barter_resource_need + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + monthly_barter_goods = 0.1 + } + } + } ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } @@ -10473,15 +10124,4 @@ wanua_mine_salt_barter_5 = { directive_to_build_economy_modifier = yes ai_economical_building_preference_modifier = yes } - - trade_good_need = { - trade_good = trade_good_salt - amount = wanua_barter_resource_need - can_be_filled_multiple_times = 5 - modifiers = { - province_modifier = { - monthly_barter_goods = 0.1 - } - } - } } diff --git a/common/buildings/resource_district_buildings/wine_district_buildings.txt b/common/buildings/resource_district_buildings/wine_district_buildings.txt index a983dcada..c1d778a99 100644 --- a/common/buildings/resource_district_buildings/wine_district_buildings.txt +++ b/common/buildings/resource_district_buildings/wine_district_buildings.txt @@ -34,11 +34,6 @@ parameter = government_is_tribal monthly_agricultural_tax = secondary_resource_building_income_1_tribal } - - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.15 - } on_complete = { @@ -94,12 +89,6 @@ small_winery_2 = { monthly_agricultural_tax = secondary_resource_building_income_2_tribal } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.3 - monthly_prestige_gain_mult = 0.01 - } - on_complete = { } @@ -152,12 +141,6 @@ small_winery_3 = { parameter = government_is_tribal monthly_agricultural_tax = secondary_resource_building_income_3_tribal } - - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.5 - monthly_prestige_gain_mult = 0.01 - } on_complete = { @@ -221,12 +204,6 @@ wine_resource_building_1 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.1 - monthly_prestige_gain_mult = 0.01 - } - on_complete = { } @@ -284,12 +261,6 @@ wine_resource_building_2 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.2 - monthly_prestige_gain_mult = 0.02 - } - next_building = wine_resource_building_3 ai_value = { @@ -348,12 +319,6 @@ wine_resource_building_3 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.3 - monthly_prestige_gain_mult = 0.03 - } - next_building = wine_resource_building_4 ai_value = { @@ -412,12 +377,6 @@ wine_resource_building_4 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_low } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.4 - monthly_prestige_gain_mult = 0.04 - } - next_building = wine_resource_building_5 ai_value = { @@ -470,12 +429,6 @@ wine_resource_building_5 = { trade_good_wine_production_mult = 0.1 monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.5 - monthly_prestige_gain_mult = 0.05 - } next_building = wine_resource_building_6 @@ -531,12 +484,6 @@ wine_resource_building_6 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.6 - monthly_prestige_gain_mult = 0.06 - } - next_building = wine_resource_building_7 ai_value = { @@ -590,12 +537,6 @@ wine_resource_building_7 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.7 - monthly_prestige_gain_mult = 0.07 - } - next_building = wine_resource_building_8 ai_value = { @@ -650,12 +591,6 @@ wine_resource_building_8 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_mid } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.8 - monthly_prestige_gain_mult = 0.08 - } - next_building = wine_resource_building_9 ai_value = { @@ -710,12 +645,6 @@ wine_resource_building_9 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 0.9 - monthly_prestige_gain_mult = 0.09 - } - next_building = wine_resource_building_10 ai_value = { @@ -771,12 +700,6 @@ wine_resource_building_10 = { monthly_agricultural_tax = industrious_tradition_tax_bonus_high } - character_culture_modifier = { - parameter = wine_prestige_boost - monthly_prestige = 1 - monthly_prestige_gain_mult = 0.1 - } - ai_value = { base = 10 ai_resource_building_need_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } @@ -1033,7 +956,16 @@ long_term_wine_storage_1 = { - + trade_good_need = { + trade_good = trade_good_wine + amount = basic_resource_need + not_rite_parameter = alcohol_forbidden + modifiers = { + province_modifier = { + popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need + } + } + } on_complete = { } @@ -1047,17 +979,6 @@ long_term_wine_storage_1 = { directive_to_build_economy_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wine - amount = basic_resource_need - not_rite_parameter = alcohol_forbidden - modifiers = { - province_modifier = { - popular_opinion_add = long_term_wine_storage_popular_opinion_per_wine_need - } - } - } } long_term_wine_storage_2 = { @@ -1085,20 +1006,6 @@ long_term_wine_storage_2 = { - - on_complete = { - - } - - next_building = long_term_wine_storage_3 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1111,6 +1018,18 @@ long_term_wine_storage_2 = { } } } + on_complete = { + + } + + next_building = long_term_wine_storage_3 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } long_term_wine_storage_3 = { @@ -1138,20 +1057,6 @@ long_term_wine_storage_3 = { - - on_complete = { - - } - - next_building = long_term_wine_storage_4 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1164,6 +1069,18 @@ long_term_wine_storage_3 = { } } } + on_complete = { + + } + + next_building = long_term_wine_storage_4 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } long_term_wine_storage_4 = { @@ -1191,20 +1108,6 @@ long_term_wine_storage_4 = { - - on_complete = { - - } - - next_building = long_term_wine_storage_5 - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1217,6 +1120,18 @@ long_term_wine_storage_4 = { } } } + on_complete = { + + } + + next_building = long_term_wine_storage_5 + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } long_term_wine_storage_5 = { @@ -1244,19 +1159,6 @@ long_term_wine_storage_5 = { - - on_complete = { - - } - - - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1269,6 +1171,17 @@ long_term_wine_storage_5 = { } } } + on_complete = { + + } + + + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } vinegar_stores_1 = { @@ -1292,19 +1205,6 @@ vinegar_stores_1 = { parameter = government_is_tribal monthly_agricultural_tax = vinegar_stores_income_tier_1_tribal } - - on_complete = { - } - next_building = vinegar_stores_2 - type_icon = "resource_buildings/vinegar_stores.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1319,6 +1219,18 @@ vinegar_stores_1 = { } } } + on_complete = { + } + next_building = vinegar_stores_2 + type_icon = "resource_buildings/vinegar_stores.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } + } vinegar_stores_2 = { @@ -1342,18 +1254,6 @@ vinegar_stores_2 = { parameter = government_is_tribal monthly_agricultural_tax = vinegar_stores_income_tier_2_tribal } - - on_complete = { - } - next_building = vinegar_stores_3 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1370,6 +1270,17 @@ vinegar_stores_2 = { } } } + on_complete = { + } + next_building = vinegar_stores_3 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } vinegar_stores_3 = { @@ -1393,18 +1304,6 @@ vinegar_stores_3 = { parameter = government_is_tribal monthly_agricultural_tax = vinegar_stores_income_tier_3_tribal } - - on_complete = { - } - next_building = vinegar_stores_4 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1421,6 +1320,17 @@ vinegar_stores_3 = { } } } + on_complete = { + } + next_building = vinegar_stores_4 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } vinegar_stores_4 = { @@ -1444,18 +1354,6 @@ vinegar_stores_4 = { parameter = government_is_tribal monthly_agricultural_tax = vinegar_stores_income_tier_4_tribal } - - on_complete = { - } - next_building = vinegar_stores_5 - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1472,6 +1370,17 @@ vinegar_stores_4 = { } } } + on_complete = { + } + next_building = vinegar_stores_5 + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } vinegar_stores_5 = { @@ -1495,17 +1404,6 @@ vinegar_stores_5 = { parameter = government_is_tribal monthly_agricultural_tax = vinegar_stores_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1522,6 +1420,16 @@ vinegar_stores_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } wine_distillery_1 = { @@ -1546,21 +1454,6 @@ wine_distillery_1 = { parameter = government_is_tribal monthly_artisan_tax = wine_distillery_income_tier_1_tribal } - - on_complete = { - } - next_building = wine_distillery_2 - type_icon = "resource_buildings/distillery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1578,6 +1471,20 @@ wine_distillery_1 = { } } } + on_complete = { + } + next_building = wine_distillery_2 + type_icon = "resource_buildings/distillery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } + } wine_distillery_2 = { @@ -1602,20 +1509,6 @@ wine_distillery_2 = { parameter = government_is_tribal monthly_artisan_tax = wine_distillery_income_tier_2_tribal } - - on_complete = { - } - next_building = wine_distillery_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1635,6 +1528,19 @@ wine_distillery_2 = { } } } + on_complete = { + } + next_building = wine_distillery_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } wine_distillery_3 = { @@ -1659,20 +1565,6 @@ wine_distillery_3 = { parameter = government_is_tribal monthly_artisan_tax = wine_distillery_income_tier_3_tribal } - - on_complete = { - } - next_building = wine_distillery_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1692,6 +1584,19 @@ wine_distillery_3 = { } } } + on_complete = { + } + next_building = wine_distillery_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } wine_distillery_4 = { @@ -1716,20 +1621,6 @@ wine_distillery_4 = { parameter = government_is_tribal monthly_artisan_tax = wine_distillery_income_tier_4_tribal } - - on_complete = { - } - next_building = wine_distillery_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1749,6 +1640,19 @@ wine_distillery_4 = { } } } + on_complete = { + } + next_building = wine_distillery_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } wine_distillery_5 = { @@ -1773,19 +1677,6 @@ wine_distillery_5 = { parameter = government_is_tribal monthly_artisan_tax = wine_distillery_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1805,6 +1696,18 @@ wine_distillery_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } tartar_collector_1 = { @@ -1828,21 +1731,6 @@ tartar_collector_1 = { parameter = government_is_tribal monthly_agricultural_tax = tartar_collector_income_tier_1_tribal } - - on_complete = { - } - next_building = tartar_collector_2 - type_icon = "resource_buildings/alum_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_alum } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1860,6 +1748,20 @@ tartar_collector_1 = { } } } + on_complete = { + } + next_building = tartar_collector_2 + type_icon = "resource_buildings/alum_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_new_building_modifier = yes + } + } tartar_collector_2 = { @@ -1883,20 +1785,6 @@ tartar_collector_2 = { parameter = government_is_tribal monthly_agricultural_tax = tartar_collector_income_tier_2_tribal } - - on_complete = { - } - next_building = tartar_collector_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_alum } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1916,6 +1804,19 @@ tartar_collector_2 = { } } } + on_complete = { + } + next_building = tartar_collector_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } + } tartar_collector_3 = { @@ -1939,20 +1840,6 @@ tartar_collector_3 = { parameter = government_is_tribal monthly_agricultural_tax = tartar_collector_income_tier_3_tribal } - - on_complete = { - } - next_building = tartar_collector_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_alum } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -1972,6 +1859,19 @@ tartar_collector_3 = { } } } + on_complete = { + } + next_building = tartar_collector_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } + } tartar_collector_4 = { @@ -1995,20 +1895,6 @@ tartar_collector_4 = { parameter = government_is_tribal monthly_agricultural_tax = tartar_collector_income_tier_4_tribal } - - on_complete = { - } - next_building = tartar_collector_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_alum } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -2028,6 +1914,19 @@ tartar_collector_4 = { } } } + on_complete = { + } + next_building = tartar_collector_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } + } tartar_collector_5 = { @@ -2051,19 +1950,6 @@ tartar_collector_5 = { parameter = government_is_tribal monthly_agricultural_tax = tartar_collector_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_alum } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_alum } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wine amount = basic_resource_need @@ -2083,4 +1969,16 @@ tartar_collector_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_alum } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_wine CATEGORY = trade_category_alcohol } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_alum } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } + } diff --git a/common/buildings/resource_district_buildings/wood_district_buildings.txt b/common/buildings/resource_district_buildings/wood_district_buildings.txt index 77b538bce..04a3bccc4 100644 --- a/common/buildings/resource_district_buildings/wood_district_buildings.txt +++ b/common/buildings/resource_district_buildings/wood_district_buildings.txt @@ -220,7 +220,16 @@ forestry_resource_building_2 = { monthly_woodland_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = forestry_resource_building_3 @@ -232,17 +241,6 @@ forestry_resource_building_2 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_district_upgrade_modifier = { LEVEL = 2 } } - - trade_good_need = { - trade_good = trade_good_iron #Felling Axes, tools - amount = metal_resource_need - modifiers = { - province_modifier = { - trade_good_wood_production_mult = wood_multiplier_per_iron_need - woodland_tax_mult = tax_mult_per_production_need - } - } - } } forestry_resource_building_3 = { @@ -287,7 +285,16 @@ forestry_resource_building_3 = { monthly_woodland_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = forestry_resource_building_4 @@ -299,17 +306,6 @@ forestry_resource_building_3 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_district_upgrade_modifier = { LEVEL = 3 } } - - trade_good_need = { - trade_good = trade_good_iron #Felling Axes, tools - amount = metal_resource_need - modifiers = { - province_modifier = { - trade_good_wood_production_mult = wood_multiplier_per_iron_need - woodland_tax_mult = tax_mult_per_production_need - } - } - } } forestry_resource_building_4 = { @@ -354,7 +350,16 @@ forestry_resource_building_4 = { monthly_woodland_tax = industrious_tradition_tax_bonus_low } - + trade_good_need = { + trade_good = trade_good_iron #Felling Axes, tools + amount = metal_resource_need + modifiers = { + province_modifier = { + trade_good_wood_production_mult = wood_multiplier_per_iron_need + woodland_tax_mult = tax_mult_per_production_need + } + } + } on_complete = { } next_building = forestry_resource_building_5 @@ -366,17 +371,6 @@ forestry_resource_building_4 = { ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } ai_resource_district_upgrade_modifier = { LEVEL = 4 } } - - trade_good_need = { - trade_good = trade_good_iron #Felling Axes, tools - amount = metal_resource_need - modifiers = { - province_modifier = { - trade_good_wood_production_mult = wood_multiplier_per_iron_need - woodland_tax_mult = tax_mult_per_production_need - } - } - } } forestry_resource_building_5 = { @@ -421,19 +415,6 @@ forestry_resource_building_5 = { monthly_woodland_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = forestry_resource_building_6 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -446,6 +427,17 @@ forestry_resource_building_5 = { } } } + on_complete = { + } + next_building = forestry_resource_building_6 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } } forestry_resource_building_6 = { @@ -490,19 +482,6 @@ forestry_resource_building_6 = { monthly_woodland_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = forestry_resource_building_7 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -515,6 +494,17 @@ forestry_resource_building_6 = { } } } + on_complete = { + } + next_building = forestry_resource_building_7 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } } forestry_resource_building_7 = { @@ -559,19 +549,6 @@ forestry_resource_building_7 = { monthly_woodland_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = forestry_resource_building_8 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -584,6 +561,17 @@ forestry_resource_building_7 = { } } } + on_complete = { + } + next_building = forestry_resource_building_8 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } } forestry_resource_building_8 = { @@ -628,19 +616,6 @@ forestry_resource_building_8 = { monthly_woodland_tax = industrious_tradition_tax_bonus_mid } - - on_complete = { - } - next_building = forestry_resource_building_9 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -653,6 +628,17 @@ forestry_resource_building_8 = { } } } + on_complete = { + } + next_building = forestry_resource_building_9 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } } forestry_resource_building_9 = { @@ -697,19 +683,6 @@ forestry_resource_building_9 = { monthly_woodland_tax = industrious_tradition_tax_bonus_high } - - on_complete = { - } - next_building = forestry_resource_building_10 - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -722,6 +695,17 @@ forestry_resource_building_9 = { } } } + on_complete = { + } + next_building = forestry_resource_building_10 + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } } forestry_resource_building_10 = { @@ -766,18 +750,6 @@ forestry_resource_building_10 = { monthly_woodland_tax = industrious_tradition_tax_bonus_high } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } - ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } - directive_to_build_economy_modifier = yes - ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_iron #Felling Axes, tools amount = metal_resource_need @@ -790,6 +762,16 @@ forestry_resource_building_10 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_staple_need_modifier = { GOOD = trade_good_wood } + ai_resource_building_consumer_modifier = { GOOD = trade_good_iron } + directive_to_build_economy_modifier = yes + ai_market_staple_shortage_modifier = { GOOD = trade_good_wood } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } } #Charcoal Production @@ -815,19 +797,6 @@ charcoal_production_1 = { parameter = government_is_tribal monthly_woodland_tax = charcoal_income_tier_1_tribal } - - on_complete = { - } - next_building = charcoal_production_2 - type_icon = "resource_buildings/coal_pile.dds" - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = low_resource_district_need @@ -842,6 +811,17 @@ charcoal_production_1 = { } } } + on_complete = { + } + next_building = charcoal_production_2 + type_icon = "resource_buildings/coal_pile.dds" + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_new_building_modifier = yes + } } charcoal_production_2 = { @@ -866,18 +846,6 @@ charcoal_production_2 = { parameter = government_is_tribal monthly_woodland_tax = charcoal_income_tier_2_tribal } - - on_complete = { - } - next_building = charcoal_production_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = low_resource_district_need @@ -894,6 +862,16 @@ charcoal_production_2 = { } } } + on_complete = { + } + next_building = charcoal_production_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } charcoal_production_3 = { @@ -918,18 +896,6 @@ charcoal_production_3 = { parameter = government_is_tribal monthly_woodland_tax = charcoal_income_tier_3_tribal } - - on_complete = { - } - next_building = charcoal_production_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = low_resource_district_need @@ -946,6 +912,16 @@ charcoal_production_3 = { } } } + on_complete = { + } + next_building = charcoal_production_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } charcoal_production_4 = { @@ -970,18 +946,6 @@ charcoal_production_4 = { parameter = government_is_tribal monthly_woodland_tax = charcoal_income_tier_4_tribal } - - on_complete = { - } - next_building = charcoal_production_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = low_resource_district_need @@ -998,6 +962,16 @@ charcoal_production_4 = { } } } + on_complete = { + } + next_building = charcoal_production_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } charcoal_production_5 = { @@ -1022,17 +996,6 @@ charcoal_production_5 = { parameter = government_is_tribal monthly_woodland_tax = charcoal_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = low_resource_district_need @@ -1049,6 +1012,15 @@ charcoal_production_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #Forest Glas @@ -1077,21 +1049,6 @@ forest_glass_1 = { parameter = government_is_tribal monthly_woodland_tax = forest_glass_income_tier_1_tribal } - - on_complete = { - } - next_building = forest_glass_2 - type_icon = "resource_buildings/forest_glass.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood #Uses Wood to make Glass amount = major_basic_resource_need @@ -1109,6 +1066,19 @@ forest_glass_1 = { } } } + on_complete = { + } + next_building = forest_glass_2 + type_icon = "resource_buildings/forest_glass.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_new_building_modifier = yes + } } forest_glass_2 = { @@ -1135,20 +1105,6 @@ forest_glass_2 = { parameter = government_is_tribal monthly_woodland_tax = forest_glass_income_tier_2_tribal } - - on_complete = { - } - next_building = forest_glass_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood #Uses Wood to make Glass amount = major_basic_resource_need @@ -1168,6 +1124,18 @@ forest_glass_2 = { } } } + on_complete = { + } + next_building = forest_glass_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } forest_glass_3 = { @@ -1194,20 +1162,6 @@ forest_glass_3 = { parameter = government_is_tribal monthly_woodland_tax = forest_glass_income_tier_3_tribal } - - on_complete = { - } - next_building = forest_glass_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood #Uses Wood to make Glass amount = major_basic_resource_need @@ -1227,6 +1181,18 @@ forest_glass_3 = { } } } + on_complete = { + } + next_building = forest_glass_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } forest_glass_4 = { @@ -1253,20 +1219,6 @@ forest_glass_4 = { parameter = government_is_tribal monthly_woodland_tax = forest_glass_income_tier_4_tribal } - - on_complete = { - } - next_building = forest_glass_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood #Uses Wood to make Glass amount = major_basic_resource_need @@ -1286,6 +1238,18 @@ forest_glass_4 = { } } } + on_complete = { + } + next_building = forest_glass_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } forest_glass_5 = { @@ -1312,19 +1276,6 @@ forest_glass_5 = { parameter = government_is_tribal monthly_woodland_tax = forest_glass_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_glass } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_glass } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood #Uses Wood to make Glass amount = major_basic_resource_need @@ -1344,6 +1295,17 @@ forest_glass_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_glass } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_glass } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #construction_aid = {} - Estover Concessions @@ -1373,22 +1335,6 @@ hunting_lodges_1 = { parameter = government_is_tribal monthly_woodland_tax = hunting_lodges_income_tier_1_tribal } - - on_complete = { - } - next_building = hunting_lodges_2 - type_icon = "resource_buildings/meat_buildings.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1406,6 +1352,20 @@ hunting_lodges_1 = { } } } + on_complete = { + } + next_building = hunting_lodges_2 + type_icon = "resource_buildings/meat_buildings.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_new_building_modifier = yes + } } hunting_lodges_2 = { @@ -1430,21 +1390,6 @@ hunting_lodges_2 = { parameter = government_is_tribal monthly_woodland_tax = hunting_lodges_income_tier_2_tribal } - - on_complete = { - } - next_building = hunting_lodges_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1464,6 +1409,19 @@ hunting_lodges_2 = { } } } + on_complete = { + } + next_building = hunting_lodges_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } hunting_lodges_3 = { @@ -1488,21 +1446,6 @@ hunting_lodges_3 = { parameter = government_is_tribal monthly_woodland_tax = hunting_lodges_income_tier_3_tribal } - - on_complete = { - } - next_building = hunting_lodges_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1522,6 +1465,19 @@ hunting_lodges_3 = { } } } + on_complete = { + } + next_building = hunting_lodges_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } hunting_lodges_4 = { @@ -1546,21 +1502,6 @@ hunting_lodges_4 = { parameter = government_is_tribal monthly_woodland_tax = hunting_lodges_income_tier_4_tribal } - - on_complete = { - } - next_building = hunting_lodges_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1580,6 +1521,19 @@ hunting_lodges_4 = { } } } + on_complete = { + } + next_building = hunting_lodges_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } hunting_lodges_5 = { @@ -1604,20 +1558,6 @@ hunting_lodges_5 = { parameter = government_is_tribal monthly_woodland_tax = hunting_lodges_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } - ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wood amount = basic_resource_need @@ -1637,6 +1577,18 @@ hunting_lodges_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_cured_meat_producer_modifier = { VALUE = ai_building_priority_soft } + ai_market_category_shortage_modifier = { GOOD = trade_good_meat CATEGORY = trade_category_meat } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #Charcoal->Soap Workshop @@ -1661,7 +1613,15 @@ firewood_collection_1 = { parameter = government_is_tribal monthly_woodland_tax = firewood_income_tier_1_tribal } - + trade_good_need = { #Raw Material + trade_good = trade_good_wood + amount = basic_resource_need + modifiers = { + province_modifier = { + monthly_province_size_change_when_below_baseline_add = 0.2 + } + } + } on_complete = { } next_building = firewood_collection_2 @@ -1673,16 +1633,6 @@ firewood_collection_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { #Raw Material - trade_good = trade_good_wood - amount = basic_resource_need - modifiers = { - province_modifier = { - monthly_province_size_change_when_below_baseline_add = 0.2 - } - } - } } firewood_collection_2 = { @@ -1707,18 +1657,6 @@ firewood_collection_2 = { parameter = government_is_tribal monthly_woodland_tax = firewood_income_tier_2_tribal } - - on_complete = { - } - next_building = firewood_collection_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #Raw Material trade_good = trade_good_wood amount = basic_resource_need @@ -1730,6 +1668,16 @@ firewood_collection_2 = { } } } + on_complete = { + } + next_building = firewood_collection_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } firewood_collection_3 = { @@ -1754,18 +1702,6 @@ firewood_collection_3 = { parameter = government_is_tribal monthly_woodland_tax = firewood_income_tier_3_tribal } - - on_complete = { - } - next_building = firewood_collection_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #Raw Material trade_good = trade_good_wood amount = basic_resource_need @@ -1777,6 +1713,16 @@ firewood_collection_3 = { } } } + on_complete = { + } + next_building = firewood_collection_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } firewood_collection_4 = { @@ -1801,18 +1747,6 @@ firewood_collection_4 = { parameter = government_is_tribal monthly_woodland_tax = firewood_income_tier_4_tribal } - - on_complete = { - } - next_building = firewood_collection_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #Raw Material trade_good = trade_good_wood amount = basic_resource_need @@ -1824,6 +1758,16 @@ firewood_collection_4 = { } } } + on_complete = { + } + next_building = firewood_collection_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } firewood_collection_5 = { @@ -1848,17 +1792,6 @@ firewood_collection_5 = { parameter = government_is_tribal monthly_woodland_tax = firewood_income_tier_5_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #Raw Material trade_good = trade_good_wood amount = basic_resource_need @@ -1870,6 +1803,15 @@ firewood_collection_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } lacquerware_workshop_1 = { @@ -1896,24 +1838,6 @@ lacquerware_workshop_1 = { market_modifier = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - #1 dyes - - on_complete = { - } - next_building = lacquerware_workshop_2 - type_icon = "resource_buildings/lacquerware_workshop.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } - ai_resource_new_building_modifier = yes - } - trade_good_need = { #1 trade_good = trade_good_wood amount = basic_resource_need @@ -1931,7 +1855,7 @@ lacquerware_workshop_1 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -1942,6 +1866,20 @@ lacquerware_workshop_1 = { } } } + on_complete = { + } + next_building = lacquerware_workshop_2 + type_icon = "resource_buildings/lacquerware_workshop.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_new_building_modifier = yes + } } lacquerware_workshop_2 = { @@ -1969,25 +1907,6 @@ lacquerware_workshop_2 = { market_modifier = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - #1 dyes - - #1 dyes - - on_complete = { - } - next_building = lacquerware_workshop_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { #1 trade_good = trade_good_wood amount = basic_resource_need @@ -2007,7 +1926,7 @@ lacquerware_workshop_2 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2018,7 +1937,7 @@ lacquerware_workshop_2 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2029,6 +1948,19 @@ lacquerware_workshop_2 = { } } } + on_complete = { + } + next_building = lacquerware_workshop_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } lacquerware_workshop_3 = { @@ -2056,27 +1988,6 @@ lacquerware_workshop_3 = { market_modifier = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - #1 dyes - - #1 dyes - - #1 dyes - - on_complete = { - } - next_building = lacquerware_workshop_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { #1 trade_good = trade_good_wood amount = basic_resource_need @@ -2096,7 +2007,7 @@ lacquerware_workshop_3 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2107,7 +2018,7 @@ lacquerware_workshop_3 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2118,7 +2029,7 @@ lacquerware_workshop_3 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2129,6 +2040,19 @@ lacquerware_workshop_3 = { } } } + on_complete = { + } + next_building = lacquerware_workshop_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } lacquerware_workshop_4 = { @@ -2156,29 +2080,6 @@ lacquerware_workshop_4 = { market_modifier = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - #1 dyes - - #1 dyes - - #1 dyes - - #1 dyes - - on_complete = { - } - next_building = lacquerware_workshop_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { #1 trade_good = trade_good_wood amount = basic_resource_need @@ -2198,7 +2099,7 @@ lacquerware_workshop_4 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2209,7 +2110,7 @@ lacquerware_workshop_4 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2220,7 +2121,7 @@ lacquerware_workshop_4 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2231,7 +2132,7 @@ lacquerware_workshop_4 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2242,6 +2143,19 @@ lacquerware_workshop_4 = { } } } + on_complete = { + } + next_building = lacquerware_workshop_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } lacquerware_workshop_5 = { @@ -2269,30 +2183,6 @@ lacquerware_workshop_5 = { market_modifier = { trade_good_dyes_sell_price_mult = price_basic_building_1 } - - #1 dyes - - #1 dyes - - #1 dyes - - #1 dyes - - #1 dyes - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } - directive_to_build_economy_modifier = yes - ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { #1 trade_good = trade_good_wood amount = basic_resource_need @@ -2312,7 +2202,7 @@ lacquerware_workshop_5 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2323,7 +2213,7 @@ lacquerware_workshop_5 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2334,7 +2224,7 @@ lacquerware_workshop_5 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2345,7 +2235,7 @@ lacquerware_workshop_5 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2356,7 +2246,7 @@ lacquerware_workshop_5 = { } } } - + #1 dyes trade_good_need = { trade_good = trade_good_dyes amount = basic_resource_need @@ -2367,5 +2257,17 @@ lacquerware_workshop_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wood } + directive_to_build_economy_modifier = yes + ai_resource_building_consumer_modifier = { GOOD = trade_good_dyes } + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_lacquerware } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/resource_district_buildings/wool_district_buildings.txt b/common/buildings/resource_district_buildings/wool_district_buildings.txt index 5b863cc71..7a56c804a 100644 --- a/common/buildings/resource_district_buildings/wool_district_buildings.txt +++ b/common/buildings/resource_district_buildings/wool_district_buildings.txt @@ -175,15 +175,6 @@ wool_resource_building_1 = { #Sheep Pastures parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -195,6 +186,13 @@ wool_resource_building_1 = { #Sheep Pastures } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_new_building_modifier = yes + } } wool_resource_building_2 = { #Shearer's Yard @@ -250,15 +248,6 @@ wool_resource_building_2 = { #Shearer's Yard parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -270,6 +259,13 @@ wool_resource_building_2 = { #Shearer's Yard } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 2 } + } } wool_resource_building_3 = { #Felt Shops @@ -326,15 +322,6 @@ wool_resource_building_3 = { #Felt Shops parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -346,6 +333,13 @@ wool_resource_building_3 = { #Felt Shops } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 3 } + } } wool_resource_building_4 = { #Enclosed Pastures @@ -402,15 +396,6 @@ wool_resource_building_4 = { #Enclosed Pastures parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -422,6 +407,13 @@ wool_resource_building_4 = { #Enclosed Pastures } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 4 } + } } wool_resource_building_5 = { #Scouring House @@ -479,15 +471,6 @@ wool_resource_building_5 = { #Scouring House parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -499,6 +482,13 @@ wool_resource_building_5 = { #Scouring House } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 5 } + } } wool_resource_building_6 = { #Sorting and Grading Hall @@ -555,15 +545,6 @@ wool_resource_building_6 = { #Sorting and Grading Hall parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 6 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -575,6 +556,13 @@ wool_resource_building_6 = { #Sorting and Grading Hall } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 6 } + } } wool_resource_building_7 = { #Wool Merchant's Guild @@ -631,15 +619,6 @@ wool_resource_building_7 = { #Wool Merchant's Guild parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 7 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -651,6 +630,13 @@ wool_resource_building_7 = { #Wool Merchant's Guild } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 7 } + } } wool_resource_building_8 = { #Breeding Folds @@ -707,15 +693,6 @@ wool_resource_building_8 = { #Breeding Folds parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 8 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -727,6 +704,13 @@ wool_resource_building_8 = { #Breeding Folds } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 8 } + } } wool_resource_building_9 = { #Managed Grazing @@ -783,15 +767,6 @@ wool_resource_building_9 = { #Managed Grazing parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 9 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -803,6 +778,13 @@ wool_resource_building_9 = { #Managed Grazing } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 9 } + } } wool_resource_building_10 = { #Wool Warehouses @@ -858,15 +840,6 @@ wool_resource_building_10 = { #Wool Warehouses parameter = butter_tea_drinking trade_good_tea_sell_price_mult = regional_demand_price_mult } - - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_wool } - ai_resource_district_upgrade_modifier = { LEVEL = 10 } - } - trade_good_need = { trade_good = trade_good_tea amount = tea_herder_need @@ -878,6 +851,13 @@ wool_resource_building_10 = { #Wool Warehouses } } } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_wool } + ai_resource_district_upgrade_modifier = { LEVEL = 10 } + } } ointment_maker_1 = { #Requires lvl 5 of main Building (Scouring House) @@ -901,21 +881,6 @@ ointment_maker_1 = { #Requires lvl 5 of main Building (Scouring House) parameter = government_is_tribal monthly_agricultural_tax = ointment_maker_income_1_tribal } - - on_complete = { - } - next_building = ointment_maker_2 - type_icon = "resource_buildings/ointment_maker.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -933,6 +898,19 @@ ointment_maker_1 = { #Requires lvl 5 of main Building (Scouring House) } } } + on_complete = { + } + next_building = ointment_maker_2 + type_icon = "resource_buildings/ointment_maker.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_new_building_modifier = yes + } } ointment_maker_2 = { # @@ -956,19 +934,6 @@ ointment_maker_2 = { # parameter = government_is_tribal monthly_agricultural_tax = ointment_maker_income_2_tribal } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_medicaments } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -988,6 +953,17 @@ ointment_maker_2 = { # } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_medicaments } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } textiles_wool_building_1 = { @@ -1012,21 +988,6 @@ textiles_wool_building_1 = { market_modifier = { trade_good_wool_sell_price_mult = price_textiles_building_1 } - - on_complete = { - } - next_building = textiles_wool_building_2 - type_icon = "resource_buildings/textile_weavery.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_wool amount = textiles_wool_need_per_level @@ -1044,6 +1005,19 @@ textiles_wool_building_1 = { } } } + on_complete = { + } + next_building = textiles_wool_building_2 + type_icon = "resource_buildings/textile_weavery.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } } textiles_wool_building_2 = { @@ -1069,20 +1043,6 @@ textiles_wool_building_2 = { market_modifier = { trade_good_wool_sell_price_mult = price_textiles_building_1 } - - on_complete = { - } - next_building = textiles_wool_building_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wool amount = textiles_wool_need_per_level @@ -1102,6 +1062,18 @@ textiles_wool_building_2 = { } } } + on_complete = { + } + next_building = textiles_wool_building_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } textiles_wool_building_3 = { @@ -1127,20 +1099,6 @@ textiles_wool_building_3 = { market_modifier = { trade_good_wool_sell_price_mult = price_textiles_building_1 } - - on_complete = { - } - next_building = textiles_wool_building_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wool amount = textiles_wool_need_per_level @@ -1160,6 +1118,18 @@ textiles_wool_building_3 = { } } } + on_complete = { + } + next_building = textiles_wool_building_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } textiles_wool_building_4 = { @@ -1185,20 +1155,6 @@ textiles_wool_building_4 = { market_modifier = { trade_good_wool_sell_price_mult = price_textiles_building_1 } - - on_complete = { - } - next_building = textiles_wool_building_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wool amount = textiles_wool_need_per_level @@ -1218,6 +1174,18 @@ textiles_wool_building_4 = { } } } + on_complete = { + } + next_building = textiles_wool_building_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } textiles_wool_building_5 = { @@ -1243,19 +1211,6 @@ textiles_wool_building_5 = { market_modifier = { trade_good_wool_sell_price_mult = price_textiles_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wool amount = textiles_wool_need_per_level @@ -1275,6 +1230,17 @@ textiles_wool_building_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } # Rug Weaving @@ -1295,7 +1261,15 @@ rug_weaving_1 = { province_modifier = { woodland_tax_mult = 0.025 } - + trade_good_need = { + trade_good = trade_good_wool + amount = basic_resource_need + modifiers = { + province_modifier = { + inverted_prosperity_per_province_size_level = 0.001 + } + } + } on_complete = { } next_building = rug_weaving_2 @@ -1307,16 +1281,6 @@ rug_weaving_1 = { ai_income_building_modifier = yes ai_resource_new_building_modifier = yes } - - trade_good_need = { - trade_good = trade_good_wool - amount = basic_resource_need - modifiers = { - province_modifier = { - inverted_prosperity_per_province_size_level = 0.001 - } - } - } } # Rug Weaving @@ -1338,18 +1302,6 @@ rug_weaving_2 = { province_modifier = { woodland_tax_mult = 0.05 } - - on_complete = { - } - next_building = rug_weaving_3 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1362,6 +1314,16 @@ rug_weaving_2 = { } } } + on_complete = { + } + next_building = rug_weaving_3 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } # Rug Weaving @@ -1383,18 +1345,6 @@ rug_weaving_3 = { province_modifier = { woodland_tax_mult = 0.075 } - - on_complete = { - } - next_building = rug_weaving_4 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1407,6 +1357,16 @@ rug_weaving_3 = { } } } + on_complete = { + } + next_building = rug_weaving_4 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } # Rug Weaving @@ -1428,18 +1388,6 @@ rug_weaving_4 = { province_modifier = { woodland_tax_mult = 0.1 } - - on_complete = { - } - next_building = rug_weaving_5 - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1452,6 +1400,16 @@ rug_weaving_4 = { } } } + on_complete = { + } + next_building = rug_weaving_5 + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } # Rug Weaving @@ -1473,17 +1431,6 @@ rug_weaving_5 = { province_modifier = { woodland_tax_mult = 0.125 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_wool amount = basic_resource_need @@ -1496,6 +1443,15 @@ rug_weaving_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_consumer_modifier = { GOOD = trade_good_wool } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } wool_oil_finishing_1 = { @@ -1512,20 +1468,6 @@ wool_oil_finishing_1 = { market_modifier = { trade_good_oil_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_oil_finishing_2 - type_icon = "resource_buildings/wool_oil_finishing.dds" - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1543,6 +1485,18 @@ wool_oil_finishing_1 = { } } } + on_complete = { + } + next_building = wool_oil_finishing_2 + type_icon = "resource_buildings/wool_oil_finishing.dds" + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_new_building_modifier = yes + } } wool_oil_finishing_2 = { @@ -1560,19 +1514,6 @@ wool_oil_finishing_2 = { market_modifier = { trade_good_oil_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_oil_finishing_3 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1592,6 +1533,17 @@ wool_oil_finishing_2 = { } } } + on_complete = { + } + next_building = wool_oil_finishing_3 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } wool_oil_finishing_3 = { @@ -1609,19 +1561,6 @@ wool_oil_finishing_3 = { market_modifier = { trade_good_oil_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_oil_finishing_4 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1641,6 +1580,17 @@ wool_oil_finishing_3 = { } } } + on_complete = { + } + next_building = wool_oil_finishing_4 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } wool_oil_finishing_4 = { @@ -1658,19 +1608,6 @@ wool_oil_finishing_4 = { market_modifier = { trade_good_oil_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_oil_finishing_5 - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1690,6 +1627,17 @@ wool_oil_finishing_4 = { } } } + on_complete = { + } + next_building = wool_oil_finishing_5 + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } wool_oil_finishing_5 = { @@ -1707,18 +1655,6 @@ wool_oil_finishing_5 = { market_modifier = { trade_good_oil_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_modifier = { GOOD = trade_good_textiles } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } - directive_to_build_economy_modifier = yes - ai_market_shortage_modifier = { GOOD = trade_good_textiles } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_oil amount = basic_resource_need @@ -1738,6 +1674,16 @@ wool_oil_finishing_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_modifier = { GOOD = trade_good_textiles } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_oil CATEGORY = trade_category_comforts } + directive_to_build_economy_modifier = yes + ai_market_shortage_modifier = { GOOD = trade_good_textiles } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } #Fulling Mill (Much better output) @@ -1913,21 +1859,6 @@ wool_cheesemaker_1 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_cheesemaker_2 - type_icon = "resource_buildings/wool_cheesemaker.dds" - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_new_building_modifier = yes - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -1945,6 +1876,19 @@ wool_cheesemaker_1 = { } } } + on_complete = { + } + next_building = wool_cheesemaker_2 + type_icon = "resource_buildings/wool_cheesemaker.dds" + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_new_building_modifier = yes + } } wool_cheesemaker_2 = { @@ -1970,20 +1914,6 @@ wool_cheesemaker_2 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_cheesemaker_3 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 2 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -2003,6 +1933,18 @@ wool_cheesemaker_2 = { } } } + on_complete = { + } + next_building = wool_cheesemaker_3 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 2 } + } } wool_cheesemaker_3 = { @@ -2028,20 +1970,6 @@ wool_cheesemaker_3 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_cheesemaker_4 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 3 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -2061,6 +1989,18 @@ wool_cheesemaker_3 = { } } } + on_complete = { + } + next_building = wool_cheesemaker_4 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 3 } + } } wool_cheesemaker_4 = { @@ -2086,20 +2026,6 @@ wool_cheesemaker_4 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - next_building = wool_cheesemaker_5 - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 4 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -2119,6 +2045,18 @@ wool_cheesemaker_4 = { } } } + on_complete = { + } + next_building = wool_cheesemaker_5 + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 4 } + } } wool_cheesemaker_5 = { @@ -2144,19 +2082,6 @@ wool_cheesemaker_5 = { market_modifier = { trade_good_salt_sell_price_mult = price_basic_building_1 } - - on_complete = { - } - ai_value = { - base = 10 - ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } - directive_to_build_economy_modifier = yes - ai_income_building_modifier = yes - ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } - ai_resource_building_upgrade_modifier = { LEVEL = 5 } - } - trade_good_need = { trade_good = trade_good_salt amount = low_resource_district_need @@ -2176,4 +2101,15 @@ wool_cheesemaker_5 = { } } } + on_complete = { + } + ai_value = { + base = 10 + ai_resource_building_need_category_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_consumer_category_modifier = { GOOD = trade_good_salt CATEGORY = trade_category_salt } + directive_to_build_economy_modifier = yes + ai_income_building_modifier = yes + ai_market_category_shortage_modifier = { GOOD = trade_good_cheese CATEGORY = trade_category_comforts } + ai_resource_building_upgrade_modifier = { LEVEL = 5 } + } } diff --git a/common/buildings/special_buildings/00_special_buildings.txt b/common/buildings/special_buildings/00_special_buildings.txt index 8d505f045..e817c6613 100644 --- a/common/buildings/special_buildings/00_special_buildings.txt +++ b/common/buildings/special_buildings/00_special_buildings.txt @@ -1352,9 +1352,29 @@ holy_site_imam_ali_mosque_01 = { trade_good_incense_sell_price_mult = special_building_need_sell_price trade_good_oil_sell_price_mult = special_building_need_sell_price } + trade_good_need = { + trade_good = trade_good_incense + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + modifiers = { + county_modifier = { + prosperity_growth_factor = special_building_need_prosperity_high + } + } + } + trade_good_need = { + trade_good = trade_good_oil + amount = special_building_need_amount + can_be_filled_multiple_times = 5 + modifiers = { + province_modifier = { + province_size_baseline_add = 10 + } + } + } flag = travel_point_of_interest_religious flag = holy_building @@ -1381,30 +1401,6 @@ holy_site_imam_ali_mosque_01 = { trade_good_honey_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult trade_good_ceramics_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult } - - trade_good_need = { - trade_good = trade_good_incense - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - province_modifier = { - province_size_baseline_add = 10 - } - } - } } ########## @@ -1456,7 +1452,6 @@ holy_site_great_mosque_of_mecca_01 = { } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } @@ -1869,7 +1864,6 @@ holy_site_great_mosque_of_samarra_01 = { } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } @@ -2020,7 +2014,6 @@ holy_site_cologne_cathedral_01 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -2168,7 +2161,6 @@ holy_site_canterbury_cathedral_01 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -2331,7 +2323,6 @@ holy_site_canterbury_cathedral_02 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 2 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -2495,7 +2486,6 @@ holy_site_canterbury_cathedral_03 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 3 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -2652,7 +2642,6 @@ holy_site_prophetic_mosque_01 = { } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } market_modifier = { @@ -2764,7 +2753,6 @@ doges_palace_01 = { } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 1 fort_level = 3 levy_size = 1 @@ -2942,7 +2930,6 @@ visby_ringmur_01 = { } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 0.25 fort_level = 1 province_size_baseline_add = special_building_province_size_baseline_small @@ -3016,7 +3003,6 @@ walls_of_benin_01 = { } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 0.5 fort_level = 2 travel_danger = -20 @@ -3177,7 +3163,6 @@ theodosian_walls_01 = { market_modifier = { trade_good_stone_sell_price_mult = special_building_need_sell_price trade_good_spices_sell_price_mult = special_building_need_sell_price - trade_good_iron_sell_price_mult = special_building_need_sell_price } ai_value = { @@ -3190,12 +3175,6 @@ theodosian_walls_01 = { ai_duchy_new_district_modifier = yes } - - - - - flag = duchy_building - trade_good_need = { trade_good = trade_good_stone amount = special_building_need_amount @@ -3221,16 +3200,7 @@ theodosian_walls_01 = { } } - trade_good_need = { - trade_good = trade_good_iron - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity - } - } - } + flag = duchy_building } ########## @@ -3334,7 +3304,6 @@ the_colosseum_01 = { } province_modifier = { - building_slots_for_host_district = 1 build_speed = -0.1 trade_good_stone_production_add = special_building_stone_output } @@ -3487,7 +3456,6 @@ the_pyramids_01 = { short_reign_duration_mult = -0.2 } province_modifier = { - building_slots_for_host_district = 1 trade_good_stone_production_add = 25 } market_modifier = { @@ -3564,7 +3532,6 @@ stonehenge_01 = { flag = travel_point_of_interest_religious - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -3584,7 +3551,6 @@ offas_dyke_01 = { # For Matt Frary cost_gold = 3000 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = 5 stationed_maa_toughness_mult = 0.05 } @@ -3664,7 +3630,6 @@ petra_01 = { } province_modifier = { - building_slots_for_host_district = 1 } market_modifier = { @@ -3759,7 +3724,6 @@ buddhas_of_bamian_01 = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_buddhism - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -3786,7 +3750,6 @@ alhambra_01 = { max_garrison = good_building_max_garrison_tier_1 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_1 fort_level = good_building_fort_level_tier_1 stationed_maa_damage_mult = normal_maa_damage_tier_1 @@ -3871,7 +3834,6 @@ alhambra_02 = { } max_garrison = good_building_max_garrison_tier_3 province_modifier = { - building_slots_for_host_district = 2 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_3 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -3964,7 +3926,6 @@ citadel_of_aleppo_01 = { max_garrison = good_building_max_garrison_tier_1 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_1 fort_level = good_building_fort_level_tier_1 stationed_maa_damage_mult = normal_maa_damage_tier_1 @@ -4044,7 +4005,6 @@ citadel_of_aleppo_02 = { } max_garrison = good_building_max_garrison_tier_3 province_modifier = { - building_slots_for_host_district = 2 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_3 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -4139,7 +4099,6 @@ house_of_wisdom_01 = { control_baseline_add = 10 } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 90 trade_good_books_paper_production_add = 25 } @@ -4226,7 +4185,6 @@ the_tower_of_london_01 = { construction_time = very_slow_construction_time type_icon = "special_buildings/tower_of_london.dds" - next_building = the_tower_of_london_02 asset = { type = pdxmesh @@ -4272,7 +4230,6 @@ the_tower_of_london_01 = { } max_garrison = good_building_max_garrison_tier_3 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_3 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -4839,7 +4796,6 @@ the_friday_mosque_01 = { religious_tax_mult = 0.2 } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } @@ -4996,7 +4952,6 @@ palace_of_aachen_01 = { } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = special_building_province_size_baseline } @@ -5098,7 +5053,6 @@ hagia_sophia_01 = { trade_good_books_paper_buy_price_mult = special_building_production_buy_price } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output province_size_baseline_add = 50 } @@ -5223,7 +5177,6 @@ hagia_sophia_02 = { trade_good_books_paper_buy_price_mult = special_building_production_buy_price } province_modifier = { - building_slots_for_host_district = 2 trade_good_books_paper_production_add = special_building_books_output province_size_baseline_add = 50 } @@ -5335,7 +5288,6 @@ dome_of_the_rock_01 = { } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } @@ -5456,7 +5408,6 @@ temple_in_jerusalem_01 = { } province_modifier = { - building_slots_for_host_district = 2 province_size_baseline_add = 40 } @@ -5783,7 +5734,6 @@ generic_university = { monthly_dynasty_prestige = 0.25 } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = special_building_province_size_baseline } @@ -5876,7 +5826,6 @@ al_azhar_university = { monthly_dynasty_prestige = 0.25 } province_modifier = { - building_slots_for_host_district = 1 province_size_baseline_add = 40 } @@ -6328,7 +6277,6 @@ hotin_fort_01 = { } max_garrison = good_building_max_garrison_tier_1 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_2 fort_level = good_building_fort_level_tier_1 stationed_maa_damage_mult = normal_maa_damage_tier_1 @@ -6377,7 +6325,6 @@ hotin_fort_02 = { } max_garrison = good_building_max_garrison_tier_2 province_modifier = { - building_slots_for_host_district = 2 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -6543,7 +6490,6 @@ heddal_stave_church_01 = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_christianity - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -6640,7 +6586,6 @@ temple_of_uppsala_01 = { flag = holy_building flag = holy_building_christianity flag = religious_studies_location - province_modifier = { building_slots_for_host_district = 1 } } temple_of_uppsala_02 = { @@ -6703,7 +6648,6 @@ temple_of_uppsala_02 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 2 trade_good_books_paper_production_add = special_building_books_output } county_modifier = { @@ -6813,7 +6757,6 @@ lund_cathedral_01 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } county_modifier = { @@ -6900,7 +6843,6 @@ danevirke_01 = { cost_gold = 300 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = 5 stationed_maa_toughness_mult = 0.05 } @@ -6945,7 +6887,6 @@ roman_wall_of_lugo_01 = { } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 0.1 fort_level = 1 travel_danger = -10 @@ -7066,7 +7007,6 @@ aljaferia_palace_01 = { } max_garrison = good_building_max_garrison_tier_2 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -7135,8 +7075,7 @@ tower_of_hercules_01 = { embarkation_cost_mult = -0.25 } - province_modifier = { - building_slots_for_host_district = 1 + province_modifier = { monthly_commerce_tax = 1 #Trade Tax } market_modifier = { @@ -7271,7 +7210,6 @@ alcazar_of_segovia_01 = { } max_garrison = good_building_max_garrison_tier_2 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -7369,7 +7307,6 @@ holy_site_basilica_santiago_01 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -7531,7 +7468,6 @@ imam_reza_shrine_01 = { flag = holy_building flag = holy_building_islam flag = religious_studies_location - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -7605,7 +7541,6 @@ soltaniyeh_01 = { flag = travel_point_of_interest_wonder # monumental tomb flag = holy_building flag = holy_building_islam - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -7636,7 +7571,6 @@ palace_of_ctesiphon_01 = { build_speed = -0.1 # Baghdad was constructed using stones from Ctesiphon } province_modifier = { - building_slots_for_host_district = 1 trade_good_stone_production_add = special_building_stone_output } market_modifier = { @@ -7707,7 +7641,6 @@ palace_of_ctesiphon_02 = { } province_modifier = { - building_slots_for_host_district = 2 monthly_religious_tax = 1 } market_modifier = { @@ -7770,7 +7703,6 @@ falak_ol_aflak_citadel_01 = { } max_garrison = good_building_max_garrison_tier_2 province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -7879,7 +7811,6 @@ minarets_and_remains_of_jam_01 = { flag = travel_point_of_interest_religious # religious monument flag = holy_building flag = holy_building_islam - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -7901,7 +7832,6 @@ great_wall_of_gorgan_01 = { cost_gold = 1000 province_modifier = { - building_slots_for_host_district = 1 build_gold_cost = -0.1 fort_level = 1 garrison_size = 0.25 @@ -7951,7 +7881,6 @@ maharloo_lake_01 = { prosperity_growth = 0.1 } province_modifier = { - building_slots_for_host_district = 1 trade_good_salt_production_add = special_building_salt_output } market_modifier = { @@ -8019,7 +7948,6 @@ rainbow_mountains_01 = { flag = travel_point_of_interest_natural_feature # mountain flag = is_mountain - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -8059,7 +7987,6 @@ mount_damavand_01 = { } province_modifier = { - building_slots_for_host_district = 1 stationed_maa_toughness_mult = normal_maa_toughness_tier_2 } @@ -8107,7 +8034,6 @@ tomb_of_cyrus_01 = { } province_modifier = { - building_slots_for_host_district = 1 } county_modifier = { @@ -8389,7 +8315,6 @@ alamut_castle_01 = { cost_gold = 400 province_modifier = { - building_slots_for_host_district = 1 travel_danger = -30 hostile_raid_time = 2 stationed_maa_toughness_mult = normal_maa_toughness_tier_2 @@ -8462,7 +8387,6 @@ alamut_castle_02 = { } province_modifier = { - building_slots_for_host_district = 2 travel_danger = -50 hostile_raid_time = 3 stationed_maa_toughness_mult = normal_maa_toughness_tier_4 @@ -8632,7 +8556,6 @@ church_of_the_theotokos = { } province_modifier = { - building_slots_for_host_district = 2 travel_danger = -10 monthly_religious_tax = 1 } @@ -8717,7 +8640,6 @@ parthenon = { } province_modifier = { - building_slots_for_host_district = 1 travel_danger = -10 monthly_religious_tax = 1 } @@ -8792,7 +8714,6 @@ hagios_demetrios = { } province_modifier = { - building_slots_for_host_district = 1 monthly_religious_tax = 0.5 province_size_baseline_add = 40 } @@ -8882,7 +8803,6 @@ kassiopi_castle = { } province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 garrison_size = 0.2 @@ -8952,7 +8872,6 @@ saint_lazarus = { } province_modifier = { - building_slots_for_host_district = 1 monthly_religious_tax = 0.4 } @@ -9207,7 +9126,6 @@ patras_castle = { } province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_3 fort_level = good_building_fort_level_tier_2 garrison_size = 0.2 @@ -9284,7 +9202,6 @@ maiden_tower = { } province_modifier = { - building_slots_for_host_district = 1 defender_holding_advantage = normal_building_advantage_tier_4 fort_level = good_building_fort_level_tier_1 stationed_maa_damage_mult = normal_maa_damage_tier_2 @@ -9394,7 +9311,6 @@ despot_palace = { } flag = travel_point_of_interest_diplomatic - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -9482,7 +9398,6 @@ meteora_01 = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_christianity - province_modifier = { building_slots_for_host_district = 1 } } meteora_02 = { @@ -9575,7 +9490,6 @@ meteora_02 = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_christianity - province_modifier = { building_slots_for_host_district = 2 } } ########## @@ -9612,15 +9526,7 @@ mount_athos_01 = { } province_modifier = { - building_slots_for_host_district = 1 - trade_good_books_paper_production_add = 15 - trade_good_oil_production_add = 10 - trade_good_incense_production_add = 10 - trade_good_honey_production_add = 5 - trade_good_wine_production_add = 5 - trade_good_spices_production_add = 3 - trade_good_medicaments_production_add = 3 - trade_good_jewelry_production_add = 2 + trade_good_books_paper_production_add = special_building_books_output } market_modifier = { trade_good_incense_sell_price_mult = special_building_need_sell_price @@ -9717,15 +9623,7 @@ mount_athos_02 = { } province_modifier = { - building_slots_for_host_district = 2 - trade_good_books_paper_production_add = 25 - trade_good_oil_production_add = 20 - trade_good_incense_production_add = 20 - trade_good_honey_production_add = 10 - trade_good_wine_production_add = 10 - trade_good_spices_production_add = 8 - trade_good_medicaments_production_add = 8 - trade_good_jewelry_production_add = 4 + trade_good_books_paper_production_add = special_building_books_output } market_modifier = { trade_good_incense_sell_price_mult = special_building_need_sell_price @@ -9836,17 +9734,7 @@ mount_athos_03 = { } province_modifier = { - building_slots_for_host_district = 3 - trade_good_books_paper_production_add = 40 - trade_good_oil_production_add = 50 - trade_good_incense_production_add = 50 - trade_good_honey_production_add = 20 - trade_good_wine_production_add = 20 - trade_good_spices_production_add = 15 - trade_good_medicaments_production_add = 15 - trade_good_jewelry_production_add = 10 - trade_good_silver_production_add = 30 - trade_good_gold_production_add = 15 + trade_good_books_paper_production_add = special_building_books_output } market_modifier = { trade_good_incense_sell_price_mult = special_building_need_sell_price @@ -9873,132 +9761,6 @@ mount_athos_03 = { } - trade_good_need = { - trade_good = trade_good_incense - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - - trade_good_need = { - trade_good_category = trade_category_precious_metals - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - character_modifier = { - monthly_piety = special_building_need_piety - } - } - } - - trade_good_need = { - trade_good = trade_good_oil - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth = special_building_need_prosperity_high - } - } - } - - next_building = mount_athos_04 - - flag = travel_point_of_interest_religious - flag = holy_building - flag = holy_building_christianity -} - -# NEOW fourth stage, retains tier-three production/needs and adds measured defences. -mount_athos_04 = { - construction_time = very_slow_construction_time - - - asset = { - type = pdxmesh - name = ep3_athos_monasteries_01_b_mesh - } - - cost_gold = 1500 - cost_piety = 1000 - - can_construct = { - # Fourth stage is reserved for the restored Athonite theocratic empire. - scope:holder = { has_title = title:h_athos } - } - can_construct_showing_failures_only = { - holding_district_level_3_trigger = yes - } - - is_enabled = { - scope:holder.rite = { - rite_has_doctrine = special_doctrine_is_eastern_christian_faith - } - } - - character_modifier = { - monthly_piety = 0.6 - cultural_head_fascination_mult = 0.10 - rite_creation_piety_cost_mult = -0.1 - religious_vassal_opinion = 10 - zealot_opinion = 10 - clergy_opinion = 10 - } - - county_modifier = { - popular_opinion_add = building_minor_popular_opinion_gain - religious_tax_mult = 0.35 - } - - province_modifier = { - building_slots_for_host_district = 3 - trade_good_books_paper_production_add = 60 - trade_good_oil_production_add = 75 - trade_good_incense_production_add = 75 - trade_good_honey_production_add = 30 - trade_good_wine_production_add = 30 - trade_good_spices_production_add = 25 - trade_good_medicaments_production_add = 25 - trade_good_jewelry_production_add = 20 - trade_good_silver_production_add = 40 - trade_good_gold_production_add = 20 - fort_level = 3 - defender_holding_advantage = 2 - garrison_size = 0.15 - travel_danger = -15 - } - market_modifier = { - trade_good_incense_sell_price_mult = special_building_need_sell_price - trade_good_books_paper_buy_price_mult = special_building_production_buy_price - trade_category_precious_metals_sell_price_mult = special_building_need_sell_price - trade_good_oil_sell_price_mult = special_building_need_sell_price - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - ai_opinion_baseline_building_modifier = { VALUE = 10 } - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - ai_popular_opinion_need_modifier = yes - ai_special_district_modifier = { LEVEL = 4 } - } - - trade_good_need = { trade_good = trade_good_incense amount = special_building_need_amount @@ -10176,7 +9938,6 @@ saint_catherine = { } province_modifier = { - building_slots_for_host_district = 1 fort_level = good_building_fort_level_tier_1 trade_good_books_paper_production_add = special_building_books_output } @@ -10316,7 +10077,6 @@ jvari_monastery = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_christianity - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -10361,7 +10121,6 @@ etchmiadzin_cathedral = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -10558,7 +10317,6 @@ hosios_loukas = { flag = travel_point_of_interest_religious flag = holy_building flag = holy_building_christianity - province_modifier = { building_slots_for_host_district = 1 } } ########## @@ -10602,7 +10360,6 @@ sofia_ohrid = { monthly_civic_tax = 0.25 } province_modifier = { - building_slots_for_host_district = 1 trade_good_books_paper_production_add = special_building_books_output } market_modifier = { @@ -10687,7 +10444,6 @@ fairy_chimneys = { } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 0.1 levy_size = 0.1 travel_danger = -10 @@ -15922,6 +15678,10 @@ trosky_castle_01 = { flag = travel_point_of_interest_martial } +########## +# Tower of Pisa +########## + tower_of_pisa = { construction_time = very_slow_construction_time diff --git a/common/buildings/special_buildings/00_special_mines.txt b/common/buildings/special_buildings/00_special_mines.txt index 4de765cf1..ab69493f7 100644 --- a/common/buildings/special_buildings/00_special_mines.txt +++ b/common/buildings/special_buildings/00_special_mines.txt @@ -25,7 +25,6 @@ generic_copper_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = copper_mine_generic_building_tax_tier_1 trade_good_copper_production_add = generic_copper_mine_tier_1_output } @@ -88,7 +87,6 @@ generic_copper_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = copper_mine_generic_building_tax_tier_2 trade_good_copper_production_add = generic_copper_mine_tier_2_output } @@ -151,7 +149,6 @@ generic_copper_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = copper_mine_generic_building_tax_tier_3 trade_good_copper_production_add = generic_copper_mine_tier_3_output @@ -215,7 +212,6 @@ generic_copper_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = copper_mine_building_tax_tier_4 trade_good_copper_production_add = generic_copper_mine_tier_4_output } @@ -1564,7 +1560,6 @@ kremnica_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = silver_mine_building_tax_tier_1 } @@ -1632,7 +1627,6 @@ kremnica_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = silver_mine_building_tax_tier_2 } @@ -1699,7 +1693,6 @@ kremnica_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_3 } @@ -1766,7 +1759,6 @@ kremnica_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_4 } @@ -2361,7 +2353,6 @@ falun_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = copper_mine_building_tax_tier_1 } @@ -2446,7 +2437,6 @@ falun_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = copper_mine_building_tax_tier_2 } @@ -2532,7 +2522,6 @@ falun_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = copper_mine_building_tax_tier_3 } @@ -2618,7 +2607,6 @@ falun_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = copper_mine_building_tax_tier_4 } @@ -3769,7 +3757,6 @@ siderokausia_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = silver_mine_building_tax_tier_1 } @@ -3837,7 +3824,6 @@ siderokausia_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = silver_mine_building_tax_tier_2 } @@ -3904,7 +3890,6 @@ siderokausia_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_3 } @@ -3971,7 +3956,6 @@ siderokausia_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_4 } @@ -8148,7 +8132,6 @@ pansjhir_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = silver_mine_building_tax_tier_1 } @@ -8216,7 +8199,6 @@ pansjhir_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = silver_mine_building_tax_tier_2 } @@ -8283,7 +8265,6 @@ pansjhir_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_3 } @@ -8350,7 +8331,6 @@ pansjhir_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_4 } @@ -12370,7 +12350,6 @@ nishapur_mines_01 = { cost_gold = expensive_building_tier_3_cost province_modifier = { - building_slots_for_host_district = 1 monthly_mining_tax = silver_mine_building_tax_tier_1 } @@ -12437,7 +12416,6 @@ nishapur_mines_02 = { cost_gold = expensive_building_tier_4_cost province_modifier = { - building_slots_for_host_district = 2 monthly_mining_tax = silver_mine_building_tax_tier_2 } @@ -12504,7 +12482,6 @@ nishapur_mines_03 = { cost_gold = expensive_building_tier_5_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_3 } @@ -12571,7 +12548,6 @@ nishapur_mines_04 = { cost_gold = expensive_building_tier_6_cost province_modifier = { - building_slots_for_host_district = 3 monthly_mining_tax = silver_mine_building_tax_tier_4 } diff --git a/common/buildings/special_buildings/cp6_special_buildings.txt b/common/buildings/special_buildings/cp6_special_buildings.txt index fe0678a3d..67d08707e 100644 --- a/common/buildings/special_buildings/cp6_special_buildings.txt +++ b/common/buildings/special_buildings/cp6_special_buildings.txt @@ -78,7 +78,6 @@ holy_site_st_peters_basilica_01 = { monthly_civic_tax = 0.5 } province_modifier = { - building_slots_for_host_district = 1 garrison_size = 1 trade_good_books_paper_production_add = special_building_books_output } @@ -128,137 +127,6 @@ holy_site_st_peters_basilica_01 = { } } - next_building = neow_vatican_bone_temple_01 - - flag = travel_point_of_interest_religious - flag = holy_building - flag = religious_studies_location - market_rite_modifier = { - parameter = can_go_on_pilgrimage - trade_good_incense_sell_price_mult = holy_site_pilgrim_sell_price_mult - trade_good_oil_sell_price_mult = holy_site_pilgrim_sell_price_mult - trade_good_honey_sell_price_mult = holy_site_pilgrim_sell_price_mult - trade_good_ceramics_sell_price_mult = holy_site_pilgrim_sell_price_mult - } - market_rite_modifier = { - parameter = mandatory_pilgrimage - trade_good_incense_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_oil_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_honey_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_ceramics_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - } - market_rite_modifier = { - parameter = mandatory_hajj - trade_good_incense_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_oil_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_honey_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - trade_good_ceramics_sell_price_mult = holy_site_mandatory_pilgrimage_sell_price_mult - } -} - -# NEOW Cadaverist transformation of Saint Peter's Basilica. -neow_vatican_bone_temple_01 = { - effect_desc = { - triggered_desc = { - trigger = { has_dlc_feature = legends_of_the_dead } - desc = building_funeral_effect_desc - } - } - - asset = { - type = pdxmesh - name = "cp6_building_special_st_peters_basilica_mesh" - requires_dlc_flag = holy_buildings - } - asset = { - type = pdxmesh - name = "building_special_cathedral_generic_mesh" - } - - construction_time = very_slow_construction_time - - type_icon = "special_buildings/wawel_cathedral.dds" - - can_construct_potential = { - building_requirement_tribal = no - } - - can_construct = { always = no } # Only created by the Cadaverist restoration event. - - is_enabled = { scope:holder.faith = faith:cadaverist_faith } - - show_disabled = yes - - cost_gold = 1500 - cost_piety = 700 - - county_holder_character_modifier = { - monthly_piety_gain_mult = 0.2 - monthly_piety = 0.25 - holy_order_hire_cost_mult = -0.1 - } - - county_modifier = { - religious_tax_mult = 0.25 - travel_danger = -15 - } - - province_culture_modifier = { - parameter = civic_religion_cathedral_civic_tax - monthly_civic_tax = 0.5 - } - province_modifier = { - building_slots_for_host_district = 2 - garrison_size = 0.75 - fort_level = 1 - trade_good_books_paper_production_add = special_building_books_output - } - market_modifier = { - trade_category_precious_metals_sell_price_mult = special_building_need_sell_price - trade_good_jewelry_sell_price_mult = special_building_need_sell_price - trade_good_books_paper_buy_price_mult = special_building_production_buy_price - } - - on_complete = { - #Regular Mandala Boon - mandala_built_piety_duchy_building_t3_effect = yes - } - - ai_value = { - base = 10 - ai_pious_building_preference_modifier = yes - modifier = { # Fill all building slots before going for special buildings - factor = 0 - free_building_slots > 0 - } - ai_special_district_modifier = { LEVEL = 2 } - } - - trade_good_need = { - trade_good_category = trade_category_precious_metals - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - - modifiers = { - county_modifier = { - prosperity_growth_factor = special_building_need_prosperity_high - } - } - } - - trade_good_need = { - trade_good = trade_good_jewelry - amount = special_building_need_amount - can_be_filled_multiple_times = 5 - not_rite_parameter = luxury_forbidden - - modifiers = { - county_holder_character_modifier = { - monthly_piety = special_building_need_piety - } - } - } - flag = travel_point_of_interest_religious flag = holy_building flag = religious_studies_location