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

remove underscores

parent 5b0aa532
No related branches found
No related tags found
1 merge request!8260Club report to js
......@@ -7,9 +7,9 @@ App.EndWeek.clubReport = function() {
let he, him, his, He, His, wife, himself;
const slaves = App.Utils.sortedEmployees(App.Entity.facilities.club);
const _DL = slaves.length;
const DL = slaves.length;
V.legendaryEntertainerID = 0;
let _FLsFetish = 0;
let FLsFetish = 0;
V.legendaryWombID = 0;
// Statistics gathering; income is rep boosts in numbers, and profit will be rep per cash unit, or cash unit per rep
......@@ -38,15 +38,15 @@ App.EndWeek.clubReport = function() {
if (S.DJ.fetishStrength <= 95) {
if (S.DJ.fetish !== "humiliation") {
if (fetishChangeChance(S.DJ) > random(0, 100)) {
_FLsFetish = 1;
FLsFetish = 1;
S.DJ.fetishKnown = 1;
S.DJ.fetish = "humiliation";
}
} else if (S.DJ.fetishKnown === 0) {
_FLsFetish = 1;
FLsFetish = 1;
S.DJ.fetishKnown = 1;
} else {
_FLsFetish = 2;
FLsFetish = 2;
S.DJ.fetishStrength += 4;
}
}
......@@ -65,9 +65,9 @@ App.EndWeek.clubReport = function() {
if (S.DJ.relationship === -3 && S.DJ.devotion > 50) {
r.push(`${He} tries ${his} best to be your energetic, cheerful ${wife}.`);
}
if (_FLsFetish === 1) {
if (FLsFetish === 1) {
r.push(`${He}'s expected to be the innovative, beautiful DJ spinning beats one minute, and come out of ${his} booth to grind on the floor the next; ${he} enjoys the interplay, and finds greater <span class="lightcoral">pleasure in exhibitionism.</span>`);
} else if ((_FLsFetish === 2)) {
} else if ((FLsFetish === 2)) {
r.push(`Every day ${he} gets to enjoy hundreds of stares on ${his} skin, and <span class="lightsalmon">becomes more of an exhibitionist.</span>`);
}
if (getBestVision(S.DJ) === 0) {
......@@ -101,7 +101,7 @@ App.EndWeek.clubReport = function() {
S.DJ.skill.DJ += random(1, Math.ceil((S.DJ.intelligence + S.DJ.intelligenceImplant) / 15) + 8);
}
App.Events.addNode(el, r, "p", "indent");
if (_DL + V.clubSlavesGettingHelp < 10 && V.DJnoSex !== 1 && !slaveResting(S.DJ)) {
if (DL + V.clubSlavesGettingHelp < 10 && V.DJnoSex !== 1 && !slaveResting(S.DJ)) {
if (V.legendaryEntertainerID === 0 && S.DJ.prestige === 0 && S.DJ.skill.entertainment >= 100 && S.DJ.devotion > 50) {
V.legendaryEntertainerID = S.DJ.ID;
}
......@@ -127,10 +127,10 @@ App.EndWeek.clubReport = function() {
}
}
if (_DL > 0) {
if (DL > 0) {
r = [];
if (_DL !== 1) {
r.push(App.UI.DOM.makeElement("span", `The ${_DL} slaves pleasing citizens in ${V.clubName}`, "bold"));
if (DL !== 1) {
r.push(App.UI.DOM.makeElement("span", `The ${DL} slaves pleasing citizens in ${V.clubName}`, "bold"));
} else {
r.push(App.UI.DOM.makeElement("span", `The one slave pleasing citizens in ${V.clubName}`, "bold"));
}
......@@ -160,7 +160,7 @@ App.EndWeek.clubReport = function() {
}
}
if (_DL > 0) {
if (DL > 0) {
for (const slave of slaves) {
({
he, him, his, He, His, wife
......
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