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

each slave new line

parent 4a5fca1f
No related branches found
No related tags found
1 merge request!8264Spa report to js
...@@ -102,8 +102,10 @@ App.EndWeek.spaReport = function() { ...@@ -102,8 +102,10 @@ App.EndWeek.spaReport = function() {
healthBonus++; healthBonus++;
} }
let attendantUsedCure = 0; let attendantUsedCure = 0;
App.Events.addNode(el, r, "div", "indent");
for (const slave of slaves) { for (const slave of slaves) {
const {he2, his2, him2} = getPronouns(slave).appendSuffix("2"); const {he2, his2, him2} = getPronouns(slave).appendSuffix("2");
r = [];
if (slave.fetish === "mindbroken" && slave.health.condition > 20 && attendantUsedCure === 0 && V.spaFix !== 2) { if (slave.fetish === "mindbroken" && slave.health.condition > 20 && attendantUsedCure === 0 && V.spaFix !== 2) {
attendantUsedCure = 1; attendantUsedCure = 1;
if (random(1, 100) > 90 - S.Attendant.devotion) { if (random(1, 100) > 90 - S.Attendant.devotion) {
...@@ -234,8 +236,6 @@ App.EndWeek.spaReport = function() { ...@@ -234,8 +236,6 @@ App.EndWeek.spaReport = function() {
(S.Attendant.intelligence + S.Attendant.intelligenceImplant + seed) > random(1, 200) && (S.Attendant.intelligence + S.Attendant.intelligenceImplant + seed) > random(1, 200) &&
(V.spaFix === 0) (V.spaFix === 0)
) { ) {
App.Events.addNode(el, r);
r = [];
if (slave.behavioralFlaw !== "none") { if (slave.behavioralFlaw !== "none") {
SoftenBehavioralFlaw(slave); SoftenBehavioralFlaw(slave);
attendantUsedCure += 1; attendantUsedCure += 1;
...@@ -249,8 +249,6 @@ App.EndWeek.spaReport = function() { ...@@ -249,8 +249,6 @@ App.EndWeek.spaReport = function() {
r.push(App.UI.DOM.makeElement("span", `softens ${his2} sexual flaw`, "green")); r.push(App.UI.DOM.makeElement("span", `softens ${his2} sexual flaw`, "green"));
r.push(`into an appealing quirk.`); r.push(`into an appealing quirk.`);
} }
App.Events.addNode(el, r, "div", "indent");
r = [];
} }
if (slave.lactation > 0) { if (slave.lactation > 0) {
r.push(`${S.Attendant.slaveName} takes care to keep ${slave.slaveName}'s breasts comfortably drained.`); r.push(`${S.Attendant.slaveName} takes care to keep ${slave.slaveName}'s breasts comfortably drained.`);
...@@ -258,8 +256,9 @@ App.EndWeek.spaReport = function() { ...@@ -258,8 +256,9 @@ App.EndWeek.spaReport = function() {
slave.boobs -= slave.boobsMilk; slave.boobs -= slave.boobsMilk;
slave.boobsMilk = 0; slave.boobsMilk = 0;
} }
App.Events.addNode(el, r, "div", "indent");
} }
App.Events.addNode(el, r);
if (DL < V.spa) { if (DL < V.spa) {
const seed = random(1, 10) + ((V.spa - DL) * (random(150, 170) + (idleBonus * 10))); const seed = random(1, 10) + ((V.spa - DL) * (random(150, 170) + (idleBonus * 10)));
cashX(seed, "spa", S.Attendant); cashX(seed, "spa", S.Attendant);
......
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