From 5ea024d4b385c1a97a4dee7c499136f3a77bfe0f Mon Sep 17 00:00:00 2001
From: humungusluver <82497-humungusluver@users.noreply.gitgud.io>
Date: Tue, 11 Feb 2025 01:24:00 -0500
Subject: [PATCH] restore do oral use

---
 src/endWeek/saServant.js | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/src/endWeek/saServant.js b/src/endWeek/saServant.js
index 882943ef206..f8a89f71d24 100644
--- a/src/endWeek/saServant.js
+++ b/src/endWeek/saServant.js
@@ -108,11 +108,32 @@ App.SlaveAssignment.servant = function saServant(slave, stewardessBonus = 0) {
 		}
 	}
 
+	/**
+	 * @param {FC.SlaveState} slave
+	 */
+	function doOralUse(slave) {
+		// TODO: this flat unchecked oral sex is a bit problematic
+		// who is she serving and why aren't they benefiting?
+		// is the current number of servants correct to accomplish this task?
+		// why can't the player prevent this on-assignment sex while still getting the other benefits of having a servant?
+		let oralUse = jsRandom(5, 10);
+		if (V.policies.gumjobFetishism === 1) {
+			if (slave.teeth !== "removable") {
+				oralUse = Math.trunc(oralUse / 2);
+			} else {
+				oralUse = Math.trunc(oralUse * 1.5);
+			}
+		}
+		oralUse = Math.ceil(oralUse * restEffects(slave, 11));
+		actX(slave, "oral", oralUse);
+	}
 
 	/**
 	 * @param {FC.SlaveState} slave
 	 */
 	function jobEffects(slave) {
+		doOralUse(slave);
+
 		if (slave.relationship === -2) {
 			r.push(`${He} does ${his} best to perfect your domesticity due to ${his} emotional bond to you.`);
 		} else if (slave.relationship === -3 && slave.devotion > 50) {
-- 
GitLab