diff --git a/src/markets/specificMarkets/slaveMarkets.js b/src/markets/specificMarkets/slaveMarkets.js index 2e2a329317378d44f97a998245495114fc216f57..a56152f5cd6a77cbea7e3d387a3d10e2f7e609a0 100644 --- a/src/markets/specificMarkets/slaveMarkets.js +++ b/src/markets/specificMarkets/slaveMarkets.js @@ -241,6 +241,15 @@ App.Markets.trainers = function() { el.append(App.Markets.generic("trainers")); return el; }; + +App.Markets.wetware = function() { + const el = new DocumentFragment(); + App.UI.DOM.appendNewElement("p", el, `Wetware CPUs offer highly trained slaves with useful career experience at a discount; That is, at the cost of the physical health of the merchandise.`, "scene-intro"); + + el.append(App.Markets.generic("wetware")); + return el; +}; + /** * * @param {*} slaveMarket @@ -249,7 +258,7 @@ App.Markets.trainers = function() { * @param {string} [param1.sTitleSingular] * @param {string} [param1.sTitlePlural] */ -App.Markets.generic = function(slaveMarket, {numArcology, sTitleSingular = "slave", sTitlePlural = "slaves"}) { +App.Markets.generic = function(slaveMarket, {numArcology, sTitleSingular = "slave", sTitlePlural = "slaves"} = {}) { const el = new DocumentFragment(); const marketResult = generateMarketSlave(slaveMarket, (numArcology || 1)); const slave = marketResult.slave; @@ -275,7 +284,7 @@ App.Markets.generic = function(slaveMarket, {numArcology, sTitleSingular = "slav ); el.append( - App.UI.buyingFromMarketControls(slave, _slaveCost, sTitleSingular, sTitlePlural) + App.UI.buyingFromMarketControls(slave, _slaveCost, slaveMarket, sTitleSingular, sTitlePlural) ); return el; };