diff --git a/src/endWeek/reports/personalAttention.js b/src/endWeek/reports/personalAttention.js index 09e18f9ed1e86adbc6bfc9edc7aec4fc145718a4..6b19c8e728e50b4fb319da522d6c0ae6cf978608 100644 --- a/src/endWeek/reports/personalAttention.js +++ b/src/endWeek/reports/personalAttention.js @@ -135,7 +135,7 @@ globalThis.personalAttention = (function() { r.push(`covers ${his} face,`); } if (hasAnyArms(slave)) { - r.push(`forces ${his} ${(hasBothArms(slave))?`arms`:`arm`} behind ${his} back,`); + r.push(`forces ${his} ${(hasBothArms(slave)) ? `arms` : `arm`} behind ${his} back,`); } if (slave.vagina <= 0 && slave.anus <= 0) { r.push(`and`); @@ -144,7 +144,7 @@ globalThis.personalAttention = (function() { if (slave.vagina > 0 || slave.anus > 0) { r.push(`uncomfortably, and forces a painfully large dildo up ${his}`); if (slave.vagina > 0) { - r.push(`vagina${(slave.anus > 0)?` and anus`:``}.`); + r.push(`vagina${(slave.anus > 0) ? ` and anus` : ``}.`); } else if (slave.anus > 0) { r.push(`anus.`); } diff --git a/src/endWeek/saDiet.js b/src/endWeek/saDiet.js index 902db03843792845b1641da64f5c46241c2b0cf3..f136d6252c3ad3cc33b6ffd17325882c8fe74434 100644 --- a/src/endWeek/saDiet.js +++ b/src/endWeek/saDiet.js @@ -145,7 +145,7 @@ App.SlaveAssignment.diet = (function() { slave.devotion -= 3; } } - } else { + } else { r.push(`${He}`); if (slave.fetishKnown === 0) { r.push(`clearly <span class="fetish gain">obviously likes cum,</span>`); @@ -250,7 +250,7 @@ App.SlaveAssignment.diet = (function() { } } if (slave.hormoneBalance > 30) { // 'Expected' butt size based on weight for feminine-bodied slaves, scaled up by 1000 - growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9+slave.hormoneBalance / 600) * (rearQuirk / 2 + 1)); + growthGoal = Math.trunc((slave.weight + 100) * 25 * (0.9 + slave.hormoneBalance / 600) * (rearQuirk / 2 + 1)); roll = 40000; target = Math.trunc(Math.clamp(weightLoss * 1000 + (buttSize * 1000 - growthGoal) * 2, 0, 36000)); } else { // For masculine- and childish-bodied slaves, likewise scaled up @@ -547,7 +547,7 @@ App.SlaveAssignment.diet = (function() { weightShift = V.feeder + 1; r.push(`By carefully adjusting ${his} intake, ${he} slowly puts on weight without realizing it.`); } else if (slave.weight > 10) { - weightShift = -(V.feeder+1); + weightShift = -(V.feeder + 1); r.push(`By carefully adjusting ${his} intake, ${he} slowly loses on weight without realizing it.`); } if (slave.weightDirection === -1) { @@ -586,7 +586,7 @@ App.SlaveAssignment.diet = (function() { target = Math.trunc(Math.clamp(weightShift * 1000 + (buttSize * 1000 - growthGoal) * 4, 0, 72000)); } if (random(1, roll) <= target && buttSize > 0) { - if (slave.geneMods.NCS === 1 && buttSize > 2) { + if (slave.geneMods.NCS === 1 && buttSize > 2) { // TODO: WRITE BRANCH r.push(`<span class="change negative">${His} butt gets a little smaller.</span>`); slave.butt -= 1; } else { @@ -1425,7 +1425,7 @@ App.SlaveAssignment.diet = (function() { } else { // For masculine and childish-bodied slaves, likewise scaled up growthGoal = Math.trunc((slave.weight + 100) * 12.5) * (rearQuirk / 2 + 1); roll = 80000; - target = Math.trunc(Math.clamp(weightGain * 1000 - (buttSize * 1000 - growthGoal)*4, 0, 72000)); + target = Math.trunc(Math.clamp(weightGain * 1000 - (buttSize * 1000 - growthGoal) * 4, 0, 72000)); } if (slave.geneMods.NCS === 1) { roll *= 2; diff --git a/src/js/utilsFC.js b/src/js/utilsFC.js index 194210cc9baf07437d2c5f4cb55696d78e37b146..a079d13f5957c0dbce9b467ab3ddb28bd9f25708 100644 --- a/src/js/utilsFC.js +++ b/src/js/utilsFC.js @@ -600,7 +600,7 @@ globalThis.Height = (function() { * Helper method - apply age and genes to the adult height * @param {number} height * @param {number} age - * @param {string} genes + * @param {string} [genes] * @returns {number} */ const applyAge = function(height, age, genes) { @@ -719,7 +719,7 @@ globalThis.Height = (function() { /** * @param {number} height * @param {number|{physicalAge:number, birthWeek:number, genes:string}} age - * @param {string} genes + * @param {string} [genes] * @returns {number} */ const _forAge = function(height, age, genes) {