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

fix space

parent a0cf19c3
No related branches found
No related tags found
Loading
...@@ -307,8 +307,8 @@ App.EndWeek.personalNotes = function() { ...@@ -307,8 +307,8 @@ App.EndWeek.personalNotes = function() {
if (V.dangerousPregnancy === 1 && V.PC.labor !== 1) { if (V.dangerousPregnancy === 1 && V.PC.labor !== 1) {
if (V.PC.pregAdaptation < 500) { if (V.PC.pregAdaptation < 500) {
_miscarriageChance = -10; _miscarriageChance = -10;
_miscarriageChance += ((V.PC.bellyPreg/1000)-V.PC.pregAdaptation); _miscarriageChance += ((V.PC.bellyPreg / 1000) - V.PC.pregAdaptation);
r.push(` // this could use to not be linear`); r.push(` // this could use to not be linear`);
if (V.PC.inflation > 0) { if (V.PC.inflation > 0) {
_miscarriageChance += 10; _miscarriageChance += 10;
} }
...@@ -316,7 +316,7 @@ App.EndWeek.personalNotes = function() { ...@@ -316,7 +316,7 @@ App.EndWeek.personalNotes = function() {
if (V.PC.health.health < -20) { if (V.PC.health.health < -20) {
_miscarriageChance -= (V.PC.health.health); _miscarriageChance -= (V.PC.health.health);
} else if (V.PC.health.health > 80) { } else if (V.PC.health.health > 80) {
_miscarriageChance -= (V.PC.health.health/10); _miscarriageChance -= (V.PC.health.health / 10);
} }
if (V.PC.weight < -50) { if (V.PC.weight < -50) {
_miscarriageChance -= (V.PC.weight); _miscarriageChance -= (V.PC.weight);
...@@ -325,21 +325,21 @@ App.EndWeek.personalNotes = function() { ...@@ -325,21 +325,21 @@ App.EndWeek.personalNotes = function() {
_miscarriageChance -= 30; _miscarriageChance -= 30;
} }
_miscarriageChance = Math.round(_miscarriageChance); _miscarriageChance = Math.round(_miscarriageChance);
if (_miscarriageChance > random(0,100)) { if (_miscarriageChance > random(0, 100)) {
_chance = random(1,100); _chance = random(1, 100);
if (V.PC.preg >= V.PC.pregData.normalBirth/1.33) { if (V.PC.preg >= V.PC.pregData.normalBirth / 1.33) {
V.PC.labor = 1, V.birthee = 1; V.PC.labor = 1, V.birthee = 1;
_miscarriage = 1; _miscarriage = 1;
} else if (V.PC.preg > V.PC.pregData.normalBirth/1.48) { } else if (V.PC.preg > V.PC.pregData.normalBirth / 1.48) {
V.PC.labor = 1, V.PC.prematureBirth = 1; V.PC.labor = 1, V.PC.prematureBirth = 1;
_miscarriage = 1; _miscarriage = 1;
} else if (V.PC.preg > V.PC.pregData.normalBirth/1.6 && _chance > 10) { } else if (V.PC.preg > V.PC.pregData.normalBirth / 1.6 && _chance > 10) {
V.PC.labor = 1, V.PC.prematureBirth = 1; V.PC.labor = 1, V.PC.prematureBirth = 1;
_miscarriage = 1; _miscarriage = 1;
} else if (V.PC.preg > V.PC.pregData.normalBirth/1.73 && _chance > 40) { } else if (V.PC.preg > V.PC.pregData.normalBirth / 1.73 && _chance > 40) {
V.PC.labor = 1, V.PC.prematureBirth = 1; V.PC.labor = 1, V.PC.prematureBirth = 1;
_miscarriage = 1; _miscarriage = 1;
} else if (V.PC.preg > V.PC.pregData.normalBirth/1.81 && _chance > 75) { } else if (V.PC.preg > V.PC.pregData.normalBirth / 1.81 && _chance > 75) {
V.PC.labor = 1, V.PC.prematureBirth = 1; V.PC.labor = 1, V.PC.prematureBirth = 1;
_miscarriage = 1; _miscarriage = 1;
} else { } else {
...@@ -352,37 +352,37 @@ App.EndWeek.personalNotes = function() { ...@@ -352,37 +352,37 @@ App.EndWeek.personalNotes = function() {
V.PC.fetish = "mindbroken", V.PC.behavioralQuirk = "none", V.PC.behavioralFlaw = "none", V.PC.sexualQuirk = "none", V.PC.sexualFlaw = "none", V.PC.devotion = 0, V.PC.trust = 0; V.PC.fetish = "mindbroken", V.PC.behavioralQuirk = "none", V.PC.behavioralFlaw = "none", V.PC.sexualQuirk = "none", V.PC.sexualFlaw = "none", V.PC.devotion = 0, V.PC.trust = 0;
} else { } else {
r.push(`${He} cares little for what punishment awaits ${his} actions.`); r.push(`${He} cares little for what punishment awaits ${his} actions.`);
V.PC.devotion -= 25*V.PC.pregType; V.PC.devotion -= 25 * V.PC.pregType;
} }
} else if (V.PC.devotion < -50) { } else if (V.PC.devotion < -50) {
r.push(`${He} is <span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} bab`); r.push(`${He} is <span class="mediumorchid">filled with violent, consuming hatred</span> and <span class="gold">fear.</span> Even though ${he} knew ${his} bab`);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`ies were`); r.push(`ies were`);
} else { } else {
r.push(`y was`); r.push(`y was`);
} }
r.push(` likely destined for a slave orphanage, it seems ${he} cared for `); r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`them`); r.push(`them`);
} else { } else {
r.push(`it`); r.push(`it`);
} }
r.push(` and blames you for the loss.`); r.push(` and blames you for the loss.`);
V.PC.devotion -= 25, V.PC.trust -= 25; V.PC.devotion -= 25, V.PC.trust -= 25;
} else if (V.PC.devotion < -20) { } else if (V.PC.devotion < -20) {
r.push(`${He} is <span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} bab`); r.push(`${He} is <span class="mediumorchid">afflicted by desperate, inconsolable grief</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} bab`);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`ies were`); r.push(`ies were`);
} else { } else {
r.push(`y was`); r.push(`y was`);
} }
r.push(` likely destined for a slave orphanage, it seems ${he} cared for `); r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`them`); r.push(`them`);
} else { } else {
r.push(`it`); r.push(`it`);
} }
r.push(`.`); r.push(`.`);
V.PC.devotion -= 10, V.PC.trust -= 20; V.PC.devotion -= 10, V.PC.trust -= 20;
} else if (V.PC.fetish === "pregnancy") { } else if (V.PC.fetish === "pregnancy") {
r.push(`${He} is <span class="mediumorchid">filled with deep regret</span> and <span class="gold">fear.</span>`); r.push(`${He} is <span class="mediumorchid">filled with deep regret</span> and <span class="gold">fear.</span>`);
...@@ -391,22 +391,22 @@ App.EndWeek.personalNotes = function() { ...@@ -391,22 +391,22 @@ App.EndWeek.personalNotes = function() {
} else { } else {
r.push(`It appears ${he} was more attached to ${his} baby bump than ${he} let on and is hurting even more for it.`); r.push(`It appears ${he} was more attached to ${his} baby bump than ${he} let on and is hurting even more for it.`);
} }
_fetishModifier = V.PC.fetishStrength/2; _fetishModifier = V.PC.fetishStrength / 2;
V.PC.devotion -= 1*_fetishModifier, V.PC.trust -= 1*_fetishModifier; V.PC.devotion -= 1 * _fetishModifier, V.PC.trust -= 1 * _fetishModifier;
} else if (V.PC.devotion <= 20) { } else if (V.PC.devotion <= 20) {
r.push(`${He} is <span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} bab`); r.push(`${He} is <span class="mediumorchid">consumed by enduring sorrow</span> and <span class="gold">horror.</span> Even though ${he} knew ${his} bab`);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`ies were`); r.push(`ies were`);
} else { } else {
r.push(`y was`); r.push(`y was`);
} }
r.push(` likely destined for a slave orphanage, it seems ${he} cared for `); r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
if (V.PC.pregType > 1) { if (V.PC.pregType > 1) {
r.push(`them`); r.push(`them`);
} else { } else {
r.push(`it`); r.push(`it`);
} }
r.push(`.`); r.push(`.`);
V.PC.devotion -= 5, V.PC.trust -= 5; V.PC.devotion -= 5, V.PC.trust -= 5;
} else if (V.PC.devotion <= 50) { } else if (V.PC.devotion <= 50) {
r.push(`${He} is dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`); r.push(`${He} is dully obedient. ${He} has been broken to slave life so thoroughly that even this is neither surprising nor affecting.`);
...@@ -419,8 +419,8 @@ App.EndWeek.personalNotes = function() { ...@@ -419,8 +419,8 @@ App.EndWeek.personalNotes = function() {
if (V.PC.abortionTat > -1) { if (V.PC.abortionTat > -1) {
V.PC.abortionTat++; V.PC.abortionTat++;
r.push(`The temporary tattoo of a child has been replaced with ${his} `); r.push(`The temporary tattoo of a child has been replaced with ${his} `);
V.ordinalSuffix(V.PC.abortionTat) V.ordinalSuffix(V.PC.abortionTat)
r.push(` crossed out infant.`); r.push(` crossed out infant.`);
cashX(forceNeg(V.modCost), "slaveMod", V.PC); cashX(forceNeg(V.modCost), "slaveMod", V.PC);
} }
_miscarriage = 1; _miscarriage = 1;
...@@ -429,16 +429,16 @@ App.EndWeek.personalNotes = function() { ...@@ -429,16 +429,16 @@ App.EndWeek.personalNotes = function() {
} }
if (V.seeExtreme === 1) { if (V.seeExtreme === 1) {
if (_miscarriage !== 1 && V.PC.bellyPreg >= 100000 && V.PC.geneMods.rapidCellGrowth !== 1) { if (_miscarriage !== 1 && V.PC.bellyPreg >= 100000 && V.PC.geneMods.rapidCellGrowth !== 1) {
r.push(` // If ${he} can't relieve the pressure that way, will ${he} hold?`); r.push(` // If ${he} can't relieve the pressure that way, will ${he} hold?`);
if (V.PC.bellyPreg >= 500000 || V.PC.wombImplant !== "restraint") { if (V.PC.bellyPreg >= 500000 || V.PC.wombImplant !== "restraint") {
if ((V.PC.belly > (V.PC.pregAdaptation*3200)) || V.PC.bellyPreg >= 500000) { if ((V.PC.belly > (V.PC.pregAdaptation * 3200)) || V.PC.bellyPreg >= 500000) {
_burstChance = -80; _burstChance = -80;
_burstChance += ((V.PC.belly/1000)-V.PC.pregAdaptation); _burstChance += ((V.PC.belly / 1000) - V.PC.pregAdaptation);
r.push(` // this could use to not be linear`); r.push(` // this could use to not be linear`);
if (V.PC.health.health < -20) { if (V.PC.health.health < -20) {
_burstChance -= (V.PC.health.health); _burstChance -= (V.PC.health.health);
} else if (V.PC.health.health > 80) { } else if (V.PC.health.health > 80) {
_burstChance -= (V.PC.health.health/10); _burstChance -= (V.PC.health.health / 10);
} }
if (V.PC.weight < 0) { if (V.PC.weight < 0) {
_burstChance -= V.PC.weight; _burstChance -= V.PC.weight;
...@@ -466,23 +466,23 @@ App.EndWeek.personalNotes = function() { ...@@ -466,23 +466,23 @@ App.EndWeek.personalNotes = function() {
} }
} }
_burstChance = Math.round(_burstChance); _burstChance = Math.round(_burstChance);
if (_burstChance > random(0,100)) { if (_burstChance > random(0, 100)) {
V.PC.burst = 1; V.PC.burst = 1;
} else { } else {
r.push(`Constant <span class="red">`); r.push(`Constant <span class="red">`);
if (V.PC.geneticQuirks.uterineHypersensitivity === 2) { if (V.PC.geneticQuirks.uterineHypersensitivity === 2) {
r.push(`painful orgasms`); r.push(`painful orgasms`);
} else { } else {
r.push(`sharp pains`); r.push(`sharp pains`);
} }
r.push(`</span> from ${his} womb strongly suggest <span class="red">${his} body is beginning to break.</span>`); r.push(`</span> from ${his} womb strongly suggest <span class="red">${his} body is beginning to break.</span>`);
} }
} }
} }
} }
} }
} }
*/ * /
} }
} }
return el; return el;
......
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