From 34081e8ac522e337e989088c0b38c65c8daf7fd5 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 23 Feb 2021 04:29:10 -0500 Subject: [PATCH] ladiesArrive dedupe --- src/events/reRoyalBlood.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/events/reRoyalBlood.js b/src/events/reRoyalBlood.js index e7d80a5453e..6275de99e49 100644 --- a/src/events/reRoyalBlood.js +++ b/src/events/reRoyalBlood.js @@ -180,7 +180,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { () => { const text = new DocumentFragment(); App.UI.DOM.appendNewElement("p", text, `You take a tablet and peruse the various court ladies on offer by the fledgling arcology. You single out a few interesting individuals for purchase that might suit your tastes, but the slapdash descriptions provided for each slave by the revolutionaries make it likely that any similarities to your aesthetic leanings will be coincidental. Once you are satisfied with your selection, you electronically transfer the credits to the new arcology and soon receive a receipt for your donation and an estimated delivery schedule.`); - App.UI.DOM.appendNewElement("p", text, `When the ladies arrive at your penthouse, they seem almost relieved at the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + App.UI.DOM.appendNewElement("p", text, `When the ladies arrive at your penthouse, they seem almost relieved at the opulence of their new surroundings. ${ladiesArrive()}`); // Ladies for (let i = 0; i < 3; i++) { @@ -199,7 +199,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { () => { const text = new DocumentFragment(); App.UI.DOM.appendNewElement("p", text, `You take a tablet and peruse the various court ladies on offer by the fledgling arcology.You single out a few interesting individuals for acquisition that might suit your tastes, but the slapdash descriptions provided for each by ${V.SF.Lower} Intelligence make it likely that any similarities to your aesthetic leanings will be coincidental. Once you are satisfied with your selection, you electronically transfer the order to The Colonel and soon receive a mission success notice along with an estimated delivery schedule.`); - App.UI.DOM.appendNewElement("p", text, `When the ladies arrive at your penthouse, they seem almost relieved at the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + App.UI.DOM.appendNewElement("p", text, `When the ladies arrive at your penthouse, they seem almost relieved at the opulence of their new surroundings. ${ladiesArrive()}`); // Ladies for (let i = 0; i < 3; i++) { @@ -293,7 +293,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { () => { const text = new DocumentFragment(); App.UI.DOM.appendNewElement("p", text, `You take a tablet and transmit a communication request to the new arcology owner with your intent. Once his shock wears off, he readily accepts with little need for negotiation. Soon, a flight of VTOLs land in the new arcology laden with goods. When they take off again they have the Queen, who is resigned to ${his3} fate, and a gaggle of terrified court ladies chained together.`); - App.UI.DOM.appendNewElement("p", text, `Eventually they all arrive in your penthouse.The Queen seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Meanwhile, the ladies seem comforted by the opulence of their new surroundings.Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + App.UI.DOM.appendNewElement("p", text, `Eventually they all arrive in your penthouse.The Queen seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Meanwhile, the ladies seem comforted by the opulence of their new surroundings. ${ladiesArrive()}`); // Ladies for (let i = 0; i < 3; i++) { @@ -316,7 +316,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { () => { const text = new DocumentFragment(); App.UI.DOM.appendNewElement("p", text, `Seizing a tablet, you quickly send a message to The Colonel. After dark, a flight of VTOLs land in the new arcology laden with troops. When they take off again they have the Queen, who is resigned to ${his3} fate, and a gaggle of terrified court ladies chained together.`); - App.UI.DOM.appendNewElement("p", text, `Eventually they all arrive in your penthouse. The Queen seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Meanwhile, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + App.UI.DOM.appendNewElement("p", text, `Eventually they all arrive in your penthouse. The Queen seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Meanwhile, the ladies seem comforted by the opulence of their new surroundings. `); V.arcologies[0].prosperity -= 13; // Ladies @@ -358,7 +358,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { } else { r.push(`The Queen`); } - r.push(`seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + r.push(`seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Lastly, the ladies seem comforted by the opulence of their new surroundings. ${ladiesArrive()}`); App.Events.addParagraph(text, r); // Princess @@ -412,7 +412,7 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { } else { r.push(`The Queen`); } - r.push(`seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`); + r.push(`seems almost relieved and basks in the opulence of ${his3} new surroundings. ${queenArrives()} Lastly, the ladies seem comforted by the opulence of their new surroundings. ${ladiesArrive()}`); App.Events.addParagraph(text, r); r = []; r.push(`You also scored <span class="yellowgreen">${cashFormat(loot)}</span> in valuables from the raid.`); @@ -759,5 +759,9 @@ App.Events.RERoyalBlood = class RERoyalBlood extends App.Events.BaseEvent { function princeArrives() { return `When ${he2} arrives in your penthouse, the former prince is beside ${himself2} with rage. When ${he2} is brought to be modified in the remote surgery, ${he2} breaks free and attempts to fight ${his2} way out of your penthouse. ${His2} attempt at freedom is futile, however, and ${he2} is soon overwhelmed by your guards and dragged back to the remote surgery. It doesn't take long for the valiant prince to become a new dickgirl, though ${his2} submission to life as a slave is another question entirely.`; } + + function ladiesArrive() { + return `Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over.`; + } } }; -- GitLab