From 46c50114e68ffa9c473023be94f96450e988e6ab Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 28 Oct 2020 22:55:48 -0400
Subject: [PATCH] fix space

---
 src/endWeek/economics/personalNotes.js | 128 ++++++++++++-------------
 1 file changed, 64 insertions(+), 64 deletions(-)

diff --git a/src/endWeek/economics/personalNotes.js b/src/endWeek/economics/personalNotes.js
index 46d54b6885b..b2659e38850 100644
--- a/src/endWeek/economics/personalNotes.js
+++ b/src/endWeek/economics/personalNotes.js
@@ -307,8 +307,8 @@ App.EndWeek.personalNotes = function() {
 			if (V.dangerousPregnancy === 1 && V.PC.labor !== 1) {
 				if (V.PC.pregAdaptation < 500) {
 					_miscarriageChance = -10;
-					_miscarriageChance += ((V.PC.bellyPreg/1000)-V.PC.pregAdaptation);
-		r.push(` // this could use to not be linear`);
+					_miscarriageChance += ((V.PC.bellyPreg / 1000) - V.PC.pregAdaptation);
+					r.push(` // this could use to not be linear`);
 					if (V.PC.inflation > 0) {
 						_miscarriageChance += 10;
 					}
@@ -316,7 +316,7 @@ App.EndWeek.personalNotes = function() {
 					if (V.PC.health.health < -20) {
 						_miscarriageChance -= (V.PC.health.health);
 					} else if (V.PC.health.health > 80) {
-						_miscarriageChance -= (V.PC.health.health/10);
+						_miscarriageChance -= (V.PC.health.health / 10);
 					}
 					if (V.PC.weight < -50) {
 						_miscarriageChance -= (V.PC.weight);
@@ -325,21 +325,21 @@ App.EndWeek.personalNotes = function() {
 						_miscarriageChance -= 30;
 					}
 					_miscarriageChance = Math.round(_miscarriageChance);
-					if (_miscarriageChance > random(0,100)) {
-						_chance = random(1,100);
-						if (V.PC.preg >= V.PC.pregData.normalBirth/1.33) {
+					if (_miscarriageChance > random(0, 100)) {
+						_chance = random(1, 100);
+						if (V.PC.preg >= V.PC.pregData.normalBirth / 1.33) {
 							V.PC.labor = 1, V.birthee = 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;
 							_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;
 							_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;
 							_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;
 							_miscarriage = 1;
 						} else {
@@ -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;
 								} else {
 									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) {
 								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) {
-		r.push(`ies were`);
-	} else {
-		r.push(`y was`);
-	}
-		r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
-	if (V.PC.pregType > 1) {
-		r.push(`them`);
-	} else {
-		r.push(`it`);
-	}
-		r.push(` and blames you for the loss.`);
+								if (V.PC.pregType > 1) {
+									r.push(`ies were`);
+								} else {
+									r.push(`y was`);
+								}
+								r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
+								if (V.PC.pregType > 1) {
+									r.push(`them`);
+								} else {
+									r.push(`it`);
+								}
+								r.push(` and blames you for the loss.`);
 								V.PC.devotion -= 25, V.PC.trust -= 25;
 							} 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`);
-	if (V.PC.pregType > 1) {
-		r.push(`ies were`);
-	} else {
-		r.push(`y was`);
-	}
-		r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
-	if (V.PC.pregType > 1) {
-		r.push(`them`);
-	} else {
-		r.push(`it`);
-	}
-		r.push(`.`);
+								if (V.PC.pregType > 1) {
+									r.push(`ies were`);
+								} else {
+									r.push(`y was`);
+								}
+								r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
+								if (V.PC.pregType > 1) {
+									r.push(`them`);
+								} else {
+									r.push(`it`);
+								}
+								r.push(`.`);
 								V.PC.devotion -= 10, V.PC.trust -= 20;
 							} else if (V.PC.fetish === "pregnancy") {
 								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() {
 								} else {
 									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;
-								V.PC.devotion -= 1*_fetishModifier, V.PC.trust -= 1*_fetishModifier;
+								_fetishModifier = V.PC.fetishStrength / 2;
+								V.PC.devotion -= 1 * _fetishModifier, V.PC.trust -= 1 * _fetishModifier;
 							} 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`);
-	if (V.PC.pregType > 1) {
-		r.push(`ies were`);
-	} else {
-		r.push(`y was`);
-	}
-		r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
-	if (V.PC.pregType > 1) {
-		r.push(`them`);
-	} else {
-		r.push(`it`);
-	}
-		r.push(`.`);
+								if (V.PC.pregType > 1) {
+									r.push(`ies were`);
+								} else {
+									r.push(`y was`);
+								}
+								r.push(` likely destined for a slave orphanage, it seems ${he} cared for `);
+								if (V.PC.pregType > 1) {
+									r.push(`them`);
+								} else {
+									r.push(`it`);
+								}
+								r.push(`.`);
 								V.PC.devotion -= 5, V.PC.trust -= 5;
 							} 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.`);
@@ -419,8 +419,8 @@ App.EndWeek.personalNotes = function() {
 							if (V.PC.abortionTat > -1) {
 								V.PC.abortionTat++;
 								r.push(`The temporary tattoo of a child has been replaced with ${his} `);
-	V.ordinalSuffix(V.PC.abortionTat)
-		r.push(` crossed out infant.`);
+								V.ordinalSuffix(V.PC.abortionTat)
+								r.push(` crossed out infant.`);
 								cashX(forceNeg(V.modCost), "slaveMod", V.PC);
 							}
 							_miscarriage = 1;
@@ -429,16 +429,16 @@ App.EndWeek.personalNotes = function() {
 				}
 				if (V.seeExtreme === 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.belly > (V.PC.pregAdaptation*3200)) || V.PC.bellyPreg >= 500000) {
+							if ((V.PC.belly > (V.PC.pregAdaptation * 3200)) || V.PC.bellyPreg >= 500000) {
 								_burstChance = -80;
-								_burstChance += ((V.PC.belly/1000)-V.PC.pregAdaptation);
-		r.push(` // this could use to not be linear`);
+								_burstChance += ((V.PC.belly / 1000) - V.PC.pregAdaptation);
+								r.push(` // this could use to not be linear`);
 								if (V.PC.health.health < -20) {
 									_burstChance -= (V.PC.health.health);
 								} else if (V.PC.health.health > 80) {
-									_burstChance -= (V.PC.health.health/10);
+									_burstChance -= (V.PC.health.health / 10);
 								}
 								if (V.PC.weight < 0) {
 									_burstChance -= V.PC.weight;
@@ -466,23 +466,23 @@ App.EndWeek.personalNotes = function() {
 									}
 								}
 								_burstChance = Math.round(_burstChance);
-								if (_burstChance > random(0,100)) {
+								if (_burstChance > random(0, 100)) {
 									V.PC.burst = 1;
 								} else {
 									r.push(`Constant <span class="red">`);
-	if (V.PC.geneticQuirks.uterineHypersensitivity === 2) {
-		r.push(`painful orgasms`);
-	} else {
-		r.push(`sharp pains`);
-	}
-		r.push(`</span> from ${his} womb strongly suggest <span class="red">${his} body is beginning to break.</span>`);
+									if (V.PC.geneticQuirks.uterineHypersensitivity === 2) {
+										r.push(`painful orgasms`);
+									} else {
+										r.push(`sharp pains`);
+									}
+									r.push(`</span> from ${his} womb strongly suggest <span class="red">${his} body is beginning to break.</span>`);
 								}
 							}
 						}
 					}
 				}
 			}
-			*/
+			* /
 		}
 	}
 	return el;
-- 
GitLab