diff --git a/src/endWeek/reports/dairyReport.js b/src/endWeek/reports/dairyReport.js index 4c2bc042d374815031d460f82b8bc016bdf38623..217c63f54453ca776a3e203519adcfc349a61454 100644 --- a/src/endWeek/reports/dairyReport.js +++ b/src/endWeek/reports/dairyReport.js @@ -9,13 +9,13 @@ App.EndWeek.dairyReport = function() { // <span id="dairy-stats"></span> - let _MMWorkout = 0; - let _BF = App.Data.misc.bioreactorFluids; - let _slaves = App.Utils.sortedEmployees(App.Entity.facilities.dairy); - let _DL = _slaves.length; - let _anusesStretched = 0, _birthers = 0, _births = 0, _cumWeek = 0, _femCumWeek = 0, _FLsFetish = 0, _milkWeek = 0, _balltacular = 0, _boobtacular = 0, _careerForgotten = 0, _chemMinor = 0, _chemSevere = 0, _desterilized = 0, _hateFilled = 0, _horrified = 0, _intelligenceLost = 0, _mindbroken = 0, _profits = 0, _skillsLost = 0, _stupidified = 0, _vaginasStretched = 0; - let _cmSlave, _dsSlave, _hfSlave, _hrSlave, _slSlave, _cfSlave, _stSlave, _btSlave; - const _inflatedSlaves = App.Facilities.Dairy.inflation(); + let MMWorkout = 0; + const BF = App.Data.misc.bioreactorFluids; + const slaves = App.Utils.sortedEmployees(App.Entity.facilities.dairy); + let DL = slaves.length; + let anusesStretched = 0, birthers = 0, births = 0, cumWeek = 0, femCumWeek = 0, FLsFetish = 0, milkWeek = 0, balltacular = 0, boobtacular = 0, careerForgotten = 0, chemMinor = 0, chemSevere = 0, desterilized = 0, hateFilled = 0, horrified = 0, intelligenceLost = 0, mindbroken = 0, profits = 0, skillsLost = 0, stupidified = 0, vaginasStretched = 0; + let cmSlave, dsSlave, hfSlave, hrSlave, slSlave, cfSlave, stSlave, btSlave; + const inflatedSlaves = App.Facilities.Dairy.inflation(); V.bioreactorPerfectedID = 0; V.legendaryBallsID = 0; V.legendaryCowID = 0; @@ -26,33 +26,33 @@ App.EndWeek.dairyReport = function() { V.milkmaidTrustThreshold = 35; let He, His, he, his, him, wife, girl; let he2, his2; - let _Tadd; - let _milkResults; - let _growth; - let _cashX; - let _outputMilk; - let _outputCum; + let Tadd; + let milkResults; + let growth; + let cashXvalue; + let outputMilk; + let outputCum; // Statistics gathering V.facility = V.facility || {}; V.facility.dairy = initFacilityStatistics(V.facility.dairy); - const _dairyNameCaps = capFirstChar(V.dairyName); + const dairyNameCaps = capFirstChar(V.dairyName); if (V.MilkmaidID !== 0) { r = []; - let _milkmaidImpregnated = 0, _milkers = 0, _cummers = 0, _breeders = 0, _prostateStim = 0; + let milkmaidImpregnated = 0, milkers = 0, cummers = 0, breeders = 0, prostateStim = 0; - if (_DL > 0) { - for (const slave of _slaves) { + if (DL > 0) { + for (const slave of slaves) { if (slave.lactation > 0) { - _milkers++; + milkers++; } if (slave.balls > 0 && slave.ballType === "human") { - _cummers++; + cummers++; } if (slave.bellyPreg >= 500 && V.dairyPregSetting > 0) { - _breeders++; + breeders++; } if ((V.milkmaidImpregnates === 1) && (canPenetrate(S.Milkmaid)) && S.Milkmaid.pubertyXY === 1 && !slaveResting(S.Milkmaid)) { if (canImpreg(slave, S.Milkmaid)) { @@ -60,7 +60,7 @@ App.EndWeek.dairyReport = function() { slave.pregSource = V.MilkmaidID; slave.pregKnown = 1; slave.pregWeek = 1; - _milkmaidImpregnated++; + milkmaidImpregnated++; if (slave.mpreg === 1) { slave.counter.anal += 10; V.analTotal += 10; @@ -74,65 +74,65 @@ App.EndWeek.dairyReport = function() { } /* how much effort the MM must take to force a slave into a stall */ if (slave.devotion <= 20) { - _MMWorkout++; + MMWorkout++; } if (slave.trust < 20) { - _MMWorkout++; + MMWorkout++; } if (slave.muscles >= 30 || slave.muscles < -30) { - _MMWorkout++; + MMWorkout++; } if (slave.weight >= 70) { - _MMWorkout++; + MMWorkout++; } if (slave.weight >= 160) { - _MMWorkout++; + MMWorkout++; } if (slave.boobs >= 20000) { - _MMWorkout++; + MMWorkout++; } if (slave.balls >= 30) { - _MMWorkout++; + MMWorkout++; } if (slave.belly >= 5000) { - _MMWorkout++; + MMWorkout++; } if (!canMove(slave)) { // big bonus if they can't move themselves and are fat as cows if (slave.weight >= 70) { - _MMWorkout += 2; + MMWorkout += 2; } if (slave.weight >= 160) { - _MMWorkout += 2; + MMWorkout += 2; } if (slave.boobs >= 20000) { - _MMWorkout += 2; + MMWorkout += 2; } if (slave.balls >= 30) { - _MMWorkout += 2; + MMWorkout += 2; } if (slave.belly >= 5000) { - _MMWorkout += 2; + MMWorkout += 2; } } else if (!canWalk(slave)) { // smaller bonus if they are fat as cows and need assistance with moving if (slave.weight >= 70) { - _MMWorkout += 1; + MMWorkout += 1; } if (slave.weight >= 160) { - _MMWorkout += 1; + MMWorkout += 1; } if (slave.boobs >= 20000) { - _MMWorkout += 1; + MMWorkout += 1; } if (slave.balls >= 30) { - _MMWorkout += 1; + MMWorkout += 1; } if (slave.belly >= 5000) { - _MMWorkout += 1; + MMWorkout += 1; } } - if ((V.dairyStimulatorsSetting < 2) && (S.Milkmaid.dick > 4) && (canPenetrate(S.Milkmaid)) && _prostateStim !== 1) { + if ((V.dairyStimulatorsSetting < 2) && (S.Milkmaid.dick > 4) && (canPenetrate(S.Milkmaid)) && prostateStim !== 1) { if ((slave.balls > 0) && (slave.prostate > 0)) { - _prostateStim = 1; + prostateStim = 1; } } } @@ -165,46 +165,46 @@ App.EndWeek.dairyReport = function() { S.Milkmaid.rules.rest = "restrictive"; } if (S.Milkmaid.fetishStrength <= 95) { - if (_milkers >= _cummers && _milkers >= _breeders) { + if (milkers >= cummers && milkers >= breeders) { if (S.Milkmaid.fetish !== "boobs") { if (fetishChangeChance(S.Milkmaid) > random(0, 100)) { - _FLsFetish = 1; + FLsFetish = 1; S.Milkmaid.fetishKnown = 1; S.Milkmaid.fetish = "boobs"; } } else if (S.Milkmaid.fetishKnown === 0) { - _FLsFetish = 1; + FLsFetish = 1; S.Milkmaid.fetishKnown = 1; } else { - _FLsFetish = 2; + FLsFetish = 2; S.Milkmaid.fetishStrength += 4; } - } else if (_cummers >= _breeders) { + } else if (cummers >= breeders) { if (S.Milkmaid.fetish !== "cumslut") { if (fetishChangeChance(S.Milkmaid) > random(0, 100)) { - _FLsFetish = 3; + FLsFetish = 3; S.Milkmaid.fetishKnown = 1; S.Milkmaid.fetish = "cumslut"; } } else if (S.Milkmaid.fetishKnown === 0) { - _FLsFetish = 3; + FLsFetish = 3; S.Milkmaid.fetishKnown = 1; } else { - _FLsFetish = 4; + FLsFetish = 4; S.Milkmaid.fetishStrength += 4; } } else { if (S.Milkmaid.fetish !== "pregnancy") { if (fetishChangeChance(S.Milkmaid) > random(0, 100)) { - _FLsFetish = 5; + FLsFetish = 5; S.Milkmaid.fetishKnown = 1; S.Milkmaid.fetish = "pregnancy"; } } else if (S.Milkmaid.fetishKnown === 0) { - _FLsFetish = 5; + FLsFetish = 5; S.Milkmaid.fetishKnown = 1; } else { - _FLsFetish = 6; + FLsFetish = 6; S.Milkmaid.fetishStrength += 4; } } @@ -220,12 +220,12 @@ App.EndWeek.dairyReport = function() { V.milkmaidTrustBonus += 2; r.push(`${He} tries ${his} best to be your perfect farm${wife}.`); } - if (_milkmaidImpregnated > 0) { + if (milkmaidImpregnated > 0) { r.push(`It's ${his} responsibility to keep ${his} charges pregnant, and ${he} constantly`); - if (_milkmaidImpregnated === 1) { + if (milkmaidImpregnated === 1) { r.push(`breeds the one fertile cow.`); } else { - r.push(`fills the ${_milkmaidImpregnated} cows' cunts with ${his} cum.`); + r.push(`fills the ${milkmaidImpregnated} cows' cunts with ${his} cum.`); } if (S.Milkmaid.career === "a breeding bull") { r.push(`${He} was conditioned to fill empty wombs, so ${he} takes a <span class="hotpink">deep pleasure</span> in ${his} job.`); @@ -235,29 +235,29 @@ App.EndWeek.dairyReport = function() { S.Milkmaid.devotion += Math.ceil(S.Milkmaid.fetishStrength / 25); S.Milkmaid.fetishStrength += 2; } - const _Tmult = (_milkmaidImpregnated * 10); - S.Milkmaid.counter.penetrative += _Tmult; - V.penetrativeTotal += _Tmult; + const Tmult = (milkmaidImpregnated * 10); + S.Milkmaid.counter.penetrative += Tmult; + V.penetrativeTotal += Tmult; S.Milkmaid.need = 0; } - if (_FLsFetish === 1) { + if (FLsFetish === 1) { r.push(`In ${his} line of work, ${he} touches more breasts than even you do. ${He} lives in an atmosphere of quivering, heaving, milky breastflesh; of girls who shudder and moan when ${he} touches their creamy nipples. ${He} has <span class="lightcoral">become more of a breast ${girl}.</span>`); - } else if ((_FLsFetish === 2)) { + } else if ((FLsFetish === 2)) { r.push(`It's a hard life, pulling teats and washing cows, but it does <span class="lightsalmon">make ${him} more of a breast fetishist.</span>`); - } else if ((_FLsFetish === 3)) { + } else if ((FLsFetish === 3)) { r.push(`In ${his} line of work, ${he} touches more dicks and balls than most sluts. ${He} lives in an atmosphere of constant orgasm and ejaculation; of girls who shudder and moan when ${he} touches their engorged members. ${He} has <span class="lightcoral">become more of a cum ${girl}.</span>`); - } else if ((_FLsFetish === 4)) { + } else if ((FLsFetish === 4)) { r.push(`It's a hard life, cupping balls, cleaning dicks, and observing semen quality, but it does <span class="lightsalmon">make ${him} more of a cum fetishist.</span>`); - } else if ((_FLsFetish === 5)) { + } else if ((FLsFetish === 5)) { r.push(`In ${his} line of work, ${he} fondles more pregnancies than most clinics. ${He} lives in an atmosphere of swollen, hanging, baby-filled bellies; of girls who shudder and moan when ${he} runs ${his} hands across their bellies. ${He} has <span class="lightcoral">grown a taste for girls laden with child.</span>`); - } else if ((_FLsFetish === 6)) { + } else if ((FLsFetish === 6)) { r.push(`It's a hard life, washing bellies and inspecting pussies, but it does <span class="lightsalmon">make ${him} more of a pregnancy fetishist.</span>`); } if (S.Milkmaid.muscles > 30) { V.milkmaidHealthBonus++; r.push(`${His} muscles help ${him} handle the fattest or most reluctant cow.`); } - if ((_MMWorkout > random(1, 30 - S.Milkmaid.geneticQuirks.mLoss + S.Milkmaid.geneticQuirks.mGain)) && S.Milkmaid.muscles < 60) { + if ((MMWorkout > random(1, 30 - S.Milkmaid.geneticQuirks.mLoss + S.Milkmaid.geneticQuirks.mGain)) && S.Milkmaid.muscles < 60) { r.push(`Constantly having to wrestle unruly or aiding heavy cows into their stalls forces ${him} to <span class="lime">build muscle.</span>`); S.Milkmaid.muscles++; } @@ -284,13 +284,13 @@ App.EndWeek.dairyReport = function() { } else { S.Milkmaid.skill.milkmaid += random(1, Math.ceil((S.Milkmaid.intelligence + S.Milkmaid.intelligenceImplant) / 15) + 8); } - if (_prostateStim === 1) { + if (prostateStim === 1) { r.push(`${He} uses ${his} turgid cock to give prostate stimulation to slaves that need help ejaculating.`); S.Milkmaid.need -= 50; } V.milkmaidDevotionThreshold += (5 * V.milkmaidDevotionBonus); V.milkmaidTrustThreshold += (5 * V.milkmaidTrustBonus); - for (const slave of _slaves) { + for (const slave of slaves) { if (S.Milkmaid.rivalryTarget === slave.ID) { ({ he2, his2 @@ -353,19 +353,19 @@ App.EndWeek.dairyReport = function() { App.Events.addParagraph(el, r); } - _Tadd = (V.bioreactorsXY + V.bioreactorsXX + V.bioreactorsHerm + V.bioreactorsBarren); - if (_DL + _Tadd > 0) { + Tadd = (V.bioreactorsXY + V.bioreactorsXX + V.bioreactorsHerm + V.bioreactorsBarren); + if (DL + Tadd > 0) { r = []; - if (_DL !== 1) { - r.push(App.UI.DOM.makeElement("span", `There are ${_DL} cows in ${V.dairyName}.`, "bold")); + if (DL !== 1) { + r.push(App.UI.DOM.makeElement("span", `There are ${DL} cows in ${V.dairyName}.`, "bold")); } else { r.push(App.UI.DOM.makeElement("span", `There is one cow in ${V.dairyName}.`, "bold")); } if (V.dairyRestraintsSetting > 1) { r.push(`The facility functions as an industrial slave products factory.`); } - if (_Tadd > 0) { - r.push(`${_Tadd} milking machines have permanent biological components, making a total of ${_Tadd + _DL} milk-producing bodies.`); + if (Tadd > 0) { + r.push(`${Tadd} milking machines have permanent biological components, making a total of ${Tadd + DL} milk-producing bodies.`); } App.Events.addNode(el, r, "div"); } @@ -392,8 +392,8 @@ App.EndWeek.dairyReport = function() { } } - const _oldCash = V.cash; - for (const slave of _slaves) { + const oldCash = V.cash; + for (const slave of slaves) { ({ he, him, his, He, His, wife, girl } = getPronouns(slave)); @@ -495,27 +495,27 @@ App.EndWeek.dairyReport = function() { r.push(`is serving as a cow in ${V.dairyName}.`); } App.Events.addNode(slaveEntry, r, "div"); - _milkResults = App.SlaveAssignment.getMilked(slave); + milkResults = App.SlaveAssignment.getMilked(slave); App.Events.addNode( slaveEntry, [ He, - _milkResults.text, + milkResults.text, App.SlaveAssignment.standardSlaveReport(slave, false) ], "div", "indent" ); - console.log(_milkResults.text); + console.log(milkResults.text); } else { // discard return values silently App.SlaveAssignment.choosesOwnJob(slave); - _milkResults = App.SlaveAssignment.getMilked(slave); + milkResults = App.SlaveAssignment.getMilked(slave); App.SlaveAssignment.standardSlaveReport(slave, true); } - _milkWeek += _milkResults.milk; - _cumWeek += _milkResults.cum; + milkWeek += milkResults.milk; + cumWeek += milkResults.cum; /* Facility Specific End of Week effects */ if ((slave.devotion <= 20) && (slave.trust >= -20)) { @@ -534,21 +534,21 @@ App.EndWeek.dairyReport = function() { if (slave.inflation > 0) { deflate(slave); } - const _gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1; + const gigantomastiaMod = slave.geneticQuirks.gigantomastia === 2 ? (slave.geneticQuirks.macromastia === 2 ? 3 : 2) : 1; if ((slave.lactation > 0) && (V.dairySlimMaintain === 0 || (slave.boobs > 700))) { if (slave.boobs < 2000) { - _growth = 100; - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50; - } else if ((slave.boobs < 10000 * _gigantomastiaMod)) { - _growth = 25; + growth = 100; + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50; + } else if ((slave.boobs < 10000 * gigantomastiaMod)) { + growth = 25; } else { - _growth = 0; + growth = 0; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } if (slave.prostate === 1) { slave.prostate = 2; @@ -598,22 +598,22 @@ App.EndWeek.dairyReport = function() { if (slave.boobs < 50000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } else { /* slave.boobs = 50000;*/ } @@ -621,64 +621,64 @@ App.EndWeek.dairyReport = function() { if (slave.boobs < 25000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } else if (V.dairyFeedersSetting > 1) { if (slave.boobs < 10000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } else { if (slave.boobs < 5000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } } @@ -690,8 +690,8 @@ App.EndWeek.dairyReport = function() { slave.balls++; } if (slave.balls >= 125) { - _balltacular++; - _btSlave = slave; + balltacular++; + btSlave = slave; } } else if ((slave.balls < 10)) { if ((slave.geneMods.NCS === 0) && (random(1, 100) > (40 + (10 * slave.balls) - (10 * V.dairyRestraintsSetting) - (V.injectionUpgrade * 10)))) { @@ -700,8 +700,8 @@ App.EndWeek.dairyReport = function() { slave.balls++; } if (slave.balls >= 10) { - _balltacular++; - _btSlave = slave; + balltacular++; + btSlave = slave; } } if (slave.dick > 0) { @@ -721,7 +721,7 @@ App.EndWeek.dairyReport = function() { if (V.dairyStimulatorsSetting > 1 && slave.anus < 4) { slave.anus++; if (slave.anus >= 4) { - _anusesStretched++; + anusesStretched++; } } else if ((slave.anus < 3)) { slave.anus++; @@ -733,64 +733,64 @@ App.EndWeek.dairyReport = function() { if (slave.boobs < 50000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } else if (V.dairyFeedersSetting > 0) { if (slave.boobs < 25000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } else { if (slave.boobs < 10000) { if (V.arcologies[0].FSAssetExpansionistResearch === 1) { if (slave.boobs < 2000) { - _growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); - } else if ((slave.boobs < 5000 * _gigantomastiaMod)) { - _growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 75 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + } else if ((slave.boobs < 5000 * gigantomastiaMod)) { + growth = 50 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50) / 4)); } } else { - _growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); + growth = 25 * Math.trunc((V.injectionUpgrade * 2) + V.dairyFeedersSetting + V.dairyRestraintsSetting + ((50 - slave.physicalAge) / 4)); } - if (slave.boobs <= 20000 && slave.boobs + _growth > 20000) { - _boobtacular++; + if (slave.boobs <= 20000 && slave.boobs + growth > 20000) { + boobtacular++; } if (slave.geneMods.NCS === 1) { - _growth = Math.trunc(_growth / 2); + growth = Math.trunc(growth / 2); } - slave.boobs += _growth; + slave.boobs += growth; } } } @@ -832,10 +832,10 @@ App.EndWeek.dairyReport = function() { } } if (slave.chem > 250) { - _chemSevere++; + chemSevere++; } else if (slave.chem > 100) { - _chemMinor++; - _cmSlave = slave; + chemMinor++; + cmSlave = slave; } } if ((V.dairyStimulatorsSetting + V.dairyFeedersSetting + V.dairyPregSetting) > 5) { @@ -844,66 +844,66 @@ App.EndWeek.dairyReport = function() { if (slave.devotion > -75) { slave.devotion -= 10; if (slave.devotion < -65) { - _hateFilled++; - _hfSlave = slave; + hateFilled++; + hfSlave = slave; } } else if ((slave.trust > -75)) { slave.trust -= 10; if (slave.trust < -65) { - _horrified++; - _hrSlave = slave; + horrified++; + hrSlave = slave; } } else if ((slave.skill.vaginal > 0)) { slave.skill.vaginal -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.oral > 0)) { slave.skill.oral -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.anal > 0)) { slave.skill.anal -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.career !== "a bioreactor")) { slave.career = "a bioreactor"; - _careerForgotten++; - _cfSlave = slave; + careerForgotten++; + cfSlave = slave; } else if ((slave.intelligenceImplant > 0)) { slave.intelligenceImplant = Math.clamp(slave.intelligenceImplant - 5, 0, 30); - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.intelligence >= -15)) { slave.intelligence -= 5; - _intelligenceLost++; + intelligenceLost++; } else if ((slave.devotion >= -20)) { slave.devotion -= 10; } else if ((slave.trust >= -20)) { slave.trust -= 10; } else if ((slave.skill.whoring > 0)) { slave.skill.whoring -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.entertainment > 0)) { slave.skill.entertainment -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.intelligence >= -50)) { slave.intelligence -= 5; if (slave.intelligence < -50) { - _stupidified++; - _stSlave = slave; + stupidified++; + stSlave = slave; } } else if ((slave.fetish !== "mindbroken")) { slave.fetish = "mindbroken"; - _mindbroken++; + mindbroken++; } } } if (((slave.counter.milk > 1000) && (slave.boobs > 12000) || (slave.counter.cum > 1000) && (slave.balls >= 10)) && (slave.career !== "a bioreactor")) { slave.career = "a bioreactor"; - _careerForgotten++; - _cfSlave = slave; + careerForgotten++; + cfSlave = slave; } if ((V.arcologies[0].FSBodyPuristLaw === 0) && (V.healthyDrugsUpgrade === 0)) { slave.chem += 5; @@ -915,64 +915,64 @@ App.EndWeek.dairyReport = function() { if (slave.devotion > -75) { slave.devotion -= 5; if (slave.devotion < -70) { - _hateFilled++; - _hfSlave = slave; + hateFilled++; + hfSlave = slave; } } else if ((slave.trust > -75)) { slave.trust -= 5; if (slave.trust < -70) { - _horrified++; - _hrSlave = slave; + horrified++; + hrSlave = slave; } } else if ((slave.skill.vaginal >= 20)) { slave.skill.vaginal -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.oral >= 20)) { slave.skill.oral -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.anal >= 20)) { slave.skill.anal -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.career !== "a bioreactor")) { slave.career = "a bioreactor"; - _careerForgotten++; - _cfSlave = slave; + careerForgotten++; + cfSlave = slave; } else if ((slave.intelligenceImplant > 0)) { slave.intelligenceImplant = Math.clamp(slave.intelligenceImplant - 5, 0, 30); - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.intelligence >= -15)) { slave.intelligence -= 5; - _intelligenceLost++; + intelligenceLost++; } else if ((slave.devotion >= -20)) { slave.devotion -= 8; } else if ((slave.trust >= -20)) { slave.trust -= 8; } else if ((slave.skill.whoring >= 20)) { slave.skill.whoring -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.skill.entertainment >= 20)) { slave.skill.entertainment -= 10; - _skillsLost++; - _slSlave = slave; + skillsLost++; + slSlave = slave; } else if ((slave.intelligence >= -50)) { slave.intelligence -= 5; if (slave.intelligence < -50) { - _stupidified++; - _stSlave = slave; + stupidified++; + stSlave = slave; } } else if ((slave.fetish !== "mindbroken")) { slave.fetish = "mindbroken"; - _mindbroken++; + mindbroken++; } } else if (((slave.counter.milk > 1000) && (slave.boobs > 12000) || (slave.counter.cum > 1000) && (slave.balls >= 10)) && (slave.career !== "a bioreactor")) { slave.career = "a bioreactor"; - _careerForgotten++; - _cfSlave = slave; + careerForgotten++; + cfSlave = slave; } if (V.arcologies[0].FSBodyPuristLaw === 0 && V.healthyDrugsUpgrade === 0) { slave.chem += 2; @@ -982,11 +982,11 @@ App.EndWeek.dairyReport = function() { }/* closes (V.dairyStimulatorsSetting + V.dairyFeedersSetting + V.dairyPregSetting) > 5 */ if (V.dairyPregUpgrade === 1 && V.dairyPregSetting > 0) { if (slave.ovaries === 1 && slave.vagina > -1) { - _femCumWeek += girlCumAmount(slave); + femCumWeek += girlCumAmount(slave); if (slave.preg === -2) { slave.preg = 0; - _desterilized++; - _dsSlave = slave; + desterilized++; + dsSlave = slave; } if (isFertile(slave)) { if (slave.eggType === "human") { @@ -1017,7 +1017,7 @@ App.EndWeek.dairyReport = function() { if (V.dairyPregSetting > 1 && slave.vagina < 4) { slave.vagina++; if (slave.vagina === 4) { - _vaginasStretched++; + vaginasStretched++; } } else if ((slave.vagina < 3)) { slave.vagina++; @@ -1027,172 +1027,172 @@ App.EndWeek.dairyReport = function() { } } - if (_inflatedSlaves.milk > 0) { - _milkWeek -= ((8 * _inflatedSlaves.milk * 10) + 8); + if (inflatedSlaves.milk > 0) { + milkWeek -= ((8 * inflatedSlaves.milk * 10) + 8); } - if (_inflatedSlaves.cum > 0) { - _cumWeek -= ((80 * _inflatedSlaves.cum * 10) + 80); - if (_cumWeek < 0) { - _cumWeek = 0; + if (inflatedSlaves.cum > 0) { + cumWeek -= ((80 * inflatedSlaves.cum * 10) + 80); + if (cumWeek < 0) { + cumWeek = 0; } } - if (_Tadd > 0) { + if (Tadd > 0) { r = []; - const _tempCash = V.cash; + const tempCash = V.cash; - let _seed; - _seed = (_BF.XY.cum * V.bioreactorsXY) + (_BF.herm.cum * V.bioreactorsHerm); - _cumWeek += _seed; + let seed; + seed = (BF.XY.cum * V.bioreactorsXY) + (BF.herm.cum * V.bioreactorsHerm); + cumWeek += seed; if (V.arcologies[0].FSPastoralistLaw === 1) { - _cashX = _seed * random(40, 50); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * random(40, 50); + cashX(cashXvalue, "menialBioreactors"); } else if ((V.arcologies[0].FSPastoralist !== "unset")) { - _cashX = _seed * (random(25, 35) + Math.trunc(V.arcologies[0].FSPastoralist / 10)); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * (random(25, 35) + Math.trunc(V.arcologies[0].FSPastoralist / 10)); + cashX(cashXvalue, "menialBioreactors"); } else { - _cashX = _seed * random(25, 35); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * random(25, 35); + cashX(cashXvalue, "menialBioreactors"); } - _seed = (_BF.XX.femCum * V.bioreactorsXX) + (_BF.herm.femCum * V.bioreactorsHerm); - _femCumWeek += _seed; + seed = (BF.XX.femCum * V.bioreactorsXX) + (BF.herm.femCum * V.bioreactorsHerm); + femCumWeek += seed; if (V.arcologies[0].FSPastoralistLaw === 1) { - _cashX = _seed * random(40, 50); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * random(40, 50); + cashX(cashXvalue, "menialBioreactors"); } else if ((V.arcologies[0].FSPastoralist !== "unset")) { - _cashX = _seed * (random(25, 35) + Math.trunc(V.arcologies[0].FSPastoralist / 10)); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * (random(25, 35) + Math.trunc(V.arcologies[0].FSPastoralist / 10)); + cashX(cashXvalue, "menialBioreactors"); } else { - _cashX = _seed * random(25, 35); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * random(25, 35); + cashX(cashXvalue, "menialBioreactors"); } - _seed = (_BF.XX.milk * V.bioreactorsXX) + (_BF.barren.milk * V.bioreactorsBarren) + (_BF.XY.milk * V.bioreactorsXY) + (_BF.herm.milk * V.bioreactorsHerm); - _milkWeek += _seed; + seed = (BF.XX.milk * V.bioreactorsXX) + (BF.barren.milk * V.bioreactorsBarren) + (BF.XY.milk * V.bioreactorsXY) + (BF.herm.milk * V.bioreactorsHerm); + milkWeek += seed; if (V.arcologies[0].FSPastoralist !== "unset" && V.arcologies[0].FSPastoralistLaw === 1) { - _cashX = _seed * (13 + Math.trunc(V.arcologies[0].FSPastoralist / 30)); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * (13 + Math.trunc(V.arcologies[0].FSPastoralist / 30)); + cashX(cashXvalue, "menialBioreactors"); } else if ((V.arcologies[0].FSPastoralist !== "unset")) { - _cashX = _seed * (8 + Math.trunc(V.arcologies[0].FSPastoralist / 30)); - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * (8 + Math.trunc(V.arcologies[0].FSPastoralist / 30)); + cashX(cashXvalue, "menialBioreactors"); } else { - _cashX = _seed * 9; - cashX(_cashX, "menialBioreactors"); + cashXvalue = seed * 9; + cashX(cashXvalue, "menialBioreactors"); } - r.push(`${_Tadd} permanently converted biological`); - if (_Tadd > 1) { + r.push(`${Tadd} permanently converted biological`); + if (Tadd > 1) { r.push(`"machines" produce`); } else { r.push(`"machine" produces`); } - r.push(`<span class="yellowgreen">${cashFormat(V.cash - _tempCash)}</span> income.`); + r.push(`<span class="yellowgreen">${cashFormat(V.cash - tempCash)}</span> income.`); App.Events.addParagraph(el, r); } - if (_inflatedSlaves.milk > 0) { - _cashX -= Math.trunc(((600 * (_inflatedSlaves.milk) + 8) + random(50, 200))); - cashX(_cashX, "slaveAssignmentDairy"); + if (inflatedSlaves.milk > 0) { + cashXvalue -= Math.trunc(((600 * (inflatedSlaves.milk) + 8) + random(50, 200))); + cashX(cashXvalue, "slaveAssignmentDairy"); } - if (_inflatedSlaves.cum > 0) { - _cashX -= Math.trunc(((300 * (_inflatedSlaves.cum + 8)) + random(25, 100))); - cashX(_cashX, "slaveAssignmentDairy"); + if (inflatedSlaves.cum > 0) { + cashXvalue -= Math.trunc(((300 * (inflatedSlaves.cum + 8)) + random(25, 100))); + cashX(cashXvalue, "slaveAssignmentDairy"); } - _profits = V.cash - _oldCash; + profits = V.cash - oldCash; r = []; - if (_chemSevere > 1) { - r.push(`${_chemSevere} cows' productivity is being reduced by the long term effects of industrial use.`); - } else if (_chemSevere > 0) { + if (chemSevere > 1) { + r.push(`${chemSevere} cows' productivity is being reduced by the long term effects of industrial use.`); + } else if (chemSevere > 0) { r.push(`One cow's productivity is being reduced by the long term effects of industrial use.`); } - if (_chemMinor > 1) { - r.push(`${_chemMinor} cows have been drugged and used long enough that they require increased curative doses, slightly reducing their output.`); - } else if (_chemMinor > 0) { + if (chemMinor > 1) { + r.push(`${chemMinor} cows have been drugged and used long enough that they require increased curative doses, slightly reducing their output.`); + } else if (chemMinor > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_cmSlave)); + } = getPronouns(cmSlave)); r.push(`One cow has been drugged and used long enough that ${he} requires increased curative doses, slightly reducing ${his} output.`); } - if (_desterilized > 1) { - r.push(`${_desterilized} cows had minor health issues preventing their fertile womb from conceiving; the issues have been resolved and they have been impregnated.`); - } else if (_desterilized > 0) { + if (desterilized > 1) { + r.push(`${desterilized} cows had minor health issues preventing their fertile womb from conceiving; the issues have been resolved and they have been impregnated.`); + } else if (desterilized > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_dsSlave)); + } = getPronouns(dsSlave)); r.push(`One cow had minor health issues preventing ${his} fertile womb from conceiving; they have been resolved and ${he} has been impregnated.`); } - if (_hateFilled > 1) { - r.push(`${_hateFilled} cows stopped struggling so much when fucked by the machines; it seems they have sunk into a fugue.`); - } else if (_hateFilled > 0) { + if (hateFilled > 1) { + r.push(`${hateFilled} cows stopped struggling so much when fucked by the machines; it seems they have sunk into a fugue.`); + } else if (hateFilled > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_hfSlave)); + } = getPronouns(hfSlave)); r.push(`One cow stopped struggling so much when fucked by the machines; it seems ${he} has sunk into a fugue.`); } - if (_horrified > 1) { - r.push(`${_horrified} cows' emotional activity dropped significantly; this indicates acceptance that they are not likely to leave ${V.dairyName}, ever again.`); - } else if (_horrified > 0) { + if (horrified > 1) { + r.push(`${horrified} cows' emotional activity dropped significantly; this indicates acceptance that they are not likely to leave ${V.dairyName}, ever again.`); + } else if (horrified > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_hrSlave)); + } = getPronouns(hrSlave)); r.push(`One cow's emotional activity dropped significantly; this indicates acceptance that ${he} is not likely to leave ${V.dairyName}, ever again.`); } - if (_skillsLost > 1) { - r.push(`${_skillsLost} cows forgot skills due to their inability to focus on anything but machine rape.`); - } else if (_skillsLost > 0) { + if (skillsLost > 1) { + r.push(`${skillsLost} cows forgot skills due to their inability to focus on anything but machine rape.`); + } else if (skillsLost > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_slSlave)); + } = getPronouns(slSlave)); r.push(`One cow forgot skills due to ${his} inability to focus on anything but machine rape.`); } - if (_careerForgotten > 1) { - r.push(`${_careerForgotten} cows forgot the details of their past professional lives; all they can remember now is this.`); - } else if (_careerForgotten > 0) { + if (careerForgotten > 1) { + r.push(`${careerForgotten} cows forgot the details of their past professional lives; all they can remember now is this.`); + } else if (careerForgotten > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_cfSlave)); + } = getPronouns(cfSlave)); r.push(`One cow forgot the details of ${his} past professional life; all ${he} can remember now is this.`); } - if (_vaginasStretched > 1) { - r.push(`${_vaginasStretched} cows' vaginas were broken in for machine use, and are unlikely to be any use for anything other than receiving cum and medication, and giving birth.`); - } else if (_vaginasStretched > 0) { + if (vaginasStretched > 1) { + r.push(`${vaginasStretched} cows' vaginas were broken in for machine use, and are unlikely to be any use for anything other than receiving cum and medication, and giving birth.`); + } else if (vaginasStretched > 0) { r.push(`One cow's vagina was broken in for machine use, and is unlikely to be any use for anything other than receiving cum and medication, and giving birth.`); } - if (_anusesStretched > 1) { - r.push(`${_anusesStretched} cows' anuses were loosened by machine sodomy, and are now permanently gaped.`); - } else if (_anusesStretched > 0) { + if (anusesStretched > 1) { + r.push(`${anusesStretched} cows' anuses were loosened by machine sodomy, and are now permanently gaped.`); + } else if (anusesStretched > 0) { r.push(`One cow's anus was loosened by machine sodomy, and is now permanently gaped.`); } - if (_intelligenceLost > 1) { - r.push(`${_intelligenceLost} cows suffered some loss of intelligence due to accumulated mental stress from life attached to a milking machine.`); - } else if (_intelligenceLost > 0) { + if (intelligenceLost > 1) { + r.push(`${intelligenceLost} cows suffered some loss of intelligence due to accumulated mental stress from life attached to a milking machine.`); + } else if (intelligenceLost > 0) { r.push(`One cow suffered some loss of intelligence due to accumulated mental stress from life attached to a milking machine.`); } - if (_stupidified > 1) { - r.push(`${_stupidified} cows were so mentally dulled by use as biological factories that they were reduced to a very low level of intelligence.`); - } else if (_stupidified > 0) { + if (stupidified > 1) { + r.push(`${stupidified} cows were so mentally dulled by use as biological factories that they were reduced to a very low level of intelligence.`); + } else if (stupidified > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_stSlave)); + } = getPronouns(stSlave)); r.push(`One cow was so mentally dulled by use as biological factories that ${he} was reduced to a very low level of intelligence.`); } - if (_mindbroken > 1) { - r.push(`${_mindbroken} cows finally lost higher mental function, and are now nothing more than industrial equipment made of meat.`); - } else if (_mindbroken > 0) { + if (mindbroken > 1) { + r.push(`${mindbroken} cows finally lost higher mental function, and are now nothing more than industrial equipment made of meat.`); + } else if (mindbroken > 0) { r.push(`One cow finally lost higher mental function, and is now nothing more than industrial equipment made of meat.`); } - if (_boobtacular > 1) { - r.push(`${_boobtacular} cows grew past 30 kilograms of breasts, a remarkable advance in capacity.`); - } else if (_boobtacular > 0) { + if (boobtacular > 1) { + r.push(`${boobtacular} cows grew past 30 kilograms of breasts, a remarkable advance in capacity.`); + } else if (boobtacular > 0) { r.push(`One cow grew past 30 kilograms of breasts, a remarkable advance in capacity.`); } - if (_balltacular > 1) { - r.push(`${_balltacular} cows' testicles reached the largest size drug treatments can produce; the machines will now focus on buttfucking them with extra force.`); - } else if (_balltacular > 0) { + if (balltacular > 1) { + r.push(`${balltacular} cows' testicles reached the largest size drug treatments can produce; the machines will now focus on buttfucking them with extra force.`); + } else if (balltacular > 0) { ({ he, him, his, He, His, wife, girl - } = getPronouns(_btSlave)); + } = getPronouns(btSlave)); r.push(`One cow's testicles reached the largest size drug treatments can produce; the machines will now focus on buttfucking ${him} with extra force.`); } @@ -1203,51 +1203,51 @@ App.EndWeek.dairyReport = function() { r.push(`Fertile cows make you a small profit through contract pregnancies.`); } } - _cumWeek = Math.trunc(_cumWeek / 10); - V.cumPipeline = _cumWeek; - V.milkPipeline = _milkWeek; - if (_inflatedSlaves.milk > 0) { - _outputMilk = ((8 * _inflatedSlaves.milk * 10) + 8); + cumWeek = Math.trunc(cumWeek / 10); + V.cumPipeline = cumWeek; + V.milkPipeline = milkWeek; + if (inflatedSlaves.milk > 0) { + outputMilk = ((8 * inflatedSlaves.milk * 10) + 8); } else { - _outputMilk = 0; + outputMilk = 0; } - if (_inflatedSlaves.cum > 0) { - _outputCum = (((80 * _inflatedSlaves.cum * 10) + 80) / 10); + if (inflatedSlaves.cum > 0) { + outputCum = (((80 * inflatedSlaves.cum * 10) + 80) / 10); } else { - _outputCum = 0; + outputCum = 0; } - r.push(`${_dairyNameCaps} produced ${commaNum(_milkWeek + _outputMilk)} liters of milk`); - if (_cumWeek > 0) { - r.push(`and ${commaNum(_cumWeek + _outputCum)} liters of cum`); + r.push(`${dairyNameCaps} produced ${commaNum(milkWeek + outputMilk)} liters of milk`); + if (cumWeek > 0) { + r.push(`and ${commaNum(cumWeek + outputCum)} liters of cum`); } r.push(`this week.`); - if (_inflatedSlaves.milk > 0) { - r.push(`${commaNum(_outputMilk)} liters of milk were pumped into your penthouse for filling slaves this week.`); + if (inflatedSlaves.milk > 0) { + r.push(`${commaNum(outputMilk)} liters of milk were pumped into your penthouse for filling slaves this week.`); } - if (_inflatedSlaves.cum > 0) { - if (_inflatedSlaves.milk > 0) { + if (inflatedSlaves.cum > 0) { + if (inflatedSlaves.milk > 0) { r.push(`and`); } - r.push(`${commaNum(_outputCum)} liters of cum were pumped into your penthouse`); - if (_inflatedSlaves.milk > 0) { + r.push(`${commaNum(outputCum)} liters of cum were pumped into your penthouse`); + if (inflatedSlaves.milk > 0) { r.push(`as well.`); } else { r.push(`this week.`); } } - if (_femCumWeek > 0) { - r.push(`The machines also managed to reclaim ${commaNum(_femCumWeek)} liters of salable vaginal secretions.`); + if (femCumWeek > 0) { + r.push(`The machines also managed to reclaim ${commaNum(femCumWeek)} liters of salable vaginal secretions.`); } - if (_births > 1) { - r.push(`Additionally, ${_birthers} cows gave birth`); - if (_births > _birthers) { - r.push(`to a total of ${_births} calves`); + if (births > 1) { + r.push(`Additionally, ${birthers} cows gave birth`); + if (births > birthers) { + r.push(`to a total of ${births} calves`); } r.push(`this week.`); - } else if (_births > 0) { + } else if (births > 0) { r.push(`Additionally, one cow gave birth`); - if (_births > _birthers) { - r.push(`to a total of${_births} calves`); + if (births > birthers) { + r.push(`to a total of${births} calves`); } r.push(`this week.`); } @@ -1283,16 +1283,16 @@ App.EndWeek.dairyReport = function() { b.totalIncome = b.whoreIncome; b.totalExpenses = b.whoreCosts + b.maintenance; b.profit = b.totalIncome - b.totalExpenses; - if (_profits > 0) { - r.push(`The sale of these products makes a profit of <span class="yellowgreen">${cashFormat(_profits)}.</span>`); - } else if ((_profits < 0)) { + if (profits > 0) { + r.push(`The sale of these products makes a profit of <span class="yellowgreen">${cashFormat(profits)}.</span>`); + } else if ((profits < 0)) { r.push(`Due to`); if (V.dairyImplantsSetting !== 3) { r.push(`one-off costs of hormonal implants to encourage fluid production,`); } else { r.push(`the need to induce lactation in some cows,`); } - r.push(`your dairy made a loss of <span class="red">${cashFormat(_profits)}.</span>`); + r.push(`your dairy made a loss of <span class="red">${cashFormat(profits)}.</span>`); } else { r.push(`Due to`); if (V.dairyImplantsSetting !== 3) { @@ -1325,28 +1325,28 @@ App.EndWeek.dairyReport = function() { if (V.createBioreactors === 1 && V.bioreactorPerfectedID !== 0) { const bioreactor = getSlave(V.bioreactorPerfectedID); if (bioreactor) { - let _gender; + let gender; if (bioreactor.ovaries === 1) { if (bioreactor.balls === 0) { V.bioreactorsXX++; - _gender = "XX"; + gender = "XX"; } else { V.bioreactorsHerm++; - _gender = "herm"; + gender = "herm"; } } else { if (bioreactor.balls === 0) { V.bioreactorsBarren++; - _gender = "barren"; + gender = "barren"; } else { V.bioreactorsXY++; - _gender = "XY"; + gender = "XY"; } } ({ he, him, his, He, His, wife, girl } = getPronouns(bioreactor)); - const _ageInWeeks = 52 * (V.retirementAge - bioreactor.physicalAge); + const ageInWeeks = 52 * (V.retirementAge - bioreactor.physicalAge); r = []; r.push(`${SlaveFullName(bioreactor)}'s breasts,`); if (bioreactor.balls > 0) { @@ -1357,11 +1357,11 @@ App.EndWeek.dairyReport = function() { } r.push(`body, and mind have been completely adapted to synthesize useful products. ${He} has been reclassified as part of the machine ${he}'s now permanently attached to. This combination is projected to produce approximately`); if (bioreactor.balls > 0) { - r.push(commaNum(1000 * Math.trunc((_BF[_gender].cum * _ageInWeeks) / 1000))); + r.push(commaNum(1000 * Math.trunc((BF[gender].cum * ageInWeeks) / 1000))); r.push(`liters of cum,`); } if (bioreactor.ovaries === 1) { - r.push(commaNum(100 * Math.trunc((_BF[_gender].femCum * _ageInWeeks) / 100))); + r.push(commaNum(100 * Math.trunc((BF[gender].femCum * ageInWeeks) / 100))); r.push(`liters of vaginal secretions,`); if (V.dairyPregSetting === 3) { r.push((13 * (V.retirementAge - bioreactor.physicalAge)).toString()); @@ -1371,7 +1371,7 @@ App.EndWeek.dairyReport = function() { r.push(`slaves,`); } r.push(`and`); - r.push(commaNum(1000 * Math.trunc((_BF[_gender].milk * _ageInWeeks) / 1000))); + r.push(commaNum(1000 * Math.trunc((BF[gender].milk * ageInWeeks) / 1000))); r.push(`liters of milk over a ${V.retirementAge - bioreactor.physicalAge} year period before its biological components must be replaced.`); App.Events.addParagraph(el, r); removeSlave(bioreactor); @@ -1380,12 +1380,12 @@ App.EndWeek.dairyReport = function() { if (V.dairyDecoration !== "standard") { r = []; - r.push(`${_dairyNameCaps}'s`); + r.push(`${dairyNameCaps}'s`); r.push(App.UI.DOM.makeElement("span", `${V.dairyDecoration} style is well known.`, "green")); App.Events.addParagraph(el, r); } - if (_DL > 0) { + if (DL > 0) { // Dairy stats el.append(App.Facilities.Dairy.Stats(false)); dairyStats.append(App.Facilities.Dairy.Stats(true));