diff --git a/src/markets/specificMarkets/corporateMarket.js b/src/markets/specificMarkets/corporateMarket.js index 8dc11dac2f848a2c7a7e3bd3155dbbb35791e4fb..6773e02a873c91fe84305d232b5f39682092a130 100644 --- a/src/markets/specificMarkets/corporateMarket.js +++ b/src/markets/specificMarkets/corporateMarket.js @@ -54,7 +54,7 @@ App.Markets.corporate = function() { let corpSpecRace; if (V.corp.SpecNationality) { corpSpecRace = V.corp.SpecNationality; - } else if ((V.corp.SpecRaces.length === 1)) { + } else if (V.corp.SpecRaces.length > 0) { corpSpecRace = V.corp.SpecRaces.jsRandom(); } r.push(`${HeU}'s ${corpSpecRace}, of course${(V.corp.SpecAccent === 1) ? `, and has a cute accent` : ``}.`); @@ -69,7 +69,7 @@ App.Markets.corporate = function() { } else if (V.corp.SpecMuscle === 5) { r.push(`${HisU} suit is specially tailored to flatter ${hisU} visible musculature.`); } - r.push(`Of course, you know all about the corporation, but sales${V.corp.SpecAge === 3 ? womenU : `${girlU}s`} here have standing orders to treat you like any other customer, so you can review the market properly. The slave turns to `); + r.push(`Of course, you know all about the corporation, but sales${V.corp.SpecAge === 3 ? womenU : `${girlU}s`} here have standing orders to treat you like any other customer, so you can review the market properly. The slave turns to`); if (V.corp.SpecAmputee !== 1) { r.push(`a multimedia presentation on`); } else { @@ -143,7 +143,7 @@ App.Markets.corporate = function() { } else { r.push(`pussy is nice and wet, and your cock slides inside ${himU} easily`); } - r.push(`as you consider the slaves on offer. ${HeU}'s well trained, and uses ${hisU} `); + r.push(`as you consider the slaves on offer. ${HeU}'s well trained, and uses ${hisU}`); if (V.corp.SpecGender === 2 && V.corp.SpecPussy !== 1) { r.push(`sphincter`); } else { diff --git a/src/markets/specificMarkets/criminalMarkets.js b/src/markets/specificMarkets/criminalMarkets.js index 9ab3f2e75fb38bc4af7a06a920ff8683370cb83c..0b27bca57fbee5862228de2a88aeae885688c400 100644 --- a/src/markets/specificMarkets/criminalMarkets.js +++ b/src/markets/specificMarkets/criminalMarkets.js @@ -2,7 +2,7 @@ App.Markets["low tier criminals"] = function() { const el = new DocumentFragment(); let r = []; // mixed prisoners - r.push(`You board the transport to a small prison on the edge of the city spanning from the foot of your arcology with the appearance of an old world police station. You arrive inside and are met by a cute receptionist, asking why one such as yourself would visit such a place. With formalities out of the way, the head of the station is called and arrives shortly. "Well now, didn't expect to see you here. Came to pick up a criminal and give them a chance at not being a menial?" You are then led further into the station and into the prisoners' quarters; most of them appear downcast and dismal, but some look up to see what the commotion is about. "You! Come here! This fine `); + r.push(`You board the transport to a small prison on the edge of the city spanning from the foot of your arcology with the appearance of an old world police station. You arrive inside and are met by a cute receptionist, asking why one such as yourself would visit such a place. With formalities out of the way, the head of the station is called and arrives shortly. "Well now, didn't expect to see you here. Came to pick up a criminal and give them a chance at not being a menial?" You are then led further into the station and into the prisoners' quarters; most of them appear downcast and dismal, but some look up to see what the commotion is about. "You! Come here! This fine`); if (V.PC.title === 1) { r.push(`gentleman`); } else { @@ -57,7 +57,7 @@ App.Markets["white collar"] = function() { App.Markets["military prison"] = function() { const el = new DocumentFragment(); let r = []; - r.push(`You board the transport to a holding facility for prisoners of war located on the outskirts of the Free City, which is reasonable due to the dangers inherent to the criminals imprisoned in such an establishment. The driver radios ahead that you and several other interested parties will be arriving shortly. Once you disembark at the edge of the grounds, you are recognized by the stationed guard and ushered into a heavily armored vehicle. `); + r.push(`You board the transport to a holding facility for prisoners of war located on the outskirts of the Free City, which is reasonable due to the dangers inherent to the criminals imprisoned in such an establishment. The driver radios ahead that you and several other interested parties will be arriving shortly. Once you disembark at the edge of the grounds, you are recognized by the stationed guard and ushered into a heavily armored vehicle.`); if (V.PC.career === "mercenary") { r.push(`The interior brings back memories and you completely`); } else { diff --git a/src/markets/specificMarkets/householdLiquidator.js b/src/markets/specificMarkets/householdLiquidator.js index 190d30d8e53e6f67d8d4ede1a30e31cc79629d3d..f819827ae391f5d2694e6b1f9d7255b2a6ecc161 100644 --- a/src/markets/specificMarkets/householdLiquidator.js +++ b/src/markets/specificMarkets/householdLiquidator.js @@ -108,7 +108,7 @@ App.Markets["Household Liquidator"] = function() { _totalCost = _slaveCost * 4; } - el.append(`The price is `); + el.append(`The price is`); el.append(App.UI.DOM.cashFormat(_totalCost)); el.append(`.`); if (V.slavesSeen > V.slaveMarketLimit) { diff --git a/src/markets/specificMarkets/huskSlave.js b/src/markets/specificMarkets/huskSlave.js index 60040aba2755db6846809520881123d46f44a856..39244fd5cc14646b7b528347fb92d5dbca2aa33b 100644 --- a/src/markets/specificMarkets/huskSlave.js +++ b/src/markets/specificMarkets/huskSlave.js @@ -143,7 +143,7 @@ App.Markets["Husk Slave"] = function() { function reserve() { const p = document.createElement("p"); - App.UI.DOM.appendNewElement("div", p, `Reserving a body will cost ${cashFormat(10000)} up front. Canceling an order will refund your money; however, if a delivered body is rejected, your money will not be refunded. `); + App.UI.DOM.appendNewElement("div", p, `Reserving a body will cost ${cashFormat(10000)} up front. Canceling an order will refund your money; however, if a delivered body is rejected, your money will not be refunded.`); if (V.huskSlaveOrdered === 1) { p.append( diff --git a/src/markets/specificMarkets/schoolFutanari.js b/src/markets/specificMarkets/schoolFutanari.js index 101f11f54c8b965542f6d9a6b081e203a9e0718d..df008cb4ffc9258106df203b78469f29fe21b846 100644 --- a/src/markets/specificMarkets/schoolFutanari.js +++ b/src/markets/specificMarkets/schoolFutanari.js @@ -29,7 +29,7 @@ App.Markets.TFS = function() { } else { r.push(`"Protectrix,`); } - r.push(`thank you so much for coming to see us. Our own Selection of a Sister to serve in slavery is not to take place for some time, but our communications interface in that side room," she points, "will permit you to access a regional listing of Selected Sisters ${(V.TFS.farmUpgrade > 0) ? `, all of which are fully fertile and produce their own natural female hormones, thanks to you` : ``}." She looks uncharacteristically uncertain. "Will you permit me to `); + r.push(`thank you so much for coming to see us. Our own Selection of a Sister to serve in slavery is not to take place for some time, but our communications interface in that side room," she points, "will permit you to access a regional listing of Selected Sisters ${(V.TFS.farmUpgrade > 0) ? `, all of which are fully fertile and produce their own natural female hormones, thanks to you` : ``}." She looks uncharacteristically uncertain. "Will you permit me to`); if (V.PC.dick !== 0) { if (V.PC.vagina !== -1) { r.push(`worship your perfect genitalia`); @@ -39,7 +39,7 @@ App.Markets.TFS = function() { } else { r.push(`adore your pussy`); } - r.push(`while you use it? I think my Sisters will forgive me the infidelity." `); + r.push(`while you use it? I think my Sisters will forgive me the infidelity."`); if (V.PC.dick !== 0 && V.PC.vagina !== -1 && V.PC.boobs >= 300) { r.push(`She looks at you speculatively. "Or you could join us for a while."`); } diff --git a/src/markets/specificMarkets/schools.js b/src/markets/specificMarkets/schools.js index ce4a5d7b29ce337822026fece37e1caf2edc8ed9..22ea49ec52f167afc493297f6f53a5023b0ca9c8 100644 --- a/src/markets/specificMarkets/schools.js +++ b/src/markets/specificMarkets/schools.js @@ -110,7 +110,7 @@ App.Markets.SCP = function() { } else { r.push(`diversification of the school's approach into general slave training that produces graduates with basic skills.`); } - r.push(`As a major `); + r.push(`As a major`); if (V.PC.title === 0) { r.push(`benefactrix`); } else { @@ -181,13 +181,13 @@ App.Markets.TGA = function() { let r = []; r.push(`The Gymnasium-Academy is a very unusual slave school. It sits at a bizarre juncture of the evolving gender roles and slave roles in the Free Cities. Its graduates are exclusively born male, and are not surgically or hormonally changed, but are thoroughly indoctrinated in the gender roles of the Free Cities to be accepting of their place in the new and rapidly changing world. Since the Gymnasium-Academy produces graduates with a greater ability to build muscle, fitness and virility than any of its competitors, it also trains for athletic perfection to further differentiate them. This training relies on traditional methods of corporal punishment.`); if (V.TGA.schoolUpgrade !== 0) { - r.push(`Since you have endowed `); + r.push(`Since you have endowed`); if (V.TGA.schoolUpgrade === 1) { r.push(`advanced training methods at the Gymnasium-Academy, its graduates are now fanatically loyal.`); } else { r.push(`a combat training center at the Gymnasium-Academy, its graduates are now deadly fighters.`); } - r.push(`As a major `); + r.push(`As a major`); if (V.PC.title === 0) { r.push(`benefactrix`); } else { @@ -251,7 +251,7 @@ App.Markets.TSS = function() { } else { r.push(`an improvement in the simplistic school's approach that teaches good basic skills without losing too much efficiency.`); } - r.push(`As a major `); + r.push(`As a major`); if (V.PC.title === 0) { r.push(`benefactrix`); } else { diff --git a/src/markets/specificMarkets/slaveMarkets.js b/src/markets/specificMarkets/slaveMarkets.js index 05c3438764185dc07e599873d7e7f309ee21d8b9..353ebf83585b6f2a71a69b5028fd1ab30fb54c5a 100644 --- a/src/markets/specificMarkets/slaveMarkets.js +++ b/src/markets/specificMarkets/slaveMarkets.js @@ -32,9 +32,9 @@ App.Markets.wetware = function() { let _wetware = jsRandom(1, 4); if (_wetware === 1) { - r.push(`Just past a scientist, you can see a `); + r.push(`Just past a scientist, you can see a`); if (V.seeExtreme === 1) { - r.push(`limbless `); + r.push(`limbless`); } r.push(`slave being extracted from a tank filled with fluid wearing a bizarre helmet. As the device is removed by a technician, the slave begins to panic as _heU is dragged from _hisU virtual life and realizes exactly what has happened to _hisU body.`); } else if (_wetware === 2) { diff --git a/src/markets/specificMarkets/specialSlave.js b/src/markets/specificMarkets/specialSlave.js index eca5257c7b5f845759afb314b4f75b9eb9b95755..ac1c71c72276669065a7bf32ca1870c4129bbc2f 100644 --- a/src/markets/specificMarkets/specialSlave.js +++ b/src/markets/specificMarkets/specialSlave.js @@ -135,7 +135,7 @@ App.Markets["Special Slave"] = function() { App.UI.DOM.appendNewElement("p", el, App.Desc.longSlave(slave, {market: "generic"})); p = document.createElement("p"); - p.append(`The offered price is ${cashFormat(slaveCost)}. `); + p.append(`The offered price is ${cashFormat(slaveCost)}.`); p.append( App.UI.DOM.link( `Buy ${his} slave contract`, diff --git a/src/markets/theMarket/buySlaves.js b/src/markets/theMarket/buySlaves.js index 9e7e5f936587d9054db3be177d576c6afd5ed8de..be7e0a802ad7a5453b9239475fd81e3e8b21e422 100644 --- a/src/markets/theMarket/buySlaves.js +++ b/src/markets/theMarket/buySlaves.js @@ -20,7 +20,7 @@ App.UI.buySlaves = function() { } else if (V.slaveCostFactor < 1) { App.UI.DOM.appendNewElement("div", el, `The slave market is bearish; the price of slaves is low. `, "yellow"); } else { - App.UI.DOM.appendNewElement("div", el, `The slave market is stable; the price of slaves is average. `); + App.UI.DOM.appendNewElement("div", el, `The slave market is stable; the price of slaves is average.`); } App.UI.DOM.appendNewElement("h2", el, "Sex Slave Purchase Options"); diff --git a/src/markets/theMarket/sellSlaves.js b/src/markets/theMarket/sellSlaves.js index 6caea63744ba827f055c53029763292f999aba92..d4237afca5968ea19c59021969c5ed0fdafef851 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 be7ab60a304f6f231b29581c5b9cc36c0462e79d..4a9682690a4c8119be6d35c16240092a62fa0a8c 100644 --- a/src/markets/theMarket/tradeMenials.js +++ b/src/markets/theMarket/tradeMenials.js @@ -13,7 +13,7 @@ App.UI.tradeMenials = function() { App.UI.DOM.appendNewElement("div", el, popCap.text); bulkMax = popCap.value - V.menials - V.fuckdolls - V.menialBioreactors; - App.UI.DOM.appendNewElement("div", el, `The parts of your arcology you own can house a total of ${num(popCap.value)} menial slaves. `); + App.UI.DOM.appendNewElement("div", el, `The parts of your arcology you own can house a total of ${num(popCap.value)} menial slaves.`); el.append(menialTrading()); @@ -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) { @@ -146,13 +146,13 @@ App.UI.tradeMenials = function() { const el = new DocumentFragment(); let div = document.createElement("div"); if (V.menials > 1) { - el.append(`You own ${num(Math.trunc(V.menials))} menial slaves. `); + el.append(`You own ${num(Math.trunc(V.menials))} menial slaves.`); } else if (V.menials > 0) { - el.append(`You own one menial slave. `); + el.append(`You own one menial slave.`); } else { - el.append(`You do not own any menial slaves. `); + 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,14 +334,14 @@ 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)}. `); + el.append(`The market price of standard Fuckdolls is ${cashFormat(menialPrice)}.`); if (bulkMax > 0) { if (V.arcologies[0].FSPaternalist === "unset" && V.cash > menialPrice) { div = document.createElement("div"); @@ -434,14 +434,14 @@ 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)}. `); + el.append(`The market price of standard bioreactors is ${cashFormat(menialPrice - 100)}.`); if (bulkMax > 0) { if (V.arcologies[0].FSPaternalist === "unset" && V.cash > menialPrice) { div = document.createElement("div");