From 45e9652f2d886a0ea9322c9a44665a223232b812 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Tue, 23 Feb 2021 19:34:51 +0100 Subject: [PATCH 1/3] date night to JS --- src/events/RETS/reDatePlease.js | 131 +++++++++++++++++++++++++ src/events/RETS/reInterslaveBegging.js | 3 +- src/events/randomEvent.js | 1 + src/js/eventSelectionJS.js | 17 ---- src/uncategorized/RETS.tw | 105 -------------------- 5 files changed, 133 insertions(+), 124 deletions(-) create mode 100644 src/events/RETS/reDatePlease.js diff --git a/src/events/RETS/reDatePlease.js b/src/events/RETS/reDatePlease.js new file mode 100644 index 00000000000..e8684d90788 --- /dev/null +++ b/src/events/RETS/reDatePlease.js @@ -0,0 +1,131 @@ +App.Events.RETSDatePlease = class RETSDateNight extends App.Events.BaseEvent { + eventPrerequisites() { + return [ + () => V.universalRulesConsent === 0, + ]; + } + + actorPrerequisites() { + return [ + [ // event slave /domslave + s => s.fetish !== "mindbroken", + canTalk, + hasAnyArms, + hasAnyLegs, + canHear, + s => s.assignment !== Job.QUARTER, + s => s.relationship > 3, + s => s.devotion > 50, + s => s.trust > 50, + s => s.rules.speech !== "restrictive", + ], + [ // and subslave + s => s.ID === getSlave(this.actors[0]).relationshipTarget, // relationshipTarget of event slave + s => s.fetish !== "mindbroken", + canWalk, + canTalk, + s => s.devotion > 20, + ] + ]; + } + + execute(node) { + /** @type {Array<App.Entity.SlaveState>} */ + let [eventSlave, subSlave] = this.actors.map(a => getSlave(a)); + const { + He, he, his, him, girl + } = getPronouns(eventSlave); + const {say} = getEnunciation(eventSlave); + const {him2, girl2} = getPronouns(subSlave).appendSuffix("2"); + V.nextLink = "Next Week"; + let artDiv = document.createElement("div"); // named container so we can replace it later + App.Events.drawEventArt(artDiv, eventSlave, "no clothing"); + node.appendChild(artDiv); + + const master = Spoken(eventSlave, getWrittenTitle(eventSlave)); + const partner = (eventSlave.relationship >= 5) ? "wife2" : `${girl2}friend`; + const pitch = (eventSlave.voice > 2) ? "high" : (eventSlave.voice > 1 ? "feminine" : "bimbo"); + + let t = []; + + t.push(`After you complete your weekly inspection of`); + t.push(App.UI.DOM.combineNodes(contextualIntro(V.PC, eventSlave, "DOM"), `, the ${SlaveTitle(eventSlave)} asks if ${he} can beg a favor. Absurd though it sounds, ${he} does exactly that, saying in ${his} ${pitch} voice, "${master}, may I ask a favor?"`)); + t.push(`You take a moment to look at ${him}, standing there in front of your desk. ${He}'s devoted to you, willing to please you for the sake of pleasing you, rather than to avoid punishment or to make ${his} own life easier. And ${he}'s very trusting, confident that ${he} can say such an odd thing without fear. So, you hear ${him} out.`); + App.Events.addParagraph(node, t); + t = []; + + t.push(`"Thank you, ${master}" ${he} ${say}s. ${Spoken(eventSlave, `"I would like to do something for ${subSlave.slaveName}"`)} You ask if ${he}'s worried about ${his} ${partner} for some reason. "Oh no, ${master}", ${he} answers hurriedly.`); + t.push(Spoken(eventSlave, `"No, no, that came out wrong. It's just that I love ${him2} and I want to, you know, get ${him2} something or do something special for ${him2}. We don't really have stuff of our own, so I can't give ${him2} a present, and we already do everything either one of us wants in bed, so I can't really think of anything."`)); + t.push(`${He} ${canSee(eventSlave) ? `looks` : `gazes`} at you hopefully.`); + + App.Events.addParagraph(node, t); + App.Events.addResponses(node, [ + new App.Events.Result("Give them a night off together", nightOff, `This will cost ${cashFormat(500)}`), + (V.AttendantID !== 0 && ![eventSlave.ID, subSlave.ID].includes(V.AttendantID)) + ? new App.Events.Result("Give them a night at the Spa together", spa, `This will cost ${cashFormat(500)}`) + : new App.Events.Result(), + new App.Events.Result("Trust them with a night out", nightOut, `This will cost ${cashFormat(1000)}`), + ]); + + + function nightOff() { + $(artDiv).empty(); + App.Events.drawEventArt(artDiv, [eventSlave, subSlave]); + t = []; + + t.push(`Rather than answering ${him} directly, you tell ${V.assistant.name} to clear ${eventSlave.slaveName}'s and ${subSlave.slaveName}'s schedules for the evening. ${He} ${canSee(eventSlave) ? `looks` : `smiles`} at you with happy anticipation, but is puzzled when you don't give ${him} any further orders. "Um, thank you, ${master}" ${he} asks hesitantly.`); + t.push(Spoken(eventSlave, `"But, I don't understand. What are we going to do?"`)); + t.push(`Whatever you want, you tell ${him}. ${He} furrows ${his} brow, looking troubled, as though the concept is somehow alien to ${him}. After some thought, ${he} brightens and asks if ${he} can go tell ${his} ${partner}. ${He} can, you respond, and the slave bounces over to give you a kiss before running out. It costs you a small sum in upkeep and other trifles to cover an unexpected unavailability of both slaves, but they deserve it. Their busy lives mean that their shifts rarely align exactly, and this is more time than they've had together in a long time. It isn't particularly exciting, but they enjoy themselves. They eat a meal in the kitchen together, watch the sunset from one of the penthouse balconies, make love out there, share a long shower, and then go to bed, spending the rest of the night cuddling and chatting quietly. The next morning, they come to see you hand in hand, and <span class="hotpink">thank you in unison.</span> As they leave, ${eventSlave.slaveName} looks back over ${his} shoulder at you, and mouths 'That was perfect, ${getWrittenTitle(eventSlave)}!'`); + cashX(-500, "event", eventSlave); + subSlave.devotion += 2; + eventSlave.devotion += 2; + return t; + } + + function spa() { + $(artDiv).empty(); + App.Events.drawEventArt(artDiv, [eventSlave, subSlave], "no clothing"); + const {He3, he3, his3, him3} = getPronouns(subSlave).appendSuffix("3"); + const frag = document.createDocumentFragment(); + t = []; + + t.push(`Rather than answering ${him} directly, you tell ${V.assistant.name} to clear ${eventSlave.slaveName}'s and ${subSlave.slaveName}'s schedules for the evening, and then contact ${S.Attendant.slaveName}, the Attendant of your Spa, to instruct ${him3} to expect the two slaves for some quality time together. ${S.Attendant.slaveName}, of course, is all for it (${Spoken(S.Attendant, `"Leave it to me, ${getWrittenTitle(S.Attendant)}!"`)}). ${He3} greets the couple at the steamy entrance to the Spa an hour later, and takes charge of them with a matronly air, telling them to undress and relax.`); + App.Events.addParagraph(frag, t); + t = []; + t.push(`It costs you a small sum in upkeep and other trifles to cover an unexpected unavailability of both slaves, but they deserve it, and your Attendant does not disappoint. After the slaves have soaked in the main pool for a while, ${he3} gives them a series of mud packs, hot rock massages, and skin treatments, always setting them up right next to each other. They chat a bit at first, but soon relax into companionable silence, holding hands and enjoying the pampering.`); + if (S.Attendant.lactation > 0) { + t.push(`${S.Attendant.slaveName} has their evening meal sent down, and supplements it with milk drunk fresh from ${his3} own nipples.`); + } + t.push(`This being your penthouse, ${his3} services become quite sexual later in the night, as the Attendant applies all ${his3} talents in choosing positions that emphasize ${eventSlave.slaveName} and ${subSlave.slaveName} being close to each other, a difficult task given`); + if (S.Attendant.bellyPreg >= 10000 && eventSlave.bellyPreg >= 10000 && subSlave.bellyPreg >= 10000) { + t.push(`that they are all heavily pregnant,`); + } else if (S.Attendant.belly >= 10000 && eventSlave.belly >= 10000 && subSlave.belly >= 10000) { + t.push(`how big everyone's bellies are,`); + } + t.push(`as they share ${S.Attendant.slaveName}'s body. Much later, the Attendant sends you a brief message relaying their <span class="hotpink">heartfelt thanks,</span> which${he3}'s passing to you because they're asleep together.`); + cashX(-500, "event", eventSlave); + subSlave.devotion += 3; + eventSlave.devotion += 3; + App.Events.addParagraph(frag, t); + return frag; + } + + function nightOut() { + $(artDiv).empty(); + App.Events.drawEventArt(artDiv, [eventSlave, subSlave], "conservative clothing"); + const frag = document.createDocumentFragment(); + t = []; + t.push(`Rather than answering ${him} directly, you tell ${V.assistant.name} to clear ${eventSlave.slaveName}'s and ${subSlave.slaveName}'s schedules for the evening. ${He} looks at you with happy anticipation, but this is nothing to ${his} gratitude when you tell ${him} that you'll arrange a date night for them. Trusted slaves are often seen unchaperoned in your arcology, and there are several establishments that cater to slaveowners who wish to bring their chattel out or even send them out alone. You tell ${him} you've made a reservation for ${him} and ${his} ${partner} at one of the less formal places, an ethnic restaurant that manages to add spice to liquid slave nutrition without ruining its good qualities. They're to spend the night out, and can wear what they like. ${He} hurries off to collect ${his} ${girl2} and get dressed, but also tries to keep thanking you on ${his} way out, and almost runs into the door frame as ${he} goes.`); + App.Events.addParagraph(frag, t); + t = []; + + t.push(`Since ${he} trusts you, they dress very daringly for slaves. That is, they dress about as conservatively as slaves can dress, in comfortable pants and soft sweaters whose high collars they roll down to keep their collars visible. Any hesitations citizens who see them might have are banished by their obvious love for each other, and their total lack of shame about having it seen. Indeed, as the night wears on they attract more than a few <span class="green">admiring glances</span> from citizens who envy you the favors of the pair of ${girl === girl2 ? `${girl}s` : `slaves`} occupying one side of the corner booth. After all, they'd rather lean against each other than look at each other from across a table. The next day, they both come to you individually and <span class="mediumaquamarine">thank you almost gravely,</span> quite aware of the trust you've placed in them.`); + cashX(-1000, "event", eventSlave); + repX(500, "event", eventSlave); + subSlave.trust += 2; + eventSlave.trust += 2; + App.Events.addParagraph(frag, t); + return frag; + } + } +}; diff --git a/src/events/RETS/reInterslaveBegging.js b/src/events/RETS/reInterslaveBegging.js index aca1e73ca2f..e01b1fb5d64 100644 --- a/src/events/RETS/reInterslaveBegging.js +++ b/src/events/RETS/reInterslaveBegging.js @@ -47,7 +47,6 @@ App.Events.RETSInterslaveBegging = class RETSInterslaveBegging extends App.Event const { girlP } = getPronouns(V.PC).appendSuffix("P"); - V.nextLink = "Next Week"; App.Events.drawEventArt(node, [eventSlave, subSlave], "no clothing"); @@ -619,7 +618,7 @@ App.Events.RETSInterslaveBegging = class RETSInterslaveBegging extends App.Event t.push(`instrument`); } t.push(`sliding in and out of ${him2}, in and out of ${him2}. You plunder ${him2} without restraint, bending to plant dominant kisses on ${him2} panting mouth while you fuck ${him2}, and then straightening up again to grab and maul ${his2}`); - if (subSlave.boobsImplant / subSlave.boobs >= .60) { + if (subSlave.boobsImplant / subSlave.boobs >= 0.60) { t.push(`fake tits`); } else { if (subSlave.boobShape !== "normal") { diff --git a/src/events/randomEvent.js b/src/events/randomEvent.js index b3df721c081..882dd657561 100644 --- a/src/events/randomEvent.js +++ b/src/events/randomEvent.js @@ -48,6 +48,7 @@ App.Events.getIndividualEvents = function() { new App.Events.RECIUgly(), new App.Events.RETSAnalCowgirl(), + new App.Events.RETSDatePlease(), new App.Events.RETSFucktoyPrefersRelative(), new App.Events.RETSInterslaveBegging(), new App.Events.RERoyalBlood(), diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js index 448a6c3fb0b..64b08b7614e 100644 --- a/src/js/eventSelectionJS.js +++ b/src/js/eventSelectionJS.js @@ -206,23 +206,6 @@ globalThis.generateRandomEventPool = function(eventSlave) { } } - if (eventSlave.relationship > 3) { - let relationshipSlave = V.slaves.find(s => s.ID === eventSlave.relationshipTarget); - if (relationshipSlave.devotion > 20) { - if (canWalk(relationshipSlave)) { - if (canTalk(relationshipSlave)) { - if (eventSlave.devotion > 50) { - if (eventSlave.trust > 50) { - if (eventSlave.rules.speech !== "restrictive") { - V.RETSevent.push("date please"); - } - } - } - } - } - } - } - if (V.REBoobCollisionSubIDs.length > 1) { if (eventSlave.devotion > 20) { if (eventSlave.trust > 20) { diff --git a/src/uncategorized/RETS.tw b/src/uncategorized/RETS.tw index e50fee14b03..0bb6f3d50d5 100644 --- a/src/uncategorized/RETS.tw +++ b/src/uncategorized/RETS.tw @@ -55,10 +55,6 @@ <</for>> <</if>> -<<case "date please">> - -<<set $subSlave = $slaves[$slaveIndices[$eventSlave.relationshipTarget]]>> - <<case "boob collision">> <<if Array.isArray($REBoobCollisionSubIDs)>> @@ -124,8 +120,6 @@ <<case "boob collision" "cockmilk interception" "if you enjoy it" "incestuous nursing" "repressed anal virgin" "shower force" "taste test">> <<set $activeSlave.clothes = "no clothing">> <<set $subSlave.clothes = "no clothing">> - <<case "date please">> - <<set $activeSlave.clothes = "no clothing">> <</switch>> <span id="art-frame"> /* 000-250-006 */ @@ -278,12 +272,6 @@ _He2 stiffens with the lewd feeling of the warm fluid pressing into _his2 mouth. $subSlave.slaveName isn't sexually needy enough or awake enough to be as horny as $activeSlave.slaveName, but _he2 goes along willingly enough. <</if>> -<<case "date please">> - -After you complete your weekly inspection of <<= App.UI.slaveDescriptionDialog($activeSlave)>>, the $desc asks if $he can beg a favor. Absurd though it sounds, $he does exactly that, saying in $his <<if $activeSlave.voice > 2>>high<<elseif $activeSlave.voice > 1>>feminine<<else>>bimbo<</if>> voice, "<<Master>>, may I a<<s>>k a favor?" You take a moment to look at $him, standing there in front of your desk. $He's devoted to you, willing to please you for the sake of pleasing you, rather than to avoid punishment or make $his own life easier. And $he's very trusting, confident that $he can say such an odd thing without fear. So, you hear $him out. -<br><br> -"Thank you, <<Master>>," $he <<say>>s. "I would like to do <<s>>omething for $subSlave.slaveName." You ask if $he's worried about $his <<if $activeSlave.relationship >= 5>>_wife2<<else>><<= _girl2>>friend<</if>> for some reason. "Oh no, <<Master>>," $he answers hurriedly. "No, no, that came out wrong. It'<<s>> ju<<s>>t that I love _him2 and I want to, you know, get _him2 <<s>>omething or do <<s>>omething <<s>>pe<<c>>ial for _him2. We don't really have <<s>>tuff of our own, <<s>>o I can't give _him2 a pre<<s>>ent, and we already do everything either one of u<<s>> want<<s>> in bed, <<s>>o I can't really think of anything." $He <<if canSee($activeSlave)>>looks<<else>>gazes<</if>> at you hopefully. - <<case "boob collision">> <<set _headGirlPresent = 1>> @@ -693,99 +681,6 @@ $he adds impishly. <<if canHear($subSlave)>>Hearing this<<else>>Realizing your p <</replace>> <</link>> -<<case "date please">> - -<<link "Give them a night off together">> - - <<replace "#art-frame">> - /* 000-250-006 */ - <<if $seeImages == 1>> - <div class="imageColumn"> - <div class="imageRef medImg"> - <<= SlaveArt($activeSlave, 2, 0)>> - </div> - <div class="imageRef medImg"> - <<= SlaveArt($subSlave, 2, 0)>> - </div> - </div> - <</if>> - /* 000-250-006 */ - <</replace>> - - <<replace "#result">> - Rather than answering $him directly, you tell $assistant.name to clear $activeSlave.slaveName's and $subSlave.slaveName's schedules for the evening. $He <<if canSee($activeSlave)>>looks<<else>>smiles<</if>> at you with happy anticipation, but is puzzled when you don't give $him any further orders. "Um, thank you, <<Master>>," $he asks hesitantly. "But, I don't under<<s>>tand. What are we going to do?" Whatever you want, you tell $him. $He furrows $his brow, looking troubled, as though the concept is somehow alien to $him. After some thought, $he brightens and asks if $he can go tell $his <<if $activeSlave.relationship >= 5>>_wife2<<else>><<= _girl2>>friend<</if>>. $He can, you respond, and the slave bounces over to give you a kiss before running out. It costs you a small sum in upkeep and other trifles to cover an unexpected unavailability of both slaves, but they deserve it. Their busy lives mean that their shifts rarely align exactly, and this is more time than they've had together in a long time. It isn't particularly exciting, but they enjoy themselves. They eat a meal in the kitchen together, watch the sunset from one of the penthouse balconies, make love out there, share a long shower, and then go to bed, spending the rest of the night cuddling and chatting quietly. The next morning, they come to see you hand in hand, and @@.hotpink;thank you in unison.@@ As they leave, $activeSlave.slaveName looks back over $his shoulder at you, and mouths 'That was perfect, <<= getWrittenTitle($activeSlave)>>!' - <<run cashX(-500, "event", $activeSlave)>> - <<set $subSlave.devotion += 2>> - <<set $activeSlave.devotion += 2>> - <<set $slaves[$slaveIndices[$subSlave.ID]] = $subSlave>> - <</replace>> -<</link>> //This will cost <<print cashFormat(500)>>// -<<if $AttendantID != 0 && $AttendantID != $activeSlave.ID && $AttendantID != $subSlave.ID>> - <br><<link "Give them a night at the Spa together">> - - <<set _clothesTemp = $activeSlave.clothes, $activeSlave.clothes = "no clothing">> - <<set _clothesTemp2 = $subSlave.clothes, $subSlave.clothes = "no clothing">> - <<replace "#art-frame">> - /* 000-250-006 */ - <<if $seeImages == 1>> - <div class="imageColumn"> - <div class="imageRef medImg"> - <<= SlaveArt($activeSlave, 2, 0)>> - </div> - <div class="imageRef medImg"> - <<= SlaveArt($subSlave, 2, 0)>> - </div> - </div> - <</if>> - /* 000-250-006 */ - <</replace>> - <<set $activeSlave.clothes = _clothesTemp>> - <<set $subSlave.clothes = _clothesTemp2>> - - <<replace "#result">> - <<setLocalPronouns _S.Attendant 3>> - Rather than answering $him directly, you tell $assistant.name to clear $activeSlave.slaveName's and $subSlave.slaveName's schedules for the evening, and then contact _S.Attendant.slaveName, the Attendant of your Spa, to instruct _him3 to expect the two slaves for some quality time together. _S.Attendant.slaveName, of course, is all for it ("Leave it to me, <<Master _S.Attendant>>!"). _He3 greets the couple at the steamy entrance to the Spa an hour later, and takes charge of them with a matronly air, telling them to undress and relax. - <br><br> - It costs you a small sum in upkeep and other trifles to cover an unexpected unavailability of both slaves, but they deserve it, and your Attendant does not disappoint. After the slaves have soaked in the main pool for a while, _he3 gives them a series of mud packs, hot rock massages, and skin treatments, always setting them up right next to each other. They chat a bit at first, but soon relax into companionable silence, holding hands and enjoying the pampering.<<if _S.Attendant.lactation > 0>> _S.Attendant.slaveName has their evening meal sent down, and supplements it with milk drunk fresh from _his3 own nipples.<</if>> This being your penthouse, _his3 services become quite sexual later in the night, as the Attendant applies all _his3 talents in choosing positions that emphasize $activeSlave.slaveName and $subSlave.slaveName being close to each other<<if _S.Attendant.bellyPreg >= 10000 && $activeSlave.bellyPreg >= 10000 && $subSlave.bellyPreg >= 10000>>, a difficult task given that they are all heavily pregnant,<<elseif _S.Attendant.belly >= 10000 && $activeSlave.belly >= 10000 && $subSlave.belly >= 10000>>, a difficult task given how big everyone's bellies are,<</if>> as they share _S.Attendant.slaveName's body. Much later, the Attendant sends you a brief message relaying their @@.hotpink;heartfelt thanks,@@ which _he3's passing to you because they're asleep together. - <<run cashX(-500, "event", $activeSlave)>> - <<set $subSlave.devotion += 3>> - <<set $activeSlave.devotion += 3>> - <<set $slaves[$slaveIndices[$subSlave.ID]] = $subSlave>> - <</replace>> - <</link>> //This will cost <<print cashFormat(500)>>// -<</if>> -<br><<link "Trust them with a night out">> - - <<set _clothesTemp = $activeSlave.clothes, $activeSlave.clothes = "conservative clothing">> - <<set _clothesTemp2 = $subSlave.clothes, $subSlave.clothes = "conservative clothing">> - <<replace "#art-frame">> - /* 000-250-006 */ - <<if $seeImages == 1>> - <div class="imageColumn"> - <div class="imageRef medImg"> - <<= SlaveArt($activeSlave, 2, 0)>> - </div> - <div class="imageRef medImg"> - <<= SlaveArt($subSlave, 2, 0)>> - </div> - </div> - <</if>> - /* 000-250-006 */ - <</replace>> - <<set $activeSlave.clothes = _clothesTemp>> - <<set $subSlave.clothes = _clothesTemp2>> - - <<replace "#result">> - Rather than answering $him directly, you tell $assistant.name to clear $activeSlave.slaveName's and $subSlave.slaveName's schedules for the evening. $He looks at you with happy anticipation, but this is nothing to $his gratitude when you tell $him that you'll arrange a date night for them. Trusted slaves are often seen unchaperoned in your arcology, and there are several establishments that cater to slaveowners who wish to bring their chattel out or even send them out alone. You tell $him you've made a reservation for $him and $his <<if $activeSlave.relationship >= 5>>_wife2<<else>><<= _girl2>>friend<</if>> at one of the less formal places, an ethnic restaurant that manages to add spice to liquid slave nutrition without ruining its good qualities. They're to spend the night out, and can wear what they like. $He hurries off to collect $his _girl2 and get dressed, but also tries to keep thanking you on $his way out, and almost runs into the door frame as $he goes. - <br><br> - Since $he trusts you, they dress very daringly for slaves. That is, they dress about as conservatively as slaves can dress, in comfortable pants and soft sweaters whose high collars they roll down to keep their collars visible. Any hesitations citizens who see them might have are banished by their obvious love for each other, and their total lack of shame about having it seen. Indeed, as the night wears on they attract more than a few @@.green;admiring glances@@ from citizens who envy you the favors of the pair of <<if $girl == _girl2>>$girl<<else>>slave<</if>>s occupying one side of the corner booth. After all, they'd rather lean against each other than look at each other from across a table. The next day, they both come to you individually and @@.mediumaquamarine;thank you almost gravely,@@ quite aware of the trust you've placed in them. - <<run cashX(-1000, "event", $activeSlave)>> - <<run repX(500, "event", $activeSlave)>> - <<set $subSlave.trust += 2, $activeSlave.trust += 2>> - <<set $slaves[$slaveIndices[$subSlave.ID]] = $subSlave>> - <</replace>> -<</link>> //This will cost <<print cashFormat(1000)>>// - <<case "boob collision">> <<link "Fuck them">> -- GitLab From 8c481d5b11348bb2be7632dde356648c07b45bd9 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Tue, 23 Feb 2021 19:46:46 +0100 Subject: [PATCH 2/3] remove leftover condition --- src/events/RETS/reDatePlease.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/events/RETS/reDatePlease.js b/src/events/RETS/reDatePlease.js index e8684d90788..b9152c75559 100644 --- a/src/events/RETS/reDatePlease.js +++ b/src/events/RETS/reDatePlease.js @@ -1,8 +1,6 @@ App.Events.RETSDatePlease = class RETSDateNight extends App.Events.BaseEvent { eventPrerequisites() { - return [ - () => V.universalRulesConsent === 0, - ]; + return []; } actorPrerequisites() { -- GitLab From 650dd6157d0ca8e9ffe3607408a5826fc7e17b9b Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Tue, 23 Feb 2021 22:27:22 +0100 Subject: [PATCH 3/3] fix class name --- src/events/RETS/reDatePlease.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/RETS/reDatePlease.js b/src/events/RETS/reDatePlease.js index b9152c75559..33ba47bd4ba 100644 --- a/src/events/RETS/reDatePlease.js +++ b/src/events/RETS/reDatePlease.js @@ -1,4 +1,4 @@ -App.Events.RETSDatePlease = class RETSDateNight extends App.Events.BaseEvent { +App.Events.RETSDatePlease = class RETSDatePlease extends App.Events.BaseEvent { eventPrerequisites() { return []; } -- GitLab