diff --git a/src/Corporation/corporate-constants.js b/src/Corporation/corporate-constants.js index 35ada304801db41e9e32cf8170ec424e46d4f726..3cacb89f4cc564242aa0f55a072369eb02a1c680 100644 --- a/src/Corporation/corporate-constants.js +++ b/src/Corporation/corporate-constants.js @@ -99,22 +99,22 @@ App.Corporate.InitConstants = function() { */ App.Corporate.divisionList = [ new App.Corporate.Division.Acquiring( { - 'id':'Extra', - 'name':'Extralegal Enslavement', - 'focusDescription':'capturing and enslaving prisoners', + 'id': 'Extra', + 'name': 'Extralegal Enslavement', + 'focusDescription': 'capturing and enslaving prisoners', 'sizeCost': 20, - 'slaveValue':10, + 'slaveValue': 10, 'acquiring': { - 'center':1, + 'center': 1, 'range': 0.8, }, - 'maintenance':{ + 'maintenance': { 'linear': 7.5, 'quadratic': 5, - 'category':'acquisition', + 'category': 'acquisition', }, - 'founding':{ - 'corporateCash':100, + 'founding': { + 'corporateCash': 100, }, 'mercenaryHelp': { 'level': 2, @@ -124,13 +124,13 @@ App.Corporate.InitConstants = function() { "Break", "Arcade" ], - 'merger':[ + 'merger': [ { 'name': 'mercenary company', 'cost': 50, 'text': { - 'trouble':'a troubled mercenary company. After a spate of failed operations, the rank and file deposed their management and are now looking to merge with a better-run organization. The old leadership did not engage in enslavement activities, but the mercenaries have decided to turn their talents towards slaving for profit in conflict zones.', - 'acquire':' and ease their transition to conflict zone slaving.' + 'trouble': 'a troubled mercenary company. After a spate of failed operations, the rank and file deposed their management and are now looking to merge with a better-run organization. The old leadership did not engage in enslavement activities, but the mercenaries have decided to turn their talents towards slaving for profit in conflict zones.', + 'acquire': ' and ease their transition to conflict zone slaving.' }, 'result': { 'development': 5 @@ -143,34 +143,34 @@ App.Corporate.InitConstants = function() { 'name': 'Legal Enslavement', 'focusDescription': 'legal enslavement', 'sizeCost': 25, - 'slaveValue':15, + 'slaveValue': 15, 'acquiring': { - 'center':1, + 'center': 1, 'range': 0.5, }, - 'maintenance':{ + 'maintenance': { 'linear': 12, 'quadratic': 6, - 'category':'acquisition', + 'category': 'acquisition', }, - 'founding':{ - 'corporateCash':125, + 'founding': { + 'corporateCash': 125, }, 'nextDivision': [ "Train", "Menial", "Surgery" ], - 'merger':[ + 'merger': [ { - 'name':'telemarketing firm', + 'name': 'telemarketing firm', 'cost': 50, 'text': { - 'trouble':'an old world telemarketing firm. In an attempt to survive in the changing economy, it turned its focus towards convincing desperate, ignorant, or stupid people from the old world to accept voluntary enslavement, through a variety of entrapment procedures. It failed to make the transition successfully, but you could certainly continue its operations under your aegis.', - 'acquire':' and clean out the deadwood, getting the business in Free Cities shape.' + 'trouble': 'an old world telemarketing firm. In an attempt to survive in the changing economy, it turned its focus towards convincing desperate, ignorant, or stupid people from the old world to accept voluntary enslavement, through a variety of entrapment procedures. It failed to make the transition successfully, but you could certainly continue its operations under your aegis.', + 'acquire': ' and clean out the deadwood, getting the business in Free Cities shape.' }, 'result': { - 'development':5 + 'development': 5 } } ] @@ -182,25 +182,25 @@ App.Corporate.InitConstants = function() { 'sizeCost': 10, 'addedValue': 5, 'processing': { - 'center':0.3, - 'range':0.3, + 'center': 0.3, + 'range': 0.3, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.45, 'quadratic': 0.6, - 'category':'processing', + 'category': 'processing', }, - 'founding':{ - 'corporateCash':25, + 'founding': { + 'corporateCash': 25, }, - 'slaveProcessType':{ - 'present':'break', - 'past':'broke' + 'slaveProcessType': { + 'present': 'break', + 'past': 'broke' }, - 'slaveProcessDescription':{ - 'present':'attempting to break', - 'future':'break', - 'past':'broken', + 'slaveProcessDescription': { + 'present': 'attempting to break', + 'future': 'break', + 'past': 'broken', 'market': { single: 'slave that needs breaking', plural: 'slaves that need breaking' @@ -211,17 +211,17 @@ App.Corporate.InitConstants = function() { "Menial", "Surgery" ], - 'merger':[ + 'merger': [ { 'name': 'slave breaking facility', 'cost': 50, 'text': { - 'trouble':'a small slave breaking firm. Despite a great need for obedient slaves the owner of this little establishment was unable to turn a profit. The facility has everything a respecting slave breaking could ever need, it seems the owner simply lacked the right character to apply effective breaking techniques. Your corporation knows perfectly well what it takes to achieve obedience and the assets can be put to great use.', - 'acquire':' and staff it with qualified personnel to make use of the new assets.' + 'trouble': 'a small slave breaking firm. Despite a great need for obedient slaves the owner of this little establishment was unable to turn a profit. The facility has everything a respecting slave breaking could ever need, it seems the owner simply lacked the right character to apply effective breaking techniques. Your corporation knows perfectly well what it takes to achieve obedience and the assets can be put to great use.', + 'acquire': ' and staff it with qualified personnel to make use of the new assets.' }, 'result': { - 'development':5, - 'slaves':5 + 'development': 5, + 'slaves': 5 } } ] @@ -231,27 +231,27 @@ App.Corporate.InitConstants = function() { 'name': 'Slave Modifications', 'focusDescription': 'physical slave modifications', 'sizeCost': 20, - 'addedValue':8, + 'addedValue': 8, 'processing': { - 'center':0.5, - 'range':0.2, + 'center': 0.5, + 'range': 0.2, }, - 'maintenance':{ + 'maintenance': { 'linear': 2.4, 'quadratic': 1, - 'category':'processing', + 'category': 'processing', }, - 'founding':{ - 'corporateCash':55, + 'founding': { + 'corporateCash': 55, }, - 'slaveProcessType':{ - 'present':'modify', - 'past':'finished working on' + 'slaveProcessType': { + 'present': 'modify', + 'past': 'finished working on' }, - 'slaveProcessDescription':{ - 'present':'working on', - 'future':'work on', - 'past':'improved', + 'slaveProcessDescription': { + 'present': 'working on', + 'future': 'work on', + 'past': 'improved', 'market': { single: 'slave that could use some work done to their body', plural: 'slaves that could use some work done to their bodies' @@ -261,17 +261,17 @@ App.Corporate.InitConstants = function() { "Train", "Dairy" ], - 'merger':[ + 'merger': [ { 'name': 'medical clinic', 'cost': 50, 'text': { - 'trouble':"a small medical clinic. Medical malpractice continues to be a major source of trouble for surgeons in the old world. A plastic surgeon has just suffered defeat in a major legal case over implant ruptures. He's looking to make the transition to a more enlightened area, along with his inventory and staff.", - 'acquire':" and the surgeon decides to retire on the proceeds of the sale, wishing your corporation well. It was a smart decision; he can retire to the Free Cities on that sum of money, and remote surgery is killing surgeons' wages." + 'trouble': "a small medical clinic. Medical malpractice continues to be a major source of trouble for surgeons in the old world. A plastic surgeon has just suffered defeat in a major legal case over implant ruptures. He's looking to make the transition to a more enlightened area, along with his inventory and staff.", + 'acquire': " and the surgeon decides to retire on the proceeds of the sale, wishing your corporation well. It was a smart decision; he can retire to the Free Cities on that sum of money, and remote surgery is killing surgeons' wages." }, 'result': { 'development': 3, - 'slaves':3 + 'slaves': 3 } } ] @@ -283,25 +283,25 @@ App.Corporate.InitConstants = function() { 'sizeCost': 25, 'addedValue': 11, 'processing': { - 'center':0.2, - 'range':0.3, + 'center': 0.2, + 'range': 0.3, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.7, 'quadratic': 1, - 'category':'processing', + 'category': 'processing', }, - 'founding':{ - 'corporateCash':50, + 'founding': { + 'corporateCash': 50, }, - 'slaveProcessType':{ - 'present':'train', - 'past':'trained' + 'slaveProcessType': { + 'present': 'train', + 'past': 'trained' }, - 'slaveProcessDescription':{ - 'present':'training', - 'future':'train', - 'past':'trained', + 'slaveProcessDescription': { + 'present': 'training', + 'future': 'train', + 'past': 'trained', 'market': { single: 'slave that needs slave training', plural: 'slaves that need slave training' @@ -310,17 +310,17 @@ App.Corporate.InitConstants = function() { 'nextDivision': [ "Whore" ], - 'merger':[ + 'merger': [ { 'name': 'slave training firm', 'cost': 50, 'text': { - 'trouble':"a small slave training firm. Slave training is a notoriously difficult business, since the maturation times on the merchandise can be extremely long, and the improvement in price can be marginal if the training does not prove highly successful. There's nothing inherently wrong with the business, they've simply hit a cash flow bottleneck and need to merge with a cash-rich organization like yours.", - 'acquire':". The previous owners are happy they'll be able to continue operations under the aegis of a better-run, richer corporation." + 'trouble': "a small slave training firm. Slave training is a notoriously difficult business, since the maturation times on the merchandise can be extremely long, and the improvement in price can be marginal if the training does not prove highly successful. There's nothing inherently wrong with the business, they've simply hit a cash flow bottleneck and need to merge with a cash-rich organization like yours.", + 'acquire': ". The previous owners are happy they'll be able to continue operations under the aegis of a better-run, richer corporation." }, 'result': { 'development': 3, - 'slaves':3 + 'slaves': 3 } } ] @@ -331,39 +331,39 @@ App.Corporate.InitConstants = function() { 'focusDescription': 'operating sex arcades', 'sizeCost': 5, 'attrition': { - 'center':0.05, - 'range':0.2, + 'center': 0.05, + 'range': 0.2, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.2, 'quadratic': 0.125, - 'category':'working', + 'category': 'working', }, - 'revenue':{ - 'center':1000, - 'range':0.1 + 'revenue': { + 'center': 1000, + 'range': 0.1 }, - 'founding':{ - 'corporateCash':15, - 'startingSize':20, + 'founding': { + 'corporateCash': 15, + 'startingSize': 20, }, - 'slaveWorkDescription':{ - 'present':'exploiting', - 'future':'exploit', - 'past':'wore out', + 'slaveWorkDescription': { + 'present': 'exploiting', + 'future': 'exploit', + 'past': 'wore out', 'market': 'fresh slave' }, - 'merger':[ + 'merger': [ { 'name': 'café', 'cost': 50, 'text': { - 'trouble':"a quaint maid café. The prime location together with a popular concept should make for a bustling business and yet the owner is looking to get out of the business hoping to salvage some of his savings. Sadly there was a lack of capital to employ attractive servant slave maids. While someone might very well be more than willing to come in and invest in some better slaves, the place is so cheap you could easily replace the furniture and use the current assets to create a new arcade location for your corporation instead.", - 'acquire':". The old owner wishes his slaves luck under the new management, not knowing your plans for the place. A new sex arcade under your corporate umbrella will open shortly." + 'trouble': "a quaint maid café. The prime location together with a popular concept should make for a bustling business and yet the owner is looking to get out of the business hoping to salvage some of his savings. Sadly there was a lack of capital to employ attractive servant slave maids. While someone might very well be more than willing to come in and invest in some better slaves, the place is so cheap you could easily replace the furniture and use the current assets to create a new arcade location for your corporation instead.", + 'acquire': ". The old owner wishes his slaves luck under the new management, not knowing your plans for the place. A new sex arcade under your corporate umbrella will open shortly." }, 'result': { - 'development':5, - 'slaves':5 + 'development': 5, + 'slaves': 5 } } ] @@ -374,39 +374,39 @@ App.Corporate.InitConstants = function() { 'focusDescription': 'offering menial services', 'sizeCost': 6.5, 'attrition': { - 'center':0.05, - 'range':0.2, + 'center': 0.05, + 'range': 0.2, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.2, 'quadratic': 0.1, - 'category':'working', + 'category': 'working', }, - 'revenue':{ - 'center':1250, - 'range':0.2 + 'revenue': { + 'center': 1250, + 'range': 0.2 }, - 'founding':{ - 'corporateCash':20, - 'startingSize':20, + 'founding': { + 'corporateCash': 20, + 'startingSize': 20, }, - 'slaveWorkDescription':{ - 'present':'exploiting', - 'future':'exploit', - 'past':'wore out', - 'market':'menial slave' + 'slaveWorkDescription': { + 'present': 'exploiting', + 'future': 'exploit', + 'past': 'wore out', + 'market': 'menial slave' }, - 'merger':[ + 'merger': [ { 'name': 'slaveholding firm', 'cost': 50, 'text': { - 'trouble':"a minor slaveholding company. A major deal with a troubled government just fell through, and they had depended on it going through to an unwise degree. They need to merge with a larger slaving concern immediately, but there's nothing at all wrong with their significant inventory of slaves.", - 'acquire':", cash out its hapless staff, and absorb its stock into your corporation." + 'trouble': "a minor slaveholding company. A major deal with a troubled government just fell through, and they had depended on it going through to an unwise degree. They need to merge with a larger slaving concern immediately, but there's nothing at all wrong with their significant inventory of slaves.", + 'acquire': ", cash out its hapless staff, and absorb its stock into your corporation." }, 'result': { - 'development':5, - 'slaves':5 + 'development': 5, + 'slaves': 5 } } ] @@ -417,38 +417,38 @@ App.Corporate.InitConstants = function() { 'focusDescription': 'milking slaves', 'sizeCost': 15, 'attrition': { - 'center':0.05, - 'range':0.2, + 'center': 0.05, + 'range': 0.2, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.85, 'quadratic': 0.4, - 'category':'working', + 'category': 'working', }, - 'revenue':{ - 'center':3000, - 'range':0.2 + 'revenue': { + 'center': 3000, + 'range': 0.2 }, - 'founding':{ - 'corporateCash':25, + 'founding': { + 'corporateCash': 25, }, - 'slaveWorkDescription':{ - 'present':'milking', - 'future':'milk', - 'past':'ran dry', + 'slaveWorkDescription': { + 'present': 'milking', + 'future': 'milk', + 'past': 'ran dry', 'market': 'cow' }, - 'merger':[ + 'merger': [ { 'name': 'farm', 'cost': 50, 'text': { - 'trouble':"a dairy farm. Why a conventional dairy farm popped up as target confused you for a moment, but it quickly became clear the entire family was so deep in debt it would be a no brainer to buy the farm and start milking the farmer's large-uddered daughters as a great addition to your corporate dairy.", - 'acquire':" and your new slaves for the corporation. The family is not happy with your plans, but their approval is not required, you care only for their fluids." + 'trouble': "a dairy farm. Why a conventional dairy farm popped up as target confused you for a moment, but it quickly became clear the entire family was so deep in debt it would be a no brainer to buy the farm and start milking the farmer's large-uddered daughters as a great addition to your corporate dairy.", + 'acquire': " and your new slaves for the corporation. The family is not happy with your plans, but their approval is not required, you care only for their fluids." }, 'result': { - 'development':3, - 'slaves':3 + 'development': 3, + 'slaves': 3 } } ] @@ -459,38 +459,38 @@ App.Corporate.InitConstants = function() { 'focusDescription': 'whoring out slaves', 'sizeCost': 20, 'attrition': { - 'center':0.05, - 'range':0.2, + 'center': 0.05, + 'range': 0.2, }, - 'maintenance':{ + 'maintenance': { 'linear': 0.7, 'quadratic': 0.25, - 'category':'working', + 'category': 'working', }, - 'revenue':{ - 'center':3000, - 'range':0.1 + 'revenue': { + 'center': 3000, + 'range': 0.1 }, - 'founding':{ - 'corporateCash':50, + 'founding': { + 'corporateCash': 50, }, - 'slaveWorkDescription':{ - 'present':'whoring out', - 'future':'whore out', - 'past':'lost their appeal', + 'slaveWorkDescription': { + 'present': 'whoring out', + 'future': 'whore out', + 'past': 'lost their appeal', 'market': 'trained whore' }, - 'merger':[ + 'merger': [ { 'name': 'brothel', 'cost': 50, 'text': { - 'trouble':"a little brothel. With slave whores becoming the dominant force in sexual services the current madam lost her passion for the business. She's getting up there in age and has run a tight ship for many years so she deemed it the right time to bow out. All you need to do to add a new brothel location for your corporation is sign at the dotted line before anyone else has a chance to bite.", - 'acquire':" before anyone else can make an offer. The madam is surprised by your speed, but happily signs over the brothel." + 'trouble': "a little brothel. With slave whores becoming the dominant force in sexual services the current madam lost her passion for the business. She's getting up there in age and has run a tight ship for many years so she deemed it the right time to bow out. All you need to do to add a new brothel location for your corporation is sign at the dotted line before anyone else has a chance to bite.", + 'acquire': " before anyone else can make an offer. The madam is surprised by your speed, but happily signs over the brothel." }, 'result': { - 'development':3, - 'slaves':3 + 'development': 3, + 'slaves': 3 } } ] @@ -512,21 +512,21 @@ App.Corporate.InitConstants = function() { App.Corporate.maintenance = { divisionCategoriesList: [ { - id:'acquisition', + id: 'acquisition', freeDivisions: 0, divisionCost: 25000, freeDevelopment: 100, developmentCost: 2 }, { - id:'processing', + id: 'processing', freeDivisions: 0, divisionCost: 25000, freeDevelopment: 200, developmentCost: 1 }, { - id:'working', + id: 'working', freeDivisions: 1, divisionCost: 15000, freeDevelopment: 800, diff --git a/src/markets/specificMarkets/customSlaveMarket.js b/src/markets/specificMarkets/customSlaveMarket.js index d90915fd8222617b77dfc4496be571afb49035ab..2372c8c26cba79780044f6f65ffc14ad58a3907b 100644 --- a/src/markets/specificMarkets/customSlaveMarket.js +++ b/src/markets/specificMarkets/customSlaveMarket.js @@ -899,7 +899,7 @@ App.Markets["Custom Slave"] = function() { ["leg.right", "Right leg"], ]); - for (const [value, text] of limbs) { + for (const [value, text] of limbs) { const div = document.createElement("div"); // Desc setup diff --git a/src/markets/specificMarkets/huskSlave.js b/src/markets/specificMarkets/huskSlave.js index 39244fd5cc14646b7b528347fb92d5dbca2aa33b..ff4e664200fd8f5b5183a1b0f80d370b0e48c192 100644 --- a/src/markets/specificMarkets/huskSlave.js +++ b/src/markets/specificMarkets/huskSlave.js @@ -134,7 +134,7 @@ App.Markets["Husk Slave"] = function() { p.append(`Futanari.`); } const choices = { - Important: 0, + "Important": 0, "Not Important": 1, }; p.append(links(choices, "virgin")); diff --git a/src/markets/specificMarkets/schoolFutanari.js b/src/markets/specificMarkets/schoolFutanari.js index dbcfc77bb7851e9367a31cb1eaceb137cd74f107..8e9ddba2aacb15447bbc37d00e9b735a591ac203 100644 --- a/src/markets/specificMarkets/schoolFutanari.js +++ b/src/markets/specificMarkets/schoolFutanari.js @@ -162,12 +162,12 @@ App.Markets.TFS = function() { } let costMod = 0.8; if (V.TFS.schoolSale !== 0) { - costMod = costMod * 0.5; + costMod *= 0.5; } else if (V.TFS.schoolUpgrade !== 0) { - costMod = costMod * 0.8; + costMod *= 0.8; } el.append( - App.Markets.purchaseFramework("TFS", {costMod:costMod}) + App.Markets.purchaseFramework("TFS", {costMod: costMod}) ); return el; diff --git a/src/markets/specificMarkets/schools.js b/src/markets/specificMarkets/schools.js index ea21559657c975c65a93611fb159e8c8ce6f288d..e68521ac77ac7311b634bcd520bc313a31506300 100644 --- a/src/markets/specificMarkets/schools.js +++ b/src/markets/specificMarkets/schools.js @@ -25,7 +25,7 @@ App.Markets.GRI = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("GRI", {costMod:costMod}) + App.Markets.purchaseFramework("GRI", {costMod: costMod}) ); return el; @@ -55,7 +55,7 @@ App.Markets.LDE = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("LDE", {costMod:costMod}) + App.Markets.purchaseFramework("LDE", {costMod: costMod}) ); return el; @@ -86,7 +86,7 @@ App.Markets.NUL = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("NUL", {costMod:costMod}) + App.Markets.purchaseFramework("NUL", {costMod: costMod}) ); return el; @@ -123,7 +123,7 @@ App.Markets.SCP = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("SCP", {costMod:costMod}) + App.Markets.purchaseFramework("SCP", {costMod: costMod}) ); return el; @@ -157,7 +157,7 @@ App.Markets.TCR = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("TCR", {costMod:costMod, sTitleSingular: "cow", sTitlePlural: "cattle"}) + App.Markets.purchaseFramework("TCR", {costMod: costMod, sTitleSingular: "cow", sTitlePlural: "cattle"}) ); return el; @@ -193,7 +193,7 @@ App.Markets.TGA = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("TGA", {costMod:costMod}) + App.Markets.purchaseFramework("TGA", {costMod: costMod}) ); return el; @@ -221,7 +221,7 @@ App.Markets.HA = function() { costMod = 1.2; } el.append( - App.Markets.purchaseFramework("HA", {costMod:costMod}) + App.Markets.purchaseFramework("HA", {costMod: costMod}) ); return el; @@ -257,7 +257,7 @@ App.Markets.TSS = function() { costMod = 0.8; } el.append( - App.Markets.purchaseFramework("TSS", {costMod:costMod}) + App.Markets.purchaseFramework("TSS", {costMod: costMod}) ); return el; @@ -275,7 +275,7 @@ App.Markets.TUO = function() { costMod = 1.2; } el.append( - App.Markets.purchaseFramework("TUO", {costMod:costMod}) + App.Markets.purchaseFramework("TUO", {costMod: costMod}) ); return el; diff --git a/src/markets/specificMarkets/slaveMarkets.js b/src/markets/specificMarkets/slaveMarkets.js index 2240f470c0c451638144e6adf5ef4125a7d01704..43ac7235a419d0952288f13a4f9c623b62b13a0d 100644 --- a/src/markets/specificMarkets/slaveMarkets.js +++ b/src/markets/specificMarkets/slaveMarkets.js @@ -208,7 +208,7 @@ App.Markets.neighbor = function() { costMod = (1 - (_opinion * 0.05)); } - el.append(App.Markets.purchaseFramework("neighbor", {costMod:costMod})); + el.append(App.Markets.purchaseFramework("neighbor", {costMod: costMod})); return el; }; diff --git a/src/pregmod/eliteBreedingExam.js b/src/pregmod/eliteBreedingExam.js index cd91cfc011409ee4e8d917180c6c45d4bae262b3..7258819cddb8fbdaf791656e73c045f4472c15cd 100644 --- a/src/pregmod/eliteBreedingExam.js +++ b/src/pregmod/eliteBreedingExam.js @@ -1,17 +1,17 @@ -globalThis.eliteBreedingExam = function(slave = null) { +globalThis.eliteBreedingExam = function(slave = null) { const eliteAngered = V.failedElite > 100; const SlaveProfessionalismEstablished = V.arcologies[0].FSSlaveProfessionalism > 20; - const preferYounger= V.arcologies[0].FSYouthPreferentialist > 20; + const preferYounger = V.arcologies[0].FSYouthPreferentialist > 20; const partyAnimal = V.arcologies[0].FSHedonisticDecadence > 20; const cost = 5000; let r = [], test, passing = 0, fixable; - + const result = function() { if (slave) { if (test === true) { return `<span class="lime">PASSED</span>`; } else if (fixable) { - return `<span class="yellow">Within fixable range.</span>` + return `<span class="yellow">Within fixable range.</span>`; } else { passing--; return `<span class="red">FAILED</span>`; @@ -33,12 +33,12 @@ globalThis.eliteBreedingExam = function(slave = null) { test = slave.intelligence + slave.intelligenceImplant >= (eliteAngered ? 95 : 50); } r.push(`Must be ${eliteAngered ? 'highly intelligent' : 'very smart'}. ${result()}`); - + if (slave) { test = Beauty(slave) >= (eliteAngered ? 120 : 100); } r.push(`Must be ${eliteAngered ? 'unbelievably' : ''} beautiful. ${result()}`); - + if (slave) { test = slave.face >= (eliteAngered ? 95 : 40); } @@ -46,9 +46,9 @@ globalThis.eliteBreedingExam = function(slave = null) { if (slave) { test = slave.chem <= 20; - } + } r.push(`Their health must not be overly impacted by drug use. ${result()}`); - + if (slave) { test = slave.addict === 0; } @@ -63,7 +63,7 @@ globalThis.eliteBreedingExam = function(slave = null) { test = slave.physicalAge < targetAge; } } - r.push(`Must be ${preferYounger? 'younger' : 'older'} than ${targetAge}. ${result()}`); + r.push(`Must be ${preferYounger ? 'younger' : 'older'} than ${targetAge}. ${result()}`); } if (V.arcologies[0].FSIntellectualDependency > 20) { @@ -216,7 +216,7 @@ globalThis.eliteBreedingExam = function(slave = null) { r.push(`Must be big, soft and fat. ${result()}`); } } - + if (slave) { if (passing === 2) { r.push(`The aforementioned slave has been deemed <span class="yellow">currently unsuitable</span> for breeding, but may be resubmitted after corrections are applied. We understand the subjective nature of "fit" and do not wish to preclude the use a viable breeder over such a trivial fix. A contraceptive routine has been applied to protect against "accidents" in the interim.`); @@ -228,10 +228,10 @@ globalThis.eliteBreedingExam = function(slave = null) { r.push(`The aforementioned slave has been deemed <span class="green">worthy</span> of being used for breeding and has been marked as such. Please note the increased restrictions on breeding slaves.`); r.push(`They are not permitted for public use or anything that may harm their growing child. The child within them is considered a member of the Elite class and as such, any harm that comes to them will result in severe penalties to the breeder's owner. Development of the child will be closely monitored; should the fetus be identified as not of the owner's blood (or any other member of the Elite class), said owner shall face severe fines.`); slave.breedingMark = 1; slave.pregControl = "none"; - removeJob(slave, slave.assignment); + removeJob(slave, slave.assignment); } cashX(-cost, "capEx"); } - + return r.map(t => `<div>${t}</div>`).join(""); };