From 6a0025eb1bc6db281fc490172946af95377ffc22 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Sat, 31 Oct 2020 12:58:43 -0700 Subject: [PATCH] misc --- src/endWeek/brothelReport.js | 2 +- src/endWeek/economics/personalNotes.js | 6 +++--- src/endWeek/economics/reputation.js | 8 ++++---- src/js/sexActsJS.js | 2 +- src/js/storyJS.js | 2 +- src/npc/generate/generateGenetics.js | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/endWeek/brothelReport.js b/src/endWeek/brothelReport.js index 284c94426d2..cfe0b2bb3d8 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 b14c662e194..0618688c401 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 49a05a566a6..c7c614a887c 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 d2f3bc093ce..b0b2ba35957 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 fa0f4c1fe06..824539a773b 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 62a55106612..e8454fa3742 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 -- GitLab