Skip to content
Snippets Groups Projects
Commit d0fb2dbc authored by lowercasedonkey's avatar lowercasedonkey
Browse files

remove remaining underscores

parent 5630e8bf
No related branches found
No related tags found
No related merge requests found
......@@ -30,19 +30,19 @@ App.EndWeek.spaReport = function() {
if (S.Attendant.rules.living !== "luxurious") {
S.Attendant.rules.living = "luxurious";
}
let _FLsFetish = 0;
let FLsFetish = 0;
if (S.Attendant.fetishStrength <= 95) {
if (S.Attendant.fetish !== "submissive") {
if (fetishChangeChance(S.Attendant) > random(0, 100)) {
_FLsFetish = 1;
FLsFetish = 1;
S.Attendant.fetishKnown = 1;
S.Attendant.fetish = "submissive";
}
} else if (S.Attendant.fetishKnown === 0) {
_FLsFetish = 1;
FLsFetish = 1;
S.Attendant.fetishKnown = 1;
} else {
_FLsFetish = 2;
FLsFetish = 2;
S.Attendant.fetishStrength += 4;
}
}
......@@ -58,9 +58,9 @@ App.EndWeek.spaReport = function() {
if (S.Attendant.relationship === -3 && S.Attendant.devotion > 50) {
r.push(`${He} tries ${his} best to be your perfect attentive, caring and loving ${wife}.`);
}
if (_FLsFetish === 1) {
if (FLsFetish === 1) {
r.push(`When ${he} is paid a visit by a slave with sexual issues to work out, ${he} provides them with an understanding, willing, giving partner. ${He} finds real satisfaction in helping your slaves find sexual gratification, and <span class="lightsalmon">becomes a submissive.</span>`);
} else if ((_FLsFetish === 2)) {
} else if ((FLsFetish === 2)) {
r.push(`Every new slave in the spa is a new person ${he} gets to connect with and serve. Sexually. <span class="lightsalmon">${He} becomes more submissive.</span>`);
}
if (setup.attendantCareers.includes(S.Attendant.career)) {
......@@ -101,11 +101,11 @@ App.EndWeek.spaReport = function() {
idleBonus++;
healthBonus++;
}
let _attendantUsedCure = 0;
let attendantUsedCure = 0;
for (const slave of slaves) {
const {he2, his2, him2} = getPronouns(slave).appendSuffix("2");
if (slave.fetish === "mindbroken" && slave.health.condition > 20 && _attendantUsedCure === 0 && V.spaFix !== 2) {
_attendantUsedCure = 1;
if (slave.fetish === "mindbroken" && slave.health.condition > 20 && attendantUsedCure === 0 && V.spaFix !== 2) {
attendantUsedCure = 1;
if (random(1, 100) > 90 - S.Attendant.devotion) {
const curedSlave = App.UI.DOM.makeElement("div", null, "indent");
const curedArray = [`<span class="green">Something almost miraculous has happened.</span> ${S.Attendant.slaveName} has always refused to believe that ${slave.slaveName} could not be reached, and has lavished patient tenderness on ${him2} in ${V.spaName}. ${slave.slaveName} has begun to respond, and is stirring from ${his2} mental torpor.`];
......@@ -114,9 +114,9 @@ App.EndWeek.spaReport = function() {
slave.behavioralFlaw = either("hates men", "odd");
slave.fetish = "none";
slave.fetishKnown = 1;
const _spr = V.genePool.findIndex(function(s) { return s.ID === slave.ID; });
if (V.genePool[_spr].intelligence >= -95) {
slave.intelligence = V.genePool[_spr].intelligence - 30;
const spr = V.genePool.findIndex(function(s) { return s.ID === slave.ID; });
if (V.genePool[spr].intelligence >= -95) {
slave.intelligence = V.genePool[spr].intelligence - 30;
}
if (V.arcologies[0].FSPaternalist !== "unset" && V.arcologies[0].FSPaternalist > 0) {
curedArray.push(`Society <span class="green">strongly approves</span> of${slave.slaveName} being restored to sanity, which advances ideals about enlightened slaveownership.`);
......@@ -127,7 +127,7 @@ App.EndWeek.spaReport = function() {
r.push(curedSlave);
}
}
const _seed = bonusToggle * 10;
const seed = bonusToggle * 10;
if (bonusToggle === 1 && slave.trust < 60) {
slave.trust++;
}
......@@ -230,22 +230,22 @@ App.EndWeek.spaReport = function() {
}
if (
(S.Attendant.intelligence + S.Attendant.intelligenceImplant > 15) &&
(_attendantUsedCure === 0) &&
(attendantUsedCure === 0) &&
(
(S.Attendant.intelligence + S.Attendant.intelligenceImplant) + _seed) > random(1, 200) &&
(S.Attendant.intelligence + S.Attendant.intelligenceImplant) + seed) > random(1, 200) &&
(V.spaFix === 0)
) {
App.Events.addNode(el, r);
r = [];
if (slave.behavioralFlaw !== "none") {
SoftenBehavioralFlaw(slave);
_attendantUsedCure += 1;
attendantUsedCure += 1;
r.push(`${S.Attendant.slaveName} works carefully with ${slave.slaveName}, and successfully`);
r.push(App.UI.DOM.makeElement("span", `softens ${his2} behavioral flaw`, "green"));
r.push(`into an appealing quirk.`);
} else if (slave.sexualFlaw !== "none") {
SoftenSexualFlaw(slave);
_attendantUsedCure += 1;
attendantUsedCure += 1;
r.push(`${S.Attendant.slaveName} works carefully with ${slave.slaveName}, and successfully`);
r.push(App.UI.DOM.makeElement("span", `softens ${his2} sexual flaw`, "green"));
r.push(`into an appealing quirk.`);
......@@ -262,10 +262,10 @@ App.EndWeek.spaReport = function() {
}
App.Events.addNode(el, r);
if (DL < V.spa) {
const _seed = random(1, 10) + ((V.spa - DL) * (random(150, 170) + (idleBonus * 10)));
cashX(_seed, "spa", S.Attendant);
const seed = random(1, 10) + ((V.spa - DL) * (random(150, 170) + (idleBonus * 10)));
cashX(seed, "spa", S.Attendant);
r = [];
r.push(`Since ${he} doesn't have enough slaves to occupy all ${his} time, the spa takes in citizens' slaves on a contract basis and ${he} helps them too, earning <span class="yellowgreen"> ${cashFormat(_seed)}.</span>`);
r.push(`Since ${he} doesn't have enough slaves to occupy all ${his} time, the spa takes in citizens' slaves on a contract basis and ${he} helps them too, earning <span class="yellowgreen"> ${cashFormat(seed)}.</span>`);
if (V.arcologies[0].FSHedonisticDecadence > 0 && DL === 0) {
r.push(`Society <span class="green">loves</span> being allowed to lounge in your spa, greatly advancing your laid back culture.`);
FutureSocieties.Change("Hedonistic", 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment