Price rebalancing.

This commit is contained in:
sarah committed 2026-09-05 10:06:46 +02:00
1 parent b3902d4f69
commit 840ca6f176
1 file changed
+8 -18
+8 -18
View File
@@ -3,9 +3,8 @@ const PlantInformationUpgradeCost = 500;
const GardenOverviewUpgradeCost = 1000;
const GardenEconomyUpgradeCost = 1000;
const MutationHintsUpgradeCost = 1500;
const NewGardenBaseCost = 15000;
const NewGardenBaseCost = 4000;
const NewGardenCostMultiplier = 1.5;
const NewGardenCostRounding = 1000;
function GetGardenColumnUpgradeCost(
@@ -124,22 +123,13 @@ function GetNewGardenCost(
SaveData.Gardens?.length ?? 1
);
let Cost =
NewGardenBaseCost;
for (
let GardenNumber = 1;
GardenNumber < GardensOwned;
GardenNumber++
) {
Cost = Math.round(
Cost *
NewGardenCostMultiplier /
NewGardenCostRounding
) * NewGardenCostRounding;
}
return Cost;
return Math.round(
NewGardenBaseCost *
Math.pow(
NewGardenCostMultiplier,
GardensOwned - 1
)
);
}