diff --git a/src/descriptions/officeDescription.js b/src/descriptions/officeDescription.js index 8382fe23fe45a2f5cdf1863bc77bc3a33a4b55de..1ac5361673c2c037da9944e1ac77d0e49c2100d3 100644 --- a/src/descriptions/officeDescription.js +++ b/src/descriptions/officeDescription.js @@ -42,7 +42,7 @@ App.Desc.officeDescription = function(lastElement) { } else { r.push(`tiny little erection`); } - r.push(r.pop() + "."); + r.push(r.pop() + "."); } else if (random(1, 3) === 1 && modeledSlave.skill.vaginal >= 100) { if (modeledSlave.vagina > 3) { r.push(`massive vagina`); @@ -86,11 +86,11 @@ App.Desc.officeDescription = function(lastElement) { if (random(1, 4) === 1 && modeledSlave.skill.penetrative >= 100 && canAchieveErection(modeledSlave) && penetrativeSocialUse(modeledSlave) > 70) { r.push(`thrusting ${his} hips and showing off ${his}`); if (modeledSlave.dick < 10) { - r.push(["former","tiny","little","","big","huge","gigantic","massive","truly imposing","monstrous","inhuman"][modeledSlave.dick]); + r.push(["former", "tiny", "little", "", "big", "huge", "gigantic", "massive", "truly imposing", "monstrous", "inhuman"][modeledSlave.dick]); } else { - r.push(`hypertrophied`) + r.push(`hypertrophied`); } - r.push(`erection.`) + r.push(`erection.`); } else if (random(1, 3) === 1 && modeledSlave.skill.vaginal >= 100) { r.push(`lying nude on ${his} back, spreading ${his} legs to`); if (modeledSlave.vagina > 3) { diff --git a/src/endWeek/saServeThePublic.js b/src/endWeek/saServeThePublic.js index 36588d64c7a339c5de8102a7dcf520e2d0e17b3b..3737524d8de6c5fb1208dfb83382d889d6d57d20 100644 --- a/src/endWeek/saServeThePublic.js +++ b/src/endWeek/saServeThePublic.js @@ -1327,7 +1327,7 @@ App.SlaveAssignment.serveThePublic = function saServeThePublic(slave) { } } if (penetrativeSocialUse(slave) >= 20) { - penetrativeUse += Math.random(0, V.penetrativeUseWeight + (slave.skill.penetrative / 30)); + penetrativeUse += random(0, V.penetrativeUseWeight + (slave.skill.penetrative / 30)); } const demand = (oralUse + analUse + vaginalUse + mammaryUse + penetrativeUse); diff --git a/src/endWeek/saWhore.js b/src/endWeek/saWhore.js index 48066543f149cf2a2dff39df484c01fc4845bc6b..8ce950c1ea212792e4afb3e983b075443cefbc63 100644 --- a/src/endWeek/saWhore.js +++ b/src/endWeek/saWhore.js @@ -1421,7 +1421,7 @@ App.SlaveAssignment.whore = function(slave) { } } if (penetrativeSocialUse(slave) >= 20) { - penetrativeUse += Math.random(0, V.penetrativeUseWeight + (slave.skill.penetrative / 30)); + penetrativeUse += random(0, V.penetrativeUseWeight + (slave.skill.penetrative / 30)); } const demand = (oralUse + analUse + vaginalUse + mammaryUse + penetrativeUse); diff --git a/src/js/extendedFamilyModeJS.js b/src/js/extendedFamilyModeJS.js index 921f22346a14be29a4bebf4f66d9eea869ddc6ac..5fa816c8111cbe4e318a49a496b499f8df184704 100644 --- a/src/js/extendedFamilyModeJS.js +++ b/src/js/extendedFamilyModeJS.js @@ -103,7 +103,7 @@ globalThis.isGrandparentP = function(granddaughter, grandparent) { if (!V.showDistantRelatives) { return false; } - + return isGrandmotherP(granddaughter, grandparent) || isGrandfatherP(granddaughter, grandparent); }; diff --git a/src/js/utilsSlave.js b/src/js/utilsSlave.js index d07db6c78662aedc92cf23be5e13b549349902e8..23275ec9d6bdd6de7fed27d6181d3ee8ffa66ab4 100644 --- a/src/js/utilsSlave.js +++ b/src/js/utilsSlave.js @@ -3252,7 +3252,7 @@ globalThis.adjustedPenSkill = function(slave, specific = false) { } } return Math.clamp(skill, 0, 100); -} +}; /** * Generates a new slave ID that is guaranteed to be unused diff --git a/src/npc/generate/lawCompliance.js b/src/npc/generate/lawCompliance.js index 1701edb3182a6d17a3cb1d8e2e4b89b3f790b0f4..9a6d1f1538cceeffe00ae98a86f7bba4536a32ff 100644 --- a/src/npc/generate/lawCompliance.js +++ b/src/npc/generate/lawCompliance.js @@ -782,7 +782,7 @@ App.Desc.lawCompliance = function(slave, market = 0) { function eugenicsSMRsCount() { const r = []; - const sterilizationReasons = [] + const sterilizationReasons = []; r.push(`As soon as ${he} arrived in the slave market, ${he} was subjected to a battery of testing:`); if (V.policies.SMR.eugenics.intelligenceSMR === 1) { r.push(`an intelligence test,`); diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index 82db30eb3d581ac85531a558716029838d9d8fb4..e910ab8f3b2118fd70bedc9b8c33dc5e442bea3d 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -2025,9 +2025,9 @@ App.StartingGirls.skills = function(slave, cheat = false) { App.StartingGirls.addSet( options.addOption("Penetrative sex", "penetrative", slave.skill), App.Data.StartingGirls.skill); - if (penetrativeSocialUse() < 20) { - options.addComment("Penetrative skills are usually not considered valuable."); - } + if (penetrativeSocialUse() < 20) { + options.addComment("Penetrative skills are usually not considered valuable."); + } App.StartingGirls.addSet( options.addOption("Prostitution", "whoring", slave.skill), @@ -2041,8 +2041,8 @@ App.StartingGirls.skills = function(slave, cheat = false) { App.Data.StartingGirls.skill); // skill warning - const totalSkill = slave.skill.whoring + slave.skill.entertainment + slave.skill.vaginal - + slave.skill.penetrative + slave.skill.anal + slave.skill.oral + slave.skill.combat; + const totalSkill = slave.skill.whoring + slave.skill.entertainment + slave.skill.vaginal + + slave.skill.penetrative + slave.skill.anal + slave.skill.oral + slave.skill.combat; if (totalSkill > 200 && !cheat) { let comment = ["Starting slaves incur"];