From f71dd7a76de45b5b20c6ae5604f52fb6646e868d Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Mon, 1 Mar 2021 05:51:53 -0500 Subject: [PATCH] incubator costs corrections --- src/js/economyJS.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 175b9620a60..bd40f80198d 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -574,7 +574,7 @@ globalThis.calculateCosts = (function() { function getIncubatorCosts() { let costs = 0; if (V.incubator > 0) { - costs += ((V.incubatorWeightSetting + V.incubatorMusclesSetting + V.incubatorReproductionSetting + V.incubatorGrowthStimsSetting) * 500); + costs += ((V.incubatorUpgradeWeight + V.incubatorUpgradeMuscles + V.incubatorUpgradeReproduction + V.incubatorUpgradeGrowthStims + V.incubatorUpgradeOrgans) * 500); if (V.incubatorUpgradePregAdaptation === 1) { costs += 5000 * V.incubator; } @@ -585,9 +585,9 @@ globalThis.calculateCosts = (function() { function getIncubatorSlavesCosts() { const facIncMultiplier = V.facilityCost * V.tanks.length; let costs = (facIncMultiplier * 10); - costs += (0.2 * V.incubatorUpgradeWeight + 0.2 * V.incubatorUpgradeMuscles + - 0.2 * V.incubatorUpgradeReproduction + 0.2 * V.incubatorUpgradeGrowthStims + - 0.5 * V.incubatorUpgradeSpeed) * facIncMultiplier; + costs += (0.2 * V.incubatorWeightSetting + 0.2 * V.incubatorMusclesSetting + + 0.2 * V.incubatorReproductionSetting + 0.2 * V.incubatorGrowthStimsSetting + + 0.2 * V.incubatorPregAdaptationPower + 0.5 * V.incubatorUpgradeSpeed) * facIncMultiplier; return costs; } -- GitLab