From b8d3662dc398df39a6b34de9b930c263d901a063 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 8 Nov 2021 12:25:34 -0500 Subject: [PATCH] comma fix --- .../backwardsCompatibility.js | 18 ++++++++++++++++++ src/events/RESS/review/heavyPiercing.js | 2 +- src/npc/interaction/fDance.js | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index e7450539b16..d7284b0bfd7 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -882,6 +882,24 @@ App.Update.globalVariables = function(node) { V.building.sections.push(new App.Arcology.Section("penthouse", [[new App.Arcology.Cell.Penthouse()]])); } + const scleraMap = new Map([ + ["black", 20], + ["obsidian", 1], + ["onyx", 1], + ["pale white", 1], + ["ivory", 1], + ["crimson", 1], + ["ruby", 1], + ["pink", 1], + ]); + const scleraArray = []; + for (const [name, odds] of scleraMap) { + for (let i = odds; i > 0; i--) { + scleraArray.push(name); + } + } + slave.eye.left.sclera = jsEither(scleraArray); + if (jQuery.isEmptyObject(V.trinkets)) { V.trinkets = new Map([]); switch (V.PC.career) { diff --git a/src/events/RESS/review/heavyPiercing.js b/src/events/RESS/review/heavyPiercing.js index f51e22078c5..700b8e259c0 100644 --- a/src/events/RESS/review/heavyPiercing.js +++ b/src/events/RESS/review/heavyPiercing.js @@ -57,7 +57,7 @@ App.Events.RESSHeavyPiercing = class RESSHeavyPiercing extends App.Events.BaseEv r.push(`with ${his} legs spread,`); } if (eventSlave.belly >= 50000) { - r.push(`, belly brushing the floor,`); + r.push(r.pop() + `, belly brushing the floor,`); } if (canSee(eventSlave)) { r.push(`blindfold ${him},`); diff --git a/src/npc/interaction/fDance.js b/src/npc/interaction/fDance.js index f058b5a2211..466ffa260eb 100644 --- a/src/npc/interaction/fDance.js +++ b/src/npc/interaction/fDance.js @@ -910,7 +910,7 @@ App.Interact.fDance = function(slave) { r.push(`s`); } } - r.push(`, but is open in front, leaving ${his}`); + r.push(r.pop() + `, but is open in front, leaving ${his}`); if (slave.boobs > 4000) { r.push(`boobs completely bare. It tucks into a golden belt, though this is buried under ${his} breasts.`); } else if (slave.boobs > 300) { -- GitLab