building fixes and disctricts stuff

This commit is contained in:
Greekman 2026-11-24 21:30:52 +00:00
parent 1feaf75720
commit 81b82ea941
63 changed files with 64212 additions and 22840 deletions

View file

@ -77,6 +77,19 @@ 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
@ -91,18 +104,6 @@ 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 = {
@ -130,6 +131,18 @@ 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
@ -147,17 +160,6 @@ 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 = {
@ -185,6 +187,18 @@ 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
@ -202,17 +216,6 @@ 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 = {
@ -240,6 +243,18 @@ 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
@ -257,17 +272,6 @@ 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 = {
@ -295,6 +299,17 @@ 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
@ -312,16 +327,6 @@ 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 = {
@ -1224,20 +1229,7 @@ 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 = {
@ -1253,6 +1245,21 @@ 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 = {
@ -1281,6 +1288,22 @@ 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
@ -1297,20 +1320,6 @@ 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 = {
@ -1339,6 +1348,22 @@ 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
@ -1355,20 +1380,6 @@ 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 = {
@ -1397,6 +1408,22 @@ 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
@ -1413,20 +1440,6 @@ 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 = {
@ -1455,6 +1468,21 @@ 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
@ -1471,17 +1499,4 @@ 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 }
}
}