#Secondary Resource Alum Line minor_alum_mine_1 = { construction_time = construction_time_6_months can_construct_potential = { county = { has_potential_for_trade_good = trade_good_type:trade_good_alum } NOT = { has_building_or_higher = mine_tier_1 } } can_construct_showing_failures_only = { } is_enabled = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_1_cost province_modifier = { trade_good_alum_production_add = minor_alum_output_1 } province_government_modifier = { not_parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_1 } province_government_modifier = { parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_1_tribal } on_complete = { } next_building = minor_alum_mine_2 type_icon = "resource_buildings/minor_alum_mine.dds" ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } directive_to_build_economy_modifier = yes ai_market_shortage_modifier = { GOOD = trade_good_alum } ai_resource_new_building_modifier = yes } } minor_alum_mine_2 = { construction_time = construction_time_9_months can_construct_showing_failures_only = { building_mineral_early_medieval_trigger = yes } is_enabled = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_2_cost province_modifier = { #Base increase trade_good_alum_production_add = minor_alum_output_2 } province_government_modifier = { not_parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_2 } province_government_modifier = { parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_2_tribal } on_complete = { } next_building = minor_alum_mine_3 ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } directive_to_build_economy_modifier = yes ai_market_shortage_modifier = { GOOD = trade_good_alum } ai_resource_building_upgrade_modifier = { LEVEL = 2 } } } minor_alum_mine_3 = { construction_time = construction_time_1_year can_construct_showing_failures_only = { building_mineral_high_medieval_trigger = yes } is_enabled = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_3_cost province_modifier = { #Base increase trade_good_alum_production_add = minor_alum_output_3 } province_government_modifier = { not_parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_3 } province_government_modifier = { parameter = government_is_tribal monthly_mining_tax = secondary_resource_building_income_3_tribal } on_complete = { } ai_value = { base = 10 ai_resource_building_need_modifier = { GOOD = trade_good_alum } directive_to_build_economy_modifier = yes ai_market_shortage_modifier = { GOOD = trade_good_alum } ai_resource_building_upgrade_modifier = { LEVEL = 3 } } } #Alum Apothecaries #Turns Alum into Medicaments alum_apothecary_1 = { construction_time = construction_time_6_months can_construct_potential = { building_requirement_non_tribal = yes production_of_trade_good_type = { target = trade_good_type:trade_good_alum value > 0 } } can_construct_showing_failures_only = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_1_cost province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_1 } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_1_tribal } market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } 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 modifiers = { province_modifier = { trade_good_medicaments_production_add = medicaments_output_from_alum_per_level } province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal } } } } alum_apothecary_2 = { construction_time = construction_time_9_months district_level_requirement = 2 can_construct_potential = { building_requirement_non_tribal = yes } can_construct_showing_failures_only = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_2_cost province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_2 } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_2_tribal } market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } 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 can_be_filled_multiple_times = 2 modifiers = { province_modifier = { trade_good_medicaments_production_add = medicaments_output_from_alum_per_level } province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal } } } } alum_apothecary_3 = { construction_time = construction_time_1_year district_level_requirement = 5 can_construct_potential = { building_requirement_non_tribal = yes } can_construct_showing_failures_only = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_3_cost province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_3 } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_3_tribal } market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } 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 can_be_filled_multiple_times = 3 modifiers = { province_modifier = { trade_good_medicaments_production_add = medicaments_output_from_alum_per_level } province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal } } } } alum_apothecary_4 = { construction_time = construction_time_2_years district_level_requirement = 5 can_construct_potential = { building_requirement_non_tribal = yes } can_construct_showing_failures_only = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_4_cost province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_4 } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_4_tribal } market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } 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 can_be_filled_multiple_times = 4 modifiers = { province_modifier = { trade_good_medicaments_production_add = medicaments_output_from_alum_per_level } province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal } } } } alum_apothecary_5 = { construction_time = construction_time_3_years district_level_requirement = 9 can_construct_potential = { building_requirement_non_tribal = yes } can_construct_showing_failures_only = { } show_disabled = yes can_construct = { } cost_gold = resource_district_normal_tier_5_cost province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_5 } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = alum_apothecary_income_tier_5_tribal } market_modifier = { trade_good_alum_sell_price_mult = price_basic_building_1 } 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 can_be_filled_multiple_times = 5 modifiers = { province_modifier = { trade_good_medicaments_production_add = medicaments_output_from_alum_per_level } province_government_modifier = { not_parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level } province_government_modifier = { parameter = government_is_tribal monthly_artisan_tax = monthly_tax_per_medicament_from_alum_level_tribal } } } }