Skip to content
Snippets Groups Projects
Commit e8af646b authored by lowercasedonkey's avatar lowercasedonkey
Browse files

typing fixes

parent 0ca97064
No related branches found
No related tags found
1 merge request!9570Busy suite to js
......@@ -25,7 +25,7 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
execute(node) {
const msSlaves = V.slaves.filter((s) => s.fuckdoll === 0 && s.assignment === "serve in the master suite")
.map((s) => {
/** @type {FC.SlaveActs[]} */
/** @type {Array<FC.SlaveActs|"none">} */
let options = [];
if (canDoAnal(s) && s.anus > 0) {
options.push("anal");
......@@ -36,7 +36,7 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
if (options.length === 0) {
options.push("none");
}
return { slave: s, mode: options.pluck() };
return {slave: s, mode: options.pluck()};
});
const bottomSlave = msSlaves.find((s) => s.mode !== "none").slave;
let r = [];
......@@ -69,7 +69,7 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
/* build the train from all participating slaves */
msSlaves.filter((s) => s.mode !== "none").reduce((acc, cur, i, arr) => {
let r = ``;
const { mode, slave } = cur;
const {mode, slave} = cur;
const nextSlave = (i + 1 >= arr.length) ? S.Concubine : arr[i + 1].slave;
let hole = () => {
if (mode === "vaginal") {
......@@ -141,7 +141,9 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
/* top slave */
r += `Finally, ${slave.slaveName}'s ${hole()} is filled by ${penetrator()}, who has paused ${his} thrusting to issue a preemptory order to the slaves to stay where they are, before turning to greet you cheerfully.`;
}
seX(nextSlave, "penetrative", slave, mode, 1);
if (mode !== "none") {
seX(nextSlave, "penetrative", slave, mode, 1);
}
return acc + ` ` + r;
}, ``)
]);
......@@ -156,7 +158,7 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
let top = msSlaves.slice().reverse().find((s) => s.mode !== "none");
/** @type {FC.SlaveActs} */
/** @type {FC.SlaveActs|"none"} */
let concubineMode = "none";
let concubineHole;
if (canDoAnal(S.Concubine) && S.Concubine.anus > 0) {
......@@ -234,10 +236,14 @@ App.Events.REBusyMasterSuite = class REBusyMasterSuite extends App.Events.BaseEv
}
r.push(`You work your way down the line, orgasm by orgasm, delaying your own climax until the exhausted ${bottomSlave.slaveName} manages yet another orgasm by heroic efforts, and you're done. As you roll off ${him2}, panting, there is scattered applause and much congratulation from your harem of <span class="trust inc">trusting slaves.</span>`);
S.Concubine.trust += 5;
seX(V.PC, "penetrative", S.Concubine, concubineMode);
if (concubineMode !== "none") {
seX(V.PC, "penetrative", S.Concubine, concubineMode);
}
msSlaves.forEach((s) => {
s.slave.trust += 1;
seX(V.PC, "penetrative", s.slave, s.mode);
if (s.mode !== "none") {
seX(V.PC, "penetrative", s.slave, s.mode);
}
});
if (canImpreg(bottomSlave, V.PC)) {
knockMeUp(bottomSlave, 10, 1, V.PC.ID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment