diff --git a/src/endWeek/events/retire.js b/src/endWeek/events/retire.js index 79385b8c687342ab08f5c63110304bf7b30c9014..0c9332333e13f43bcd7b20e0660ec2ac7dcecbc5 100644 --- a/src/endWeek/events/retire.js +++ b/src/endWeek/events/retire.js @@ -3,7 +3,7 @@ App.Events.SERetire = class SERetire extends App.Events.BaseEvent { super(actors, params); } - /** Custom casting: all slaves ready for retirement are cast automatically. if no slaves are cast, casting fails and the event does not run. */ + /** Custom casting: all slaves ready for retirement are cast automatically. if no slaves are cast, casting fails and the event does not run. */ castActors() { this.actors = V.slaves.filter(s => retirementReady(s)).map(s => s.ID); return this.actors.length > 0; diff --git a/src/events/RE/reArcologyInspection.js b/src/events/RE/reArcologyInspection.js index 66907be72d614114d1742baa830351a73acc966c..9f279e4c9ec3cbf2a90ccf1f7fabc9920d7b0143 100644 --- a/src/events/RE/reArcologyInspection.js +++ b/src/events/RE/reArcologyInspection.js @@ -490,7 +490,7 @@ App.Events.REArcologyInspection = class REArcologyInspection extends App.Events. if (BG) { t.push(`and ${BG.slaveName}`); } - t.push(`head home to ${home.name} and your waiting stable of sex slaves. You're looking forward to a nice ${refreshment} and some oral sex to round out the evening.`); + t.push(`head home to ${home.name} and your waiting stable of sex slaves. You're looking forward to a nice ${refreshment} and some oral sex to round out the evening.`); return t; } } diff --git a/src/events/RE/reBrothelFunction.js b/src/events/RE/reBrothelFunction.js index d13d3a1cc62432732db166b42f15ef440c74151f..6b64066d3715a5e5b0255bfda96be241e793c3a5 100644 --- a/src/events/RE/reBrothelFunction.js +++ b/src/events/RE/reBrothelFunction.js @@ -1,4 +1,4 @@ -App.Events.REBrothelFunction = class REBrothelFunction extends App.Events.BaseEvent { +App.Events.REBrothelFunction = class REBrothelFunction extends App.Events.BaseEvent { eventPrerequisites() { return [ () => App.Utils.countFacilityWorkers(["brothel"]).brothel > 5, diff --git a/src/events/RE/reBusyMasterSuite.js b/src/events/RE/reBusyMasterSuite.js index b8019a831df03e8d91c6a4a72f0c0bc164147389..ce42349f950629724ab3a908040414d607530de8 100644 --- a/src/events/RE/reBusyMasterSuite.js +++ b/src/events/RE/reBusyMasterSuite.js @@ -15,7 +15,7 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv ), ]; - return [ // Need at least three actors. Grab more later. + return [ // Need at least three actors. Grab more later. req, req, req, diff --git a/src/events/RE/reFemaleArcologyOwner.js b/src/events/RE/reFemaleArcologyOwner.js index de3fcd7117e7fb6dd1516c2c1cd95eba370194de..a8f43ad3190851b3856ec1a8f75faf151f728028 100644 --- a/src/events/RE/reFemaleArcologyOwner.js +++ b/src/events/RE/reFemaleArcologyOwner.js @@ -1,4 +1,4 @@ -App.Events.REFemaleArcologyOwner = class REFemaleArcologyOwner extends App.Events.BaseEvent { +App.Events.REFemaleArcologyOwner = class REFemaleArcologyOwner extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.policies.regularParties === 1, diff --git a/src/events/RE/reHGReplacement.js b/src/events/RE/reHGReplacement.js index 2044116b3dd9f3b7bc01e4c571368aeabcbe461a..93c19cad9d3d800a0026574b9c2caf4b433aa329 100644 --- a/src/events/RE/reHGReplacement.js +++ b/src/events/RE/reHGReplacement.js @@ -1,4 +1,4 @@ -App.Events.REHGReplacement = class REHGReplacement extends App.Events.BaseEvent { +App.Events.REHGReplacement = class REHGReplacement extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.HeadGirlID !== 0, @@ -59,14 +59,14 @@ App.Events.REHGReplacement = class REHGReplacement extends App.Events.BaseEvent } r.push( `During one of ${his2} visits,`, - App.UI.DOM.slaveDescriptionDialog(slave), + contextualIntro(S.HeadGirl, slave, "DOM"), `happens to come in for ${his} scheduled inspection. ${He} perches politely on the couch, waiting ${his} turn like a good ${girl}. ${His}`, App.Desc.eyesColor(slave), `are watchful, however, and ${he} seems to be paying very close attention to your conversation with your Head Girl.` ); r.push( - `When ${S.HeadGirl.slaveName} leaves, ${he} clears ${his} throat nervously. ${He} gathers ${his} courage, and ${say}s,`, + `When ${S.HeadGirl.slaveName} leaves, ${he} clears ${his} throat nervously. ${He} gathers ${his} courage, and ${say}s,`, `"${Master}, I think I would make a better Head Girl than ${him}."`, `${He} takes a deep breath and plunges on.`, Spoken(slave, `"I'm just as smart as ${he2} is. And, ${Master}, I'm sure you've noticed ${he2} isn't very good at teaching other girls vaginal skills.`) @@ -97,7 +97,7 @@ App.Events.REHGReplacement = class REHGReplacement extends App.Events.BaseEvent let r = []; r.push(`After giving the matter some consideration, you agree, instructing ${V.assistant.name} that ${slave.slaveName} is now the Head Girl. ${slave.slaveName} is <span class="devotion inc">overjoyed,</span> and bounces to ${his} feet, clearly very eager to begin. You caution ${him} that ${he} is not to undermine ${S.HeadGirl.slaveName} by letting anyone know why you decided to change Head Girls. ${He} nods obediently. As far as ${S.HeadGirl.slaveName} knows, it's just a standard change of Head Girls, and ${he2}'s too good a slave to let it affect ${him2} seriously.`); slave.devotion += 5; - assignJob(slave, "be your Head Girl"); + assignJob(slave, Job.HEADGIRL); App.Events.addParagraph(frag, r); return frag; } diff --git a/src/events/RE/reNickname.js b/src/events/RE/reNickname.js index f6a2632d1014c5c13fe8e9fbe2e7a5999bba7e4f..838810e56d161a27e074246c6966bc9c715ab7c6 100644 --- a/src/events/RE/reNickname.js +++ b/src/events/RE/reNickname.js @@ -23,7 +23,7 @@ App.Events.RENickname = class RENickname extends App.Events.BaseEvent { return this; } - /** Nickname event weight, ONLY when called as a nonindividual event, actually depends on the selected actor's devotion, which is SUPER WEIRD. But whatever, we can totally do that... + /** Nickname event weight, ONLY when called as a nonindividual event, actually depends on the selected actor's devotion, which is SUPER WEIRD. But whatever, we can totally do that... * @returns {number} */ get weight() { diff --git a/src/events/RE/rePregInventorFCTV.js b/src/events/RE/rePregInventorFCTV.js index 8ac5cd92523094777e587882f5dc6d5e07c46d9e..482c6ec358fa23ca765217a5d1b8a431895b510c 100644 --- a/src/events/RE/rePregInventorFCTV.js +++ b/src/events/RE/rePregInventorFCTV.js @@ -76,7 +76,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base frag.append(interview()); - r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); if (slave.prestige <= 2) { slave.prestige = 2; slave.prestigeDesc = "$He is a renowned inventor of hyperpregnant sex accessories and toys."; @@ -107,7 +107,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base frag.append(interview()); - r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); if (slave.prestige < 2) { slave.prestige = 2; slave.prestigeDesc = "$He is a renowned inventor of hyperpregnant sex accessories and toys."; @@ -148,7 +148,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base frag.append(interview()); if (slave.porn.prestige >= 3 && random(1, 100) > 50) { - r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); if (slave.prestige < 3) { slave.prestige = 3; slave.prestigeDesc = "$He is a world renowned inventor of hyperpregnant sex accessories and toys."; @@ -164,7 +164,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your world renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (slave.porn.prestige >= 3 && random(1, 100) > 30) { - r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); if (slave.prestige < 2) { slave.prestige = 2; slave.prestigeDesc = "$He is a renowned inventor of hyperpregnant sex accessories and toys."; @@ -180,7 +180,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (slave.porn.prestige >= 3 && random(1, 100) > 15) { - r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); + r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); if (slave.prestige < 1) { slave.prestige = 1; slave.prestigeDesc = "$He is a locally respected inventor of hyperpregnant sex accessories and toys."; @@ -194,7 +194,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } } } else if (slave.porn.prestige >= 3) { - r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); + r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); repX(500, "event"); for (const arc of V.arcologies) { if (arc.FSRepopulationFocus !== "unset") { @@ -204,7 +204,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } } } else if (slave.porn.prestige >= 2 && random(1, 100) > 75) { - r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); if (slave.prestige < 3) { slave.prestige = 3; slave.prestigeDesc = "$He is a world renowned inventor of hyperpregnant sex accessories and toys."; @@ -220,7 +220,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your world renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (slave.porn.prestige >= 2 && random(1, 100) > 50) { - r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); if (slave.prestige < 2) { slave.prestige = 2; slave.prestigeDesc = "$He is a renowned inventor of hyperpregnant sex accessories and toys."; @@ -236,7 +236,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (slave.porn.prestige >= 2 && random(1, 100) > 30) { - r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); + r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); if (slave.prestige < 1) { slave.prestige = 1; slave.prestigeDesc = "$He is a locally respected inventor of hyperpregnant sex accessories and toys."; @@ -250,7 +250,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } } } else if (slave.porn.prestige >= 2) { - r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); + r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); repX(500, "event"); for (const arc of V.arcologies) { if (arc.FSRepopulationFocus !== "unset") { @@ -260,7 +260,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } } } else if (random(1, 100) > 90) { - r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just finished a job very well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had <span class="reputation inc">world changing</span> consequences.`); if (slave.prestige < 3) { slave.prestige = 3; slave.prestigeDesc = "$He is a world renowned inventor of hyperpregnant sex accessories and toys."; @@ -276,7 +276,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your world renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (random(1, 100) > 70) { - r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); + r.push(`You turn your FCTV screen off satisfied that your slave has just completed a job well done. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant positive impact</span> on public opinion.`); if (slave.prestige < 2) { slave.prestige = 2; slave.prestigeDesc = "$He is a renowned inventor of hyperpregnant sex accessories and toys."; @@ -292,7 +292,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } V.trinkets.push(`a cut out magazine cover of your renowned hyperbroodmother inventor, ${slave.slaveName}, and ${his} myriad toys`); } else if (random(1, 100) > 50) { - r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); + r.push(`You turn your FCTV screen off satisfied that your slave has done a satisfactory job. Over the course of the next several weeks, it becomes clear that ${slave.slaveName}'s appearance on "Husbandry With Milly" has had a <span class="reputation inc">significant impact</span> on public opinion, though only at a local level.`); if (slave.prestige < 1) { slave.prestige = 1; slave.prestigeDesc = "$He is a locally respected inventor of hyperpregnant sex accessories and toys."; @@ -306,7 +306,7 @@ App.Events.rePregInventorFCTV = class rePregInventorFCTV extends App.Events.Base } } } else { - r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); + r.push(`You turn your FCTV screen off disappointed that your slave has done a mediocre job. Over the course of the next several weeks, it becomes clear that <span class="reputation inc">what little impact</span> ${he} has had is on a local scale only.`); repX(500, "event"); for (const arc of V.arcologies) { if (arc.FSRepopulationFocus !== "unset") { diff --git a/src/events/RE/reRebels.js b/src/events/RE/reRebels.js index 6ca76caecfb51bc84fec63cb3fd999b0c23c0f4a..72d437055aef7344d8f48f4887def54ad2f1564e 100644 --- a/src/events/RE/reRebels.js +++ b/src/events/RE/reRebels.js @@ -1,4 +1,4 @@ -App.Events.RERebels = class RERebels extends App.Events.BaseEvent { +App.Events.RERebels = class RERebels extends App.Events.BaseEvent { actorPrerequisites() { const jobs = [Job.ARCADE]; if (V.dairyRestraintsSetting >= 2) { diff --git a/src/events/RE/reRelationshipAdvice.js b/src/events/RE/reRelationshipAdvice.js index 5a4a35ce3c7a492cfca31c9bb136a30c0c71b3c4..954537aec6bb5fa12d762ab90772c68b6bec21b5 100644 --- a/src/events/RE/reRelationshipAdvice.js +++ b/src/events/RE/reRelationshipAdvice.js @@ -1,4 +1,4 @@ -App.Events.RERelationshipAdvice = class RERelationshipAdvice extends App.Events.BaseEvent { +App.Events.RERelationshipAdvice = class RERelationshipAdvice extends App.Events.BaseEvent { actorPrerequisites() { return[[ (s) => s.fetish !== "mindbroken", @@ -65,7 +65,7 @@ App.Events.RERelationshipAdvice = class RERelationshipAdvice extends App.Events } r.push( `${He} quickly shakes ${his} head no.`, - Spoken(slave, `"N-no, ${Master}, it's just —"`), + Spoken(slave, `"N-no, ${Master}, it's just —"`), `${He} subsides into silence again, blushing and staring` ); if (!canSee(slave)) { diff --git a/src/events/RE/reShelterInspection.js b/src/events/RE/reShelterInspection.js index 496ca07c5069ae3f67b764918f06925cf72dad98..a991d7f3450eb27c74c3be4bccbe69cb1717dc11 100644 --- a/src/events/RE/reShelterInspection.js +++ b/src/events/RE/reShelterInspection.js @@ -1,4 +1,4 @@ -App.Events.REShelterInspection = class REShelterInspection extends App.Events.BaseEvent { +App.Events.REShelterInspection = class REShelterInspection extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.shelterAbuse <= 5, @@ -196,7 +196,7 @@ App.Events.REShelterInspection = class REShelterInspection extends App.Events.B r.push(`${His2} hands ball into fists.`); V.shelterAbuse += 10; allowContinue(); - newSlave(inspector); /* skip New Slave Intro */ + newSlave(inspector); /* skip New Slave Intro */ App.Events.addParagraph(el, r); return el; @@ -610,7 +610,7 @@ App.Events.REShelterInspection = class REShelterInspection extends App.Events.B r.push(`${he} ${say}s confidently. The inspector frowns.`); r.push(Spoken(inspector, `"How often!?"`)); r.push(`The slave thinks for a moment and replies,`); - r.push(Spoken(inspector, `"Four times today. After the third time, it usually stops closing up again between cocks. I'm good at my job!"`)); + r.push(Spoken(inspector, `"Four times today. After the third time, it usually stops closing up again between cocks. I'm good at my job!"`)); r.push(`The inspector looks deflated, and reluctantly makes a positive note on ${his2} tablet.`); V.shelterAbuse -= 1; } else if (inspectee.fetish === "buttslut") { diff --git a/src/events/RE/reShippingContainer.js b/src/events/RE/reShippingContainer.js index 4e6e83b0b3a90d5c25661b82cad16872c20fb3d2..402abbee17e97aa543d9b989edc7023ecd0fdd21 100644 --- a/src/events/RE/reShippingContainer.js +++ b/src/events/RE/reShippingContainer.js @@ -1,4 +1,4 @@ -App.Events.REShippingContainer = class REShippingContainer extends App.Events.BaseEvent { +App.Events.REShippingContainer = class REShippingContainer extends App.Events.BaseEvent { eventPrerequisites() { return [ () => minimumSlaveCost() > 3000, @@ -81,7 +81,7 @@ App.Events.REShippingContainer = class REShippingContainer extends App.Events.Ba function auction() { const frag = new DocumentFragment(); let r = []; - for (const slave of newSlaves) { + for (const slave of newSlaves) { cashX(slaveCost(slave), "slaveTransfer"); } r.push(`Allowing humor into your voice, you announce an auction, to be held immediately. The crowd appreciates the wit, and <span class="reputation inc">appreciates it even more</span> when you conduct the auction yourself. It's always good to take an opportunity to show off your understanding of the slave market in public. You <span class="cash inc">sell them all,</span> sex slaves and menials alike. Welcome to the Free Cities.`); @@ -95,7 +95,7 @@ App.Events.REShippingContainer = class REShippingContainer extends App.Events.Ba function keep() { const frag = new DocumentFragment(); let r = []; - for (const slave of newSlaves) { + for (const slave of newSlaves) { newSlave(slave); /* skip New Slave Intro */ } r.push(`You announce that the shipment is in violation of shipping and slave market regulations, and is being confiscated. There's a certain <span class="reputation dec">disappointment</span> in the crowd that nothing more interesting came of it, but it's minor when compared to the chattel you just seized.`); @@ -107,7 +107,7 @@ App.Events.REShippingContainer = class REShippingContainer extends App.Events.Ba function degradationism() { const frag = new DocumentFragment(); let r = []; - for (const slave of newSlaves) { + for (const slave of newSlaves) { seX(slave, "anal", "public", "penetrative", random(20, 25)); slave.anus = 3; seX(slave, "oral", "public", "penetrative", random(25, 30)); @@ -130,7 +130,7 @@ App.Events.REShippingContainer = class REShippingContainer extends App.Events.Ba function paternalism() { const frag = new DocumentFragment(); let r = []; - for (const slave of newSlaves) { + for (const slave of newSlaves) { cashX(slaveCost(slave), "slaveTransfer"); } r.push(`You hurry forward, beckoning the crowd to accompany you. The wretched slaves cringe with fear, but soon they're being comforted, offered water, and examined for injury. Once the most pressing needs are attended to, you call for everyone's attention. You pride yourself on knowing your citizens well, and you can pick good Paternalists out of the crowd at will. Calling them by name, you ask whether they'd be willing to take on one of these poor slaves. One by one, you pair slave and Master or Mistress, rewarding your best people with public approbation, not to mention a free slave. The initial gasps of surprise quickly grow into <span class="reputation inc">thunderous applause.</span> Your people love you. Several of the slaves begin to cry, mostly from confusion or sheer exhaustion; they don't yet know how lucky they are.`); diff --git a/src/events/RE/reSlaveMarriage.js b/src/events/RE/reSlaveMarriage.js index 620d5ac7542a9f0e9041762dbb9e13edd79d5887..ad6f841054b7fa57202ed110d696a29155193b4b 100644 --- a/src/events/RE/reSlaveMarriage.js +++ b/src/events/RE/reSlaveMarriage.js @@ -1,4 +1,4 @@ -App.Events.RESlaveMarriage = class RESlaveMarriage extends App.Events.BaseEvent { +App.Events.RESlaveMarriage = class RESlaveMarriage extends App.Events.BaseEvent { actorPrerequisites() { return[[ (s) => s.fetish !== "mindbroken", diff --git a/src/events/REM/remMerger.js b/src/events/REM/remMerger.js index 73fbfca2ea581f35774028d36ed65f66d99252b4..05057e57b2ce82ebd054a18bb06bf928c8ad3498 100644 --- a/src/events/REM/remMerger.js +++ b/src/events/REM/remMerger.js @@ -10,9 +10,9 @@ App.Events.REMMerger = class REMMerger extends App.Events.BaseEvent { V.nextLink = "RIE Eligibility Check"; const slaveCompany = App.Corporate.divisionList - .filter(div => div.founded && div.hasMergers) - .map (div => div.mergerChoices.map((merger, index) => ({merger, index, division:div}))) - .flat (); + .filter (div => div.founded && div.hasMergers) + .map (div => div.mergerChoices.map((merger, index) => ({merger, index, division:div}))) + .flat (); const maxCompanies = Math.trunc(Math.log2(App.Corporate.divisionList.filter(div => div.founded).length)) + 1; const numCompanies = random(1, maxCompanies); diff --git a/src/events/RETS/reCockmilkInterception.js b/src/events/RETS/reCockmilkInterception.js index b41c2dc5200a71ba980201058c982fc792a1213b..32eb90447bd7fd78b212c8ce9d50a074b933a6a8 100644 --- a/src/events/RETS/reCockmilkInterception.js +++ b/src/events/RETS/reCockmilkInterception.js @@ -618,7 +618,7 @@ App.Events.RETSCockmilkInterception = class RETSCockmilkInterception extends App } else { t.push(`centimeters`); } - t.push(`in front of ${his} face.`, Spoken(slave, `"I'm so happy, ${getWrittenTitle(slave)},"`), `${he} purrs.`, Spoken(slave, `"You have the best cum. ${V.PC.balls >= 10 ? "I'll never go hungry with you either." : "."}"`), `${He}'s still right up against ${subSlave.slaveName},`); + t.push(`in front of ${his} face.`, Spoken(slave, `"I'm so happy, ${getWrittenTitle(slave)},"`), `${he} purrs.`, Spoken(slave, `"You have the best cum. ${V.PC.balls >= 10 ? "I'll never go hungry with you either." : "."}"`), `${He}'s still right up against ${subSlave.slaveName},`); if (hasAnyArms(slave)) { t.push(`and ${he} reaches back to pat ${subSlave.slaveName}'s butt reassuringly.`); } else { diff --git a/src/events/RETS/reIncestuousNursing.js b/src/events/RETS/reIncestuousNursing.js index 2947e3a3fcc910662ba2e79f2489b6d454ce66d9..2fc30bd172b02e948e6eb9211fd17ec076a89375 100644 --- a/src/events/RETS/reIncestuousNursing.js +++ b/src/events/RETS/reIncestuousNursing.js @@ -89,7 +89,7 @@ App.Events.RETSIncestuousNursing = class RETSIncestuousNursing extends App.Event } let hands = "anus"; if (eventSlave.dick > 0 && eventSlave.chastityPenis === 0) { - t.push(Spoken(eventSlave, `harder, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${his} lewd movements make it obvious that ${he2}'s`); + t.push(Spoken(eventSlave, `harder, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${his} lewd movements make it obvious that ${he2}'s`); if (canAchieveErection(eventSlave)) { t.push(`giving ${his2} ${mother} a handjob`); } else { @@ -98,7 +98,7 @@ App.Events.RETSIncestuousNursing = class RETSIncestuousNursing extends App.Event actX(eventSlave, "penetrative"); hands = "dick"; } else if (canDoVaginal(eventSlave)) { - t.push(Spoken(eventSlave, `deeper, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${he}'s obviously using`); + t.push(Spoken(eventSlave, `deeper, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${he}'s obviously using`); if (eventSlave.vagina > 2) { t.push(`a fist to fuck ${his} ${mother}'s loose pussy`); } else if (eventSlave.vagina > 1) { @@ -109,7 +109,7 @@ App.Events.RETSIncestuousNursing = class RETSIncestuousNursing extends App.Event seX(subSlave, "penetrative", eventSlave, "vaginal"); hands = "vagina"; } else if (canDoAnal(eventSlave)) { - t.push(Spoken(eventSlave, `deeper, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${he} obviously has`); + t.push(Spoken(eventSlave, `deeper, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but ${he} obviously has`); if (eventSlave.anus > 2) { t.push(`a fist up ${his} ${mother}'s huge asspussy`); } else if (eventSlave.anus > 1) { @@ -119,7 +119,7 @@ App.Events.RETSIncestuousNursing = class RETSIncestuousNursing extends App.Event } seX(subSlave, "penetrative", eventSlave, "anal"); } else { - t.push(Spoken(eventSlave, `just like that, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but it's obvious ${he}'s using`); + t.push(Spoken(eventSlave, `just like that, sweetie."`), `${subSlave.slaveName}'s ${hasBothArms(subSlave) ? "hands aren't" : "hand isn't"} visible, but it's obvious ${he}'s using`); if (hasBothArms(subSlave)) { t.push(`them`); } else { diff --git a/src/events/recFS/recfsDegradationist.js b/src/events/recFS/recfsDegradationist.js index b14cdfa2d6f032384cdb587beb0bb6b44b67bf43..bb17dfd48957b56acc6138d456a08d5095d041d1 100644 --- a/src/events/recFS/recfsDegradationist.js +++ b/src/events/recFS/recfsDegradationist.js @@ -63,7 +63,7 @@ App.Events.recFSDegradationist = class recFSDegradationist extends App.Events.Ba his, he, him } = getPronouns(slave); const {HeA, himA} = getPronouns(assistant.pronouns().main).appendSuffix("A"); - const {womanP} = getPronouns(V.PC).appendSuffix("P"); + const {womanP} = getPronouns(V.PC).appendSuffix("P"); const contractCost = 2000; const cost = slaveCost(slave) - contractCost; r.push(`${capFirstChar(V.assistant.name)} does not typically permit anonymous messages through to you. If someone wishes to speak to you, they can do so under their own name and with their own face. ${HeA} makes an exception, however, for a message offering you a slave so long as you pay the costs of enslavement, nothing else.`); diff --git a/src/events/recFS/recfsFSEgyptianRevivalistAcquisition.js b/src/events/recFS/recfsFSEgyptianRevivalistAcquisition.js index e3dd8c64a2f2f9a3d285dd4e00e32d5deeb71436..3901a4809e2820dcf782b50c7a93cc28318e597e 100644 --- a/src/events/recFS/recfsFSEgyptianRevivalistAcquisition.js +++ b/src/events/recFS/recfsFSEgyptianRevivalistAcquisition.js @@ -1,4 +1,4 @@ -App.Events.recFSEgyptianRevivalistAcquisition = class recFSEgyptianRevivalistAcquisition extends App.Events.BaseEvent { +App.Events.recFSEgyptianRevivalistAcquisition = class recFSEgyptianRevivalistAcquisition extends App.Events.BaseEvent { eventPrerequisites() { return [ () => V.FSAnnounced === 1, diff --git a/src/events/recFS/recfsPaternalist.js b/src/events/recFS/recfsPaternalist.js index 0f31e025439b2d60a40c1c4e9ad50586d2783259..99ffc7ad407f9bd72c38e7476554d6fc000497d5 100644 --- a/src/events/recFS/recfsPaternalist.js +++ b/src/events/recFS/recfsPaternalist.js @@ -29,7 +29,7 @@ App.Events.recFSPaternalist = class recFSPaternalist extends App.Events.BaseEven } const { He, - his, he, him, woman + his, he, him, woman } = getPronouns(slave); const {HeA} = getPronouns(assistant.pronouns().main).appendSuffix("A"); const contractCost = 1000; diff --git a/src/events/recFS/recfsPaternalistTwo.js b/src/events/recFS/recfsPaternalistTwo.js index ef41a3360dcf2d918d115c292bbb1f4f9776b0a3..cb5500d53786422f5c041caeaba2cad5b9c3da49 100644 --- a/src/events/recFS/recfsPaternalistTwo.js +++ b/src/events/recFS/recfsPaternalistTwo.js @@ -25,7 +25,7 @@ App.Events.recFSPaternalistTwo = class recFSPaternalistTwo extends App.Events.Ba const { He, - his, he, him, woman + his, he, him, woman } = getPronouns(slave); const {HeA} = getPronouns(assistant.pronouns().main).appendSuffix("A"); const contractCost = 1000; diff --git a/src/events/schools/resFailure.js b/src/events/schools/resFailure.js index 52b3cf606f5117a70ecc6998f9d770c4d7bf9c6c..8fbcf5ffbcca8d925ae1b6d5a7220f50bb38e93f 100644 --- a/src/events/schools/resFailure.js +++ b/src/events/schools/resFailure.js @@ -795,7 +795,7 @@ App.Events.RESFailure = class RESFailure extends App.Events.BaseEvent { const frag = new DocumentFragment(); let r = []; for (const slave of V.slaves) { - if (slave.origin === "$He was the leader of your arcology's Futanari Sisters until you engineered $his community's failure and enslavement.") { + if (slave.origin === "$He was the leader of your arcology's Futanari Sisters until you engineered $his community's failure and enslavement.") { slave.devotion += 10; actX(slave, "anal"); actX(slave, "vaginal");