diff --git a/src/endWeek/brothelReport.js b/src/endWeek/brothelReport.js index 284c94426d26baa0d3350344f23fd2330e6d6de2..cfe0b2bb3d81490e36b9889a4f2b48ef78173709 100644 --- a/src/endWeek/brothelReport.js +++ b/src/endWeek/brothelReport.js @@ -1,6 +1,6 @@ globalThis.brothelReport = function() { const el = document.createElement("p"); - let His, He, he, him, his, himself, wife; + let His, He, he, him, his, himself, wife; let r; const brothelStats = document.createElement("span"); diff --git a/src/endWeek/economics/personalNotes.js b/src/endWeek/economics/personalNotes.js index b14c662e194f287f47bdf8a12b57737909319032..0618688c401df95e1ac7c7032b285846399db795 100644 --- a/src/endWeek/economics/personalNotes.js +++ b/src/endWeek/economics/personalNotes.js @@ -211,7 +211,7 @@ App.EndWeek.personalNotes = function() { } } else if (V.PC.boobs >= 800) { if (random(1, 100) > 75) { - r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child`:`children`}.`); + r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child` : `children`}.`); V.PC.boobs += 25; if (V.PC.boobs >= 1000) { r.push(`You popped your bra when you put it on; <span class="lime">time to order some F-cups.</span>`); @@ -219,7 +219,7 @@ App.EndWeek.personalNotes = function() { } } else if (V.PC.boobs >= 650) { if (random(1, 100) > 80) { - r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child`:`children`}.`); + r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child` : `children`}.`); V.PC.boobs += 25; if (V.PC.boobs >= 800) { r.push(`Their prominence, and a quick measuring, reveals <span class="lime">you now sport DDs.</span>`); @@ -227,7 +227,7 @@ App.EndWeek.personalNotes = function() { } } else if (V.PC.boobs >= 500) { if (random(1, 100) > 80) { - r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child`:`children`}.`); + r.push(`Your breasts have <span class="lime">grown a bit larger</span> to feed your coming ${(V.PC.pregType === 1) ? `child` : `children`}.`); V.PC.boobs += 25; if (V.PC.boobs >= 650) { r.push(`They're big, sensitive, <span class="lime">and now a D-cup.</span>`); diff --git a/src/endWeek/economics/reputation.js b/src/endWeek/economics/reputation.js index 49a05a566a65c6ed2a0f16ce8432ef85193a9642..c7c614a887cce4e82f93e8b2fac989fa7cb60a22 100644 --- a/src/endWeek/economics/reputation.js +++ b/src/endWeek/economics/reputation.js @@ -899,13 +899,13 @@ App.EndWeek.reputation = function() { if (V.rep > 20000) { r.push(`Your reputation is capped.`); - } else if (V.rep-V.enduringRep > 7500) { + } else if (V.rep - V.enduringRep > 7500) { r.push(`Your base rate of reputation decay is very high.`); - } else if (V.rep-V.enduringRep > 5000) { + } else if (V.rep - V.enduringRep > 5000) { r.push(`Your base rate of reputation decay is high.`); - } else if (V.rep-V.enduringRep > 2500) { + } else if (V.rep - V.enduringRep > 2500) { r.push(`Your base rate of reputation decay is moderate.`); - } else if (V.rep-V.enduringRep > 0) { + } else if (V.rep - V.enduringRep > 0) { r.push(`Your base rate of reputation decay is low.`); } if (V.enduringRep >= 10000) { diff --git a/src/js/sexActsJS.js b/src/js/sexActsJS.js index d2f3bc093ceb79ba0ced6d707df837e4c486f860..b0b2ba35957b642d2450482f83ab0c80b98a5358 100644 --- a/src/js/sexActsJS.js +++ b/src/js/sexActsJS.js @@ -484,7 +484,7 @@ globalThis.actX = function(slave, act, count = 1) { * @param {string} act1 oral, anal, etc * @param {FC.HumanState | "public" | "slaves"} slave2 slave or PC or "public" * @param {string} act2 oral, anal, etc - * @param {number} count + * @param {number} [count=1] */ globalThis.seX = function(slave1, act1, slave2, act2, count = 1) { // Slave 1 does their normal thing diff --git a/src/js/storyJS.js b/src/js/storyJS.js index fa0f4c1fe063e65bf9f88a8ec3ef1557bcb1966b..824539a773b48fa24fde7b56586ec8d5ec53485a 100644 --- a/src/js/storyJS.js +++ b/src/js/storyJS.js @@ -141,7 +141,7 @@ globalThis.canFemImpreg = function(slave1, slave2) { }; /** - * @param {App.Entity.SlaveState| App.Entity.PlayerState} slave + * @param {App.Entity.SlaveState | App.Entity.PlayerState} slave * @returns {number} */ globalThis.milkAmount = function(slave) { diff --git a/src/npc/generate/generateGenetics.js b/src/npc/generate/generateGenetics.js index 62a5510661294e33ba84fe35a11508c3bd781875..e8454fa374204938fcc005cd70674707a6063407 100644 --- a/src/npc/generate/generateGenetics.js +++ b/src/npc/generate/generateGenetics.js @@ -21,6 +21,7 @@ globalThis.generateGenetics = (function() { * @returns {FC.FetusGenetics} */ function generateGenetics(actor1, actor2, name) { + /** @type {FC.FetusGenetics} */ const genes = { gender: /** @type {FC.GenderGenes} */ ("XX"), name: "blank", @@ -1192,7 +1193,6 @@ globalThis.generateGenetics = (function() { })(); - /** * Creates a new child object based on its mother and father and whether or not it is destined for the Incubator * @param {App.Entity.SlaveState} mother The slave object carrying the child source