diff --git a/src/js/economyJS.js b/src/js/economyJS.js index 57f3a9380e4e414bd334c913cfab0f33fbca52c7..f1ce8e5bcdd1dc2c45977ac6c5f88d1fb12a1262 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -397,7 +397,7 @@ window.calculateCosts = (function() { break; case Job.WHORE: cashX(forceNeg(slaveCost), "slaveAssignmentWhore", slave); - break; + break; case Job.PUBLIC: cashX(forceNeg(slaveCost), "slaveAssignmentPublic", slave); break; @@ -507,7 +507,7 @@ window.calculateCosts = (function() { break; } } - + // Calculate the servant reduction and credit them for it const reducibleUpkeep = Math.trunc(loopCosts * 0.2); V.ServQiIDs.forEach(ID => { @@ -2532,7 +2532,7 @@ window.supplyPoliciesReport = function(NPCclass) { const varName = `${NPCclass}Class`; const className = NPCclass !== 'top' ? `<b>${NPCclass} class citizens</b>` : `<b>arcology's millionaires</b>`; const dissatisfaction = `and their <span class='red'>dissatisfaction</span> with you is rising.`; - let overSupply = 0; + let overSupply = 0; if (V.sexDemandResult[varName] < 350) { r += `Your ${className} have <span class='red'>far too few options for sexual relief</span> inside your arcology`; @@ -2566,7 +2566,7 @@ window.supplyPoliciesReport = function(NPCclass) { if (overSupply > 0) { r += ` and the arcology provides ${overSupply/10}% more sexual services than required which <span class='red'>drives prices down</span>`; } - r += `, ${V.NPCMarketShare[varName]/10 === V.sexDemandResult[varName]/10 ? `the entire` : `${V.NPCMarketShare[varName]/10}% of the`} market is serviced by other suppliers operating inside your arcology.</i><br>`; + r += `, ${V.NPCMarketShare[varName]/10 === V.sexDemandResult[varName]/10 ? `the entire` : `${V.NPCMarketShare[varName]/10}% of the`} market is serviced by other suppliers operating inside your arcology.</i><br>`; // charge supply barriers (unreported, since it's a flat amount that you were told when you enacted the policy) const supplyCosts = [0, 1000, 5000, 20000, 60000]; @@ -2590,10 +2590,10 @@ window.supplyPoliciesReport = function(NPCclass) { }; window.ownershipReport = function({sidebar}) { - let tint, warrning = false, detail = `${V.arcologies[0].ownership}%`; + let tint, warning = false, detail = `${V.arcologies[0].ownership}%`; detail += V.assistant.power >= 1 && V.arcologies[0].ownership < 100 ? `:${V.arcologies[0].minority}%` : ``; if (V.arcologies[0].ownership < 100 && V.arcologies[0].minority+5 >= V.arcologies[0].ownership) { - tint = 'red'; warrning = true; + tint = 'red'; warning = true; } else if (V.arcologies[0].ownership >= V.arcologies[0].minority+10) { tint = 'yellowgreen'; } else if (V.arcologies[0].ownership >= V.arcologies[0].minority) { @@ -2608,7 +2608,7 @@ window.ownershipReport = function({sidebar}) { } else { r += `and there are no other significant holders.`; } - return r += warrning ? `<span class="warning"> A dangerously narrow margin of control.</span>` : ``; + return r += warning ? `<span class="warning"> A dangerously narrow margin of control.</span>` : ``; } }; diff --git a/src/pregmod/FCTV/seFCTVshows.tw b/src/pregmod/FCTV/seFCTVshows.tw index 5dd5d6b3141fd4b778d9d0042e7b9d1668328ea4..d2c3a54d0ff8c3138e5f3bd6fa0b9ab4a76c882a 100644 --- a/src/pregmod/FCTV/seFCTVshows.tw +++ b/src/pregmod/FCTV/seFCTVshows.tw @@ -435,7 +435,7 @@ <<set _slave.intelligence = random(-15,80)>> <<set _slave.intelligenceImplant = 15>> <<set _slave.devotion = random(60,90)>> - <<set _slave.rust = random(50,80)>> + <<set _slave.trust = random(50,80)>> <</if>> <<run FCTV.FinalTouches(_slave, 4)>>