diff --git a/src/endWeek/reports/incubatorReport.js b/src/endWeek/reports/incubatorReport.js index a060753778beefe606a6d3834679556fbbf42738..b14eb45347b3952def21ca28b532f8812aa62ee6 100644 --- a/src/endWeek/reports/incubatorReport.js +++ b/src/endWeek/reports/incubatorReport.js @@ -254,6 +254,7 @@ App.EndWeek.incubatorReport = function() { r = []; if (V.incubator.upgrade.reproduction === 1) { const rearQuirk = tank.geneticQuirks.rearLipedema === 2 ? 2 : 1; + const rearLimit = 20; // current maximum ass size, used to avoid reporting failed growth if (tank.incubatorSettings.reproduction === 2) { r.push(`${His} developing body is being flooded with hormones.`); if (tank.incubatorSettings.weight === 1) { @@ -277,7 +278,7 @@ App.EndWeek.incubatorReport = function() { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} hips to widen for childbirth.</span>`); tank.hips = Math.clamp(tank.hips + 2, -2, 2); } - if (tank.butt < 12*rearQuirk && random(1, 100) > 30/rearQuirk) { + if (tank.butt < rearLimit && tank.butt < 12*rearQuirk && random(1, 100) > 30/rearQuirk) { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} rear to grow fatter.</span>`); tank.butt += 4; } @@ -290,7 +291,7 @@ App.EndWeek.incubatorReport = function() { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} hips to widen for childbirth.</span>`); tank.hips++; } - if (tank.butt < 12*rearQuirk && random(1, 100) > 50/rearQuirk) { + if (tank.butt < rearLimit && tank.butt < 12*rearQuirk && random(1, 100) > 50/rearQuirk) { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} rear to grow fatter.</span>`); tank.butt += 3; } @@ -303,7 +304,7 @@ App.EndWeek.incubatorReport = function() { r.push(`The excess estrogen-laced growth hormones <span class="green">causes ${his} hips to widen for childbirth.</span>`); tank.hips++; } - if (tank.butt < 12*rearQuirk && random(1, 100) > 50/rearQuirk) { + if (tank.butt < rearLimit && tank.butt < 12*rearQuirk && random(1, 100) > 50/rearQuirk) { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} rear grow fatter.</span>`); tank.butt += 2; } @@ -316,7 +317,7 @@ App.EndWeek.incubatorReport = function() { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} hips to widen for childbirth.</span>`); tank.hips++; } - if (tank.butt < 12*rearQuirk && random(1, 100) > 60/rearQuirk) { + if (tank.butt < rearLimit && tank.butt < 12*rearQuirk && random(1, 100) > 60/rearQuirk) { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} rear to grow fatter.</span>`); tank.butt++; } @@ -329,7 +330,7 @@ App.EndWeek.incubatorReport = function() { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} hips to widen for childbirth.</span>`); tank.hips++; } - if (tank.butt < 12*rearQuirk && random(1, 100) > 70/rearQuirk) { + if (tank.butt < rearLimit && tank.butt < 12*rearQuirk && random(1, 100) > 70/rearQuirk) { r.push(`The excess estrogen-laced growth hormones <span class="green">cause ${his} rear to grow fatter.</span>`); tank.butt++; }