From 1b32246ba1427224f0b6291f32b315bedbb2d338 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 1 Sep 2020 01:50:16 -0400 Subject: [PATCH] whitespace --- src/markets/theMarket/sellSlaves.js | 2 +- src/markets/theMarket/tradeMenials.js | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/markets/theMarket/sellSlaves.js b/src/markets/theMarket/sellSlaves.js index d4237afca59..6caea63744b 100644 --- a/src/markets/theMarket/sellSlaves.js +++ b/src/markets/theMarket/sellSlaves.js @@ -4,7 +4,7 @@ App.UI.sellSlaves = function() { App.UI.DOM.appendNewElement("h2", el, "Selling slaves"); const div = document.createElement("div"); - div.append(`While you are at the market, you may want to`); + div.append(`While you are at the market, you may want to `); div.append( App.UI.DOM.passageLink( `look at your own underperforming slaves`, diff --git a/src/markets/theMarket/tradeMenials.js b/src/markets/theMarket/tradeMenials.js index 4a9682690a4..ccf08f3929c 100644 --- a/src/markets/theMarket/tradeMenials.js +++ b/src/markets/theMarket/tradeMenials.js @@ -31,7 +31,7 @@ App.UI.tradeMenials = function() { const el = new DocumentFragment(); let div = document.createElement("div"); let span; - div.append(`Slave demand is`); + div.append(`Slave demand is `); if (V.menialDemandFactor <= -35000) { App.UI.DOM.appendNewElement("span", div, `extremely low`, ["red", "bold"]); } else if (V.menialDemandFactor <= -20000) { @@ -46,10 +46,10 @@ App.UI.tradeMenials = function() { App.UI.DOM.appendNewElement("span", div, `strong`, ["yellow", "bold"]); } if (V.deltaDemand > 0) { - div.append(` and`); + div.append(` and `); App.UI.DOM.appendNewElement("span", div, `improving`, ["green", "bold"]); } else if (V.deltaDemand < 0) { - div.append(` and`); + div.append(` and `); App.UI.DOM.appendNewElement("span", div, `decreasing`, ["red", "bold"]); } if (V.deltaDemand !== 0) { @@ -87,7 +87,7 @@ App.UI.tradeMenials = function() { const el = new DocumentFragment(); let span; let div = document.createElement("div"); - div.append(`Slave supply is`); + div.append(`Slave supply is `); if (V.menialSupplyFactor <= -35000) { App.UI.DOM.appendNewElement("span", div, "extremely low", ["green", "bold"]); @@ -103,10 +103,10 @@ App.UI.tradeMenials = function() { App.UI.DOM.appendNewElement("span", div, "strong", ["yellow", "bold"]); } if (V.deltaSupply > 0) { - div.append(` and`); + div.append(` and `); App.UI.DOM.appendNewElement("span", div, "improving", ["red", "bold"]); } else if (V.deltaSupply < 0) { - div.append(` and`); + div.append(` and `); App.UI.DOM.appendNewElement("span", div, "decreasing", ["green", "bold"]); } if (V.deltaSupply !== 0) { @@ -152,7 +152,7 @@ App.UI.tradeMenials = function() { } else { el.append(`You do not own any menial slaves.`); } - el.append(`The market price of menials is ${cashFormat(menialPrice)}.`); + el.append(` The market price of menials is ${cashFormat(menialPrice)}.`); if (bulkMax > 0 && V.cash > menialPrice) { div = document.createElement("div"); @@ -334,11 +334,11 @@ App.UI.tradeMenials = function() { const el = new DocumentFragment(); let div = document.createElement("div"); if (V.fuckdolls > 1) { - el.append(`You own ${num(Math.trunc(V.fuckdolls))} standard Fuckdolls.`); + el.append(`You own ${num(Math.trunc(V.fuckdolls))} standard Fuckdolls. `); } else if (V.fuckdolls > 0) { - el.append(`You own one standard Fuckdoll.`); + el.append(`You own one standard Fuckdoll. `); } else if (V.arcologies[0].FSPaternalist === "unset") { - el.append(`You do not own any standard Fuckdolls.`); + el.append(`You do not own any standard Fuckdolls. `); } if ((V.fuckdolls > 0) || (V.arcologies[0].FSPaternalist === "unset")) { el.append(`The market price of standard Fuckdolls is ${cashFormat(menialPrice)}.`); @@ -434,11 +434,11 @@ App.UI.tradeMenials = function() { const el = new DocumentFragment(); let div = document.createElement("div"); if (V.menialBioreactors > 1) { - el.append(`You own ${num(Math.trunc(V.menialBioreactors))} standard bioreactors.`); + el.append(`You own ${num(Math.trunc(V.menialBioreactors))} standard bioreactors. `); } else if (V.menialBioreactors > 0) { - el.append(`You own one standard bioreactor.`); + el.append(`You own one standard bioreactor. `); } else if (V.arcologies[0].FSPaternalist === "unset") { - el.append(`You do not own any standard bioreactors.`); + el.append(`You do not own any standard bioreactors. `); } if ((V.menialBioreactors > 0) || (V.arcologies[0].FSPaternalist === "unset")) { el.append(`The market price of standard bioreactors is ${cashFormat(menialPrice - 100)}.`); -- GitLab