From 4f02b0e7a4c0be76b8d63a924233ec9b37b76ea2 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 22 Apr 2018 23:04:43 -0400
Subject: [PATCH] fixes

---
 devNotes/VersionChangeLog-Premod+LoliMod.txt |  7 +++++++
 devNotes/twine JS                            | 15 +++++++++++++++
 src/uncategorized/saLongTermEffects.tw       |  2 ++
 src/utility/slaveCreationWidgets.tw          |  1 +
 4 files changed, 25 insertions(+)

diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt
index 39a8c50801e..9cd7340af3c 100644
--- a/devNotes/VersionChangeLog-Premod+LoliMod.txt
+++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt
@@ -2,6 +2,13 @@
 
 0.10.7.1-0.1.x
 
+4/22/2018
+
+	68
+	-added servant career class (they make better servants)
+	-SFanon's pit virginity respect
+	-various fixes and optimizations
+
 4/21/2018
 
 	67
diff --git a/devNotes/twine JS b/devNotes/twine JS
index b8866e97b5f..b86cf41d7b6 100644
--- a/devNotes/twine JS	
+++ b/devNotes/twine JS	
@@ -995,6 +995,21 @@ window.overpowerCheck = function(slave, PC) {
 	return strength;
 }
 
+window.impregnatedBy = function(slave) { /* returns array of IDs of all characters who impregnated slave */
+	var IDArray = [];
+	if (!Array.isArray(slave.womb)) {   
+		WombInit(slave);
+	}
+	for (var i = 0; i < slave.womb.length; i++) {
+		IDArray.push(slave.womb.fatherID);
+	}
+	return IDArray;
+}
+
+window.isImpregnatedBy = function(mother, father) { /* returns true if mother was impregnated by father */
+	return impregnatedBy(mother).includes(father.ID);
+}
+
 window.jsAlert = function(obj)
 {
 	alert(obj);
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index e43018e5096..ce1fb303fc0 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -684,6 +684,8 @@
 	<<if ($slaves[$i].vagina < 1) && (random(1,100) > 50)>>
 	Constantly wearing a dildo in her virgin pussy @@.lime;gets it used to penetration.@@
 	<<set $slaves[$i].vagina += 1>>
+	<<else>>
+		Her pussy easily accommodates the dildo she's required to wear.
 	<</if>>
 	<<if $slaves[$i].fuckdoll == 0>>
 	<<if $slaves[$i].fetish != "mindbroken">>
diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw
index 17eadce1ed1..f49516b6c07 100644
--- a/src/utility/slaveCreationWidgets.tw
+++ b/src/utility/slaveCreationWidgets.tw
@@ -2138,6 +2138,7 @@
 		<<if ($activeSlave.dick == 0)>><<set $activeSlave.dick = 2>><</if>>
 		<<if ($activeSlave.balls == 0)>><<set $activeSlave.balls = 2>><</if>>
 		<<if ($activeSlave.vagina == 0)>><<set $activeSlave.vagina = 1>><</if>>
+		<<if ($activeSlave.prostate == 0)>><<set $activeSlave.prostate = 1>><</if>>
 		<<set $activeSlave.ovaries = 1>>
 	<<elseif $surgicalUpgradeGenitalia == "gelded">>
 		Slaves with balls have them removed, rendering them feminine and obedient.
-- 
GitLab