From 1ca946886166a2b74b8dd4307d81cbdfca78af47 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 11 May 2021 10:00:35 -0400
Subject: [PATCH] sharp teeth to data

---
 js/003-data/slaveMods.js     |  5 ++++-
 src/npc/interaction/fKiss.js | 32 ++++++++++++++++++--------------
 2 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/js/003-data/slaveMods.js b/js/003-data/slaveMods.js
index 72411ca7525..7a6180316a0 100644
--- a/js/003-data/slaveMods.js
+++ b/js/003-data/slaveMods.js
@@ -511,13 +511,16 @@ App.Medicine.Modification.teeth = new Map([
 				`.`
 			);
 		},
-		get requirements() { return (V.seeExtreme === 1); }
+		get requirements() { return (V.seeExtreme === 1); },
+		sharp: true
 	}],
 	["fangs", {
 		desc: ``,
+		sharp: true
 	}],
 	["fang", {
 		desc: ``,
+		sharp: true
 	}],
 	["baby", {
 		desc: ``,
diff --git a/src/npc/interaction/fKiss.js b/src/npc/interaction/fKiss.js
index 6b3f5fd6938..4a4579c647b 100644
--- a/src/npc/interaction/fKiss.js
+++ b/src/npc/interaction/fKiss.js
@@ -199,7 +199,7 @@ App.Interact.fKiss = function(slave) {
 			}
 		} else if (slave.devotion + slave.trust >= 175) {
 			r.push(`${His} mouth accepts yours with love, matching itself perfectly to your insistent lips and tongue.`);
-			if (slave.teeth === "pointy" || slave.teeth === "fangs" || slave.teeth === "fang") {
+			if (App.Medicine.Modification.teeth.get(slave.teeth).sharp) {
 				r.push(`(Though you're quite careful around ${his} sharp dentition.)`);
 			}
 			r.push(`${He} melts into you, sighing ever so gently. When you finally break the kiss, ${his} mouth freezes in the shape it was in when last your lips touched, and a momentary look of longing crosses ${his} face.`);
@@ -293,7 +293,7 @@ App.Interact.fKiss = function(slave) {
 		}
 	} else if (slave.relationship === -2) {
 		r.push(`${His} mouth accepts yours with love, matching itself perfectly to your insistent lips and tongue.`);
-		if (slave.teeth === "pointy" || slave.teeth === "fangs" || slave.teeth === "fang") {
+		if (App.Medicine.Modification.teeth.get(slave.teeth).sharp) {
 			r.push(`(Though you're quite careful around ${his} sharp dentition.)`);
 		}
 		r.push(`${He} melts into you, sighing ever so gently. When you finally break the kiss, ${his} mouth freezes in the shape it was in when last your lips touched, and a momentary look of longing crosses ${his} face.`);
@@ -375,12 +375,14 @@ App.Interact.fKiss = function(slave) {
 		} else {
 			r.push(`non-existent breasts.`);
 		}
-		if (slave.teeth === "pointy") {
-			r.push(`${He}'s very careful to avoid spearing your tongue with ${his} sharp teeth.`);
-		} else if (slave.teeth === "fangs") {
-			r.push(`${He}'s very careful to avoid spearing your tongue with ${his} fangs.`);
-		} else if (slave.teeth === "fang") {
-			r.push(`${He}'s very careful to avoid poking you with ${his} fang.`);
+		if (App.Medicine.Modification.teeth.get(slave.teeth).sharp) {
+			if (slave.teeth === "pointy") {
+				r.push(`${He}'s very careful to avoid spearing your tongue with ${his} sharp teeth.`);
+			} else if (slave.teeth === "fangs") {
+				r.push(`${He}'s very careful to avoid spearing your tongue with ${his} fangs.`);
+			} else if (slave.teeth === "fang") {
+				r.push(`${He}'s very careful to avoid poking you with ${his} fang.`);
+			}
 		}
 		r.push(`${He} achieves a weak orgasm before you tire of making out with ${him}.`);
 		if (slave.accent >= 3) {
@@ -406,12 +408,14 @@ App.Interact.fKiss = function(slave) {
 		}
 	} else if (slave.devotion > 50) {
 		r.push(`${His} mouth accepts yours with devotion, matching itself carefully to your insistent lips and tongue.`);
-		if (slave.teeth === "pointy") {
-			r.push(`${He} is exquisitely careful to keep ${his} sharp teeth clear of you.`);
-		} else if (slave.teeth === "fangs") {
-			r.push(`${He} is exquisitely careful to keep ${his} fangs from poking you.`);
-		} else if (slave.teeth === "fang") {
-			r.push(`${He} is exquisitely careful to keep ${his} fang from getting into trouble.`);
+		if (App.Medicine.Modification.teeth.get(slave.teeth).sharp) {
+			if (slave.teeth === "pointy") {
+				r.push(`${He} is exquisitely careful to keep ${his} sharp teeth clear of you.`);
+			} else if (slave.teeth === "fangs") {
+				r.push(`${He} is exquisitely careful to keep ${his} fangs from poking you.`);
+			} else if (slave.teeth === "fang") {
+				r.push(`${He} is exquisitely careful to keep ${his} fang from getting into trouble.`);
+			}
 		}
 		r.push(`${He} presses ${himself} against you, ${his} warmth wonderful against your`);
 		if (V.PC.boobs >= 1400) {
-- 
GitLab