diff --git a/src/endWeek/saRelationships.js b/src/endWeek/saRelationships.js index b470976241be7c412c0e9e48b513318cae0fd459..13ebd05336e18a585152fe3c154c2f10fee81fac 100644 --- a/src/endWeek/saRelationships.js +++ b/src/endWeek/saRelationships.js @@ -877,6 +877,7 @@ App.SlaveAssignment.relationships = (function() { if (areRelated(slave, relative)) { const relationType = relativeTerm(slave, relative); const repType = relative.ID === -1 ? "PCRelationships" : "SlaveRelationships"; + const whose = relative.ID === -1 ? "your" : "their"; if (slave.fetish !== "mindbroken") { if (relative.ID === -1) { @@ -949,7 +950,7 @@ App.SlaveAssignment.relationships = (function() { } } if (V.arcologies[0].FSEgyptianRevivalist !== "unset") { - r.push(`Society <span class="reputation inc">strongly approves</span> of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest.`); + r.push(`Society <span class="reputation inc">strongly approves</span> of ${whose} incestuous relationship, which advances the Egyptian revivalist ideal of slave incest.`); repX((2 * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel)), repType, slave); V.arcologies[0].FSEgyptianRevivalist += (0.1 * V.FSSingleSlaveRep); if (slave.bellyPreg >= 1500 && slave.pregSource === relative.ID) { @@ -958,7 +959,7 @@ App.SlaveAssignment.relationships = (function() { V.arcologies[0].FSEgyptianRevivalist += (0.05 * V.FSSingleSlaveRep * App.EndWeek.saVars.pornFameBonus); } } else if (V.arcologies[0].FSEgyptianRevivalistIncestPolicy === 1) { - r.push(`Society <span class="reputation inc">enjoys</span> your incestuous relationship since incest is currently trendy.`); + r.push(`Society <span class="reputation inc">enjoys</span> ${whose} incestuous relationship since incest is currently trendy.`); repX((1.5 * V.FSSingleSlaveRep), repType, slave); if (slave.bellyPreg >= 1500 && slave.pregSource === relative.ID) { r.push(`<span class="reputation inc">The effect is enhanced</span> by ${slave.slaveName}'s pureblooded pregnancy.`); diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js index 9576db5afa979e6973855d79ede9d1739edce19d..f6a9abd490498eabc960372571b19a4c0fc837ef 100644 --- a/src/js/eventSelectionJS.js +++ b/src/js/eventSelectionJS.js @@ -618,7 +618,7 @@ globalThis.generateRandomEventPoolStandard = function(eventSlave) { if (eventSlave.trust > 20) { if (eventSlave.rules.speech !== "restrictive") { if (eventSlave.choosesOwnClothes !== 1) { - if (getExposure(slave) === 0) { + if (getExposure(eventSlave) === 0) { V.RESSevent.push("modest clothes"); } } diff --git a/src/js/statsChecker/statsChecker.js b/src/js/statsChecker/statsChecker.js index 250bb2698a02ed44ccd00d7030af1c048018971a..d014fb2dbe227b8135604bbc4ef58fbe75cd13bf 100644 --- a/src/js/statsChecker/statsChecker.js +++ b/src/js/statsChecker/statsChecker.js @@ -914,7 +914,7 @@ globalThis.isHindered = function(slave) { return true; } else if (slave.weight >= 130 || (slave.weight >= 95 + ((slave.physicalAge - 9) * 5))) { return true; - } else if (slave.belly >= 60000 || slave.belly >= 60000 / (1 + Math.Pow(Math.E, -0.4 * (slave.physicalAge - 14))) || slave.belly >= Math.max(10000, ((12500 / 19) * slave.height) - (1172500 / 19))) { + } else if (slave.belly >= 60000 || slave.belly >= 60000 / (1 + Math.pow(Math.E, -0.4 * (slave.physicalAge - 14))) || slave.belly >= Math.max(10000, ((12500 / 19) * slave.height) - (1172500 / 19))) { return true; } else if (slave.boobs > 5000) { return true; diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js index 10c209d4dca62a800339ec28c6379b4630d5bce6..01c6faca6df6c890ca22f7d8f02dca82f1f15c7b 100644 --- a/src/npc/startingGirls/startingGirls.js +++ b/src/npc/startingGirls/startingGirls.js @@ -498,7 +498,7 @@ App.StartingGirls.applyPlayerOrigin = function(slave) { slave.origin = "$He was the result of unprotected sex with a customer. $His mother abandoned your child on the brothel's doorstep."; slave.custom.tattoo = "$He has your ID number tattooed on $his right breast."; } else { - if (slave.actualAge >= V.PC.age + 10) { + if (slave.actualAge >= V.PC.actualAge + 10) { slave.origin = "$He was a fellow prostitute who was like a parent to you."; } else { slave.origin = "$He was a fellow underage prostitute you often played with."; @@ -1170,7 +1170,7 @@ App.StartingGirls.profile = function(slave) { } else { r.push(" young age requires paying the full penalty."); } - option.addComment(`<span class=warning>${r.join(" ")}</span>`); + option.addComment(`<span class="warning">${r.join(" ")}</span>`); } options.addOption(`${His} nationality is`, "nationality", slave).showTextBox() @@ -1244,7 +1244,7 @@ App.StartingGirls.mental = function(slave) { } else { r.push("young age requires paying the full penalty."); } - option.addComment(`<span class=warning>${r.join(" ")}</span>`); + option.addComment(`<span class="warning">${r.join(" ")}</span>`); } options.addOption("Trust", "trust", slave).showTextBox()