From 153f0bb539dba2f190c78600f6a13ff3636e8850 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 14 Mar 2020 11:36:23 -0400
Subject: [PATCH] stud work

---
 src/js/slaveListing.js                    |  4 +++-
 src/uncategorized/longSlaveDescription.tw |  6 +++++-
 src/uncategorized/saLongTermEffects.tw    | 17 +++++++----------
 3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js
index 355e40192e0..cc59d9a7aa1 100644
--- a/src/js/slaveListing.js
+++ b/src/js/slaveListing.js
@@ -306,7 +306,9 @@ App.UI.SlaveList.render = function() {
 				}
 			}
 		} else if (slave.assignment === "be a subordinate slave") {
-			if (slave.subTarget !== 0) {
+			if (slave.subTarget === -1) {
+				assignment.innerText += ", serving as your Stud";
+			} else if (slave.subTarget !== 0) {
 				assignment.innerText += ", serving " + SlaveFullName(slaves[V.slaveIndices[slave.subTarget]]) + " exclusively";
 			}
 		}
diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw
index 43da4d500d5..f638f0b2317 100644
--- a/src/uncategorized/longSlaveDescription.tw
+++ b/src/uncategorized/longSlaveDescription.tw
@@ -118,7 +118,11 @@ is
 		<<case "please you">>
 			from where $he was offering $himself to you.
 		<<case "be a subordinate slave">>
-			straight from orally servicing another slave.
+			<<if $activeSlave.subTarget == -1>>
+				from where $he was resting after $his latest baby-making session.
+			<<else>>
+				straight from orally servicing another slave.
+			<</if>>
 		<<case "be a servant">>
 			straight from bathing another slave.
 		<<case "train slaves">>
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index b7343443524..acb2d13d213 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -4922,23 +4922,20 @@
 						<<set $slaves[$i] = $activeSlave>>
 					<<else>>
 						<<if $slaves[$i].mpreg == 1>>
-							<<set $slaves[$i].counter.anal += 10>>
-							<<set $analTotal += 10>>
+							<<run seX($slaves[$i], "anal", 10)>>
 						<<else>>
-							<<set $slaves[$i].counter.vaginal += 10>>
-							<<set $vaginalTotal += 10>>
+							<<run seX($slaves[$i], "vaginal", 10)>>
 						<</if>>
 					<</if>>
 				<</if>>
 				<<if _studVaginal>>
-					<<set $Stud.counter.vaginal += 10>>
-					<<set $vaginalTotal += 10>>
+					<<if $Stud.vagina >= 0>>
+						<<run seX($Stud, "vaginal", 10)>>
+					<</if>>
 					<<if $slaves[$i].mpreg == 1>>
-						<<set $slaves[$i].counter.anal += 10>>
-						<<set $analTotal += 10>>
+						<run seX($slaves[$i], "anal", 10)>>
 					<<else>>
-						<<set $slaves[$i].counter.vaginal += 10>>
-						<<set $vaginalTotal += 10>>
+						<<run seX($slaves[$i], "vaginal", 10)>>
 					<</if>>
 				<</if>>
 				<<set _saLTE = $slaveIndices[$Stud.ID]>>
-- 
GitLab