From 81626f88c51bc6be6f3d345cf30a231f8e929963 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Thu, 18 Apr 2019 23:01:40 +0200 Subject: [PATCH] whitespace --- src/endWeek/saWhore.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/endWeek/saWhore.js b/src/endWeek/saWhore.js index adeb229cae6..6e04abf8685 100644 --- a/src/endWeek/saWhore.js +++ b/src/endWeek/saWhore.js @@ -78,7 +78,6 @@ window.saWhore = (function saWhore() { // I suspect this one will mostly be cut out in the overhauling /** @param {App.Entity.SlaveState} slave */ function updateNonSlaveVariables(slave) { - // FResult setting FuckResult = FResult(slave); //slave needs release @@ -102,7 +101,7 @@ window.saWhore = (function saWhore() { if (canDoAnal(slave) && slave.anus === 0) { FuckResult += 10; } - + // Beauty setting beauty = Beauty(slave); if (V.ACitizens > (V.ASlaves * 4)) { @@ -127,7 +126,7 @@ window.saWhore = (function saWhore() { if (slave.minorInjury !== 0) { beauty -= 1; } - + // Beauty multipliers beautyMultiplier = 1; if (V.brothel > 0) { @@ -211,7 +210,7 @@ window.saWhore = (function saWhore() { } } } - + // setting and adjustments beauty = Math.trunc(beauty * beautyMultiplier); if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs") ||(slave.hears === -2)) { @@ -228,7 +227,7 @@ window.saWhore = (function saWhore() { } T.incomeStats.customers = beauty; } - + /** @param {App.Entity.SlaveState} slave */ function jobPreface(slave) { if (slave.devotion > 95 || slave.energy > 95) { @@ -591,7 +590,7 @@ window.saWhore = (function saWhore() { } else if (slave.skill.entertainer >= V.masteredXP) { r += ` ${He} has experience as a prostitute from working for you, making ${him} more effective.`; } - + if (!canWalk(slave)) { if ((V.universalRulesFacilityWork === 1 && slave.assignment === "whore" && V.brothelSpots > 0) || (slave.assignment === "work in the brothel")) { r += ` Since ${he} can't walk, ${he} spends all of $his time in $his own room in ${V.brothelName}. Customers come in, fuck ${him}, and leave.`; @@ -705,14 +704,14 @@ window.saWhore = (function saWhore() { if ((slave.releaseRules === "restrictive" || slave.releaseRules === "chastity") && slave.standardReward !== "orgasm") { r += ` ${He}'s a better whore because prostitution is ${his} main sexual outlet.`; } - + //Someone double check this block if (V.familyTesting === 1) { if (totalRelatives(slave) > 0) { let children = []; children = V.slaves.filter( - function(s) { - return ((slave.ID == s.father || slave.ID == s.mother || s.ID == slave.father || s.ID == slave.mother || areSisters(slave, s) > 0) && (s.assignment === slave.assignment)); + function(s) { + return ((slave.ID == s.father || slave.ID == s.mother || s.ID == slave.father || s.ID == slave.mother || areSisters(slave, s) > 0) && (s.assignment === slave.assignment)); } ); if (children.length > 2) { @@ -840,7 +839,7 @@ window.saWhore = (function saWhore() { if (slave.butt > 4 && slave.boobs > 800) { if (arcology.FSAssetExpansionist !== "unset") { r += ` ${He} makes a river of ¤ with ${his} huge, fashionable assets.`; - if (canTalk(slave)){ + if (canTalk(slave)) { if (slave.voice > 2) { r += ` ${His} high voice contributes to ${his} bimbo image, so ${he} does even better.`; } @@ -928,7 +927,7 @@ window.saWhore = (function saWhore() { } } } else if (arcology.FSHedonisticDecadence !== "unset" && slave.weight <= 30) { // reduced weight malus for fat loving societies - if (arcology.FSHedonisticDecadenceStrongFat === 1) { // no muscle malus for muscle loving societies + if (arcology.FSHedonisticDecadenceStrongFat === 1) { // no muscle malus for muscle loving societies if (arcology.FSSlimnessEnthusiast > 20) { r += ` ${He} makes extra ¤ due to ${his} fashionably sleek little body.`; } else { @@ -1371,7 +1370,7 @@ window.saWhore = (function saWhore() { cashX(cash, "whoring in an unregistered building", slave); } } - + /** @param {App.Entity.SlaveState} slave */ function addCashText(slave) { r += ` In total, you were paid <span class="yellowgreen">${cashFormat(cash)}</span> for the use of ${slave.slaveName}'s body this week.`; @@ -1706,4 +1705,4 @@ window.saWhore = (function saWhore() { T.incomeStats.rep += Math.trunc(FuckResult * vignette.effect * 0.1); } } -})(); \ No newline at end of file +})(); -- GitLab