From f417e5fbe79272a580b69249b68c4fbfcd53106c Mon Sep 17 00:00:00 2001
From: mweggen <361046+mweggen@users.noreply.github.com>
Date: Fri, 1 Jun 2018 17:39:45 +0200
Subject: [PATCH] braces logic

---
 src/uncategorized/RESS.tw              | 2 +-
 src/utility/assayWidgets.tw            | 2 +-
 src/utility/descriptionWidgetsFlesh.tw | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw
index beb5c016fd1..63f1a22b22f 100644
--- a/src/uncategorized/RESS.tw
+++ b/src/uncategorized/RESS.tw
@@ -2778,7 +2778,7 @@ Opportunities for gallantry didn't used to fall into your lap like this, but wit
 	chest,
 <</if>>
 <<if canSee($activeSlave)>>staring<<else>>looking<</if>> up at you coquettishly. Apparently worrying that her sexual availability isn't obvious enough, she catches her <<if $activeSlave.lips > 40>>enormous<<elseif $activeSlave.lips > 20>>plush<<else>>soft<</if>> lower lip behind her teeth and bats her eyes at you.
-<<if ($activeSlave.teeth == "straightening braces") && ($activeSlave.teeth == "cosmetic braces")>>
+<<if ($activeSlave.teeth == "straightening braces") || ($activeSlave.teeth == "cosmetic braces")>>
 	Her braces make the flirty gesture look amusingly innocent<<if $activeSlave.visualAge > 35>> for such a mature woman<</if>>.
 <<elseif $activeSlave.teeth == "pointy">>
 	Somehow she manages to make this look cute despite her carnivorously pointed teeth.
diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw
index 2a07f847dc3..33354705f65 100644
--- a/src/utility/assayWidgets.tw
+++ b/src/utility/assayWidgets.tw
@@ -20,7 +20,7 @@
 
 <<if $args[0].teeth == "crooked">>
 	<<set $beauty -= 3>>
-<<elseif ($args[0].teeth == "braces" || $args[0].teeth == "cosmetic braces") && $args[0].visualAge > 14>>
+<<elseif ($args[0].teeth == "braces" || $args[0].teeth == "cosmetic braces") && ($args[0].visualAge > 14) && ($args[0].visualAge < 18)>>
 	<<set $beauty += 1>>
 <<elseif $args[0].teeth != "normal">>
 	<<set $beauty -= 1>>
diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw
index bdbfbf7349a..bf3efb1f2f6 100644
--- a/src/utility/descriptionWidgetsFlesh.tw
+++ b/src/utility/descriptionWidgetsFlesh.tw
@@ -4719,7 +4719,7 @@ $He has
 		$He has braces,
 		<<if $activeSlave.visualAge > 35>>
 			an amusing sight on such a mature woman.
-		<<elseif $activeSlave.visualAge > 14>>
+		<<elseif ($activeSlave.visualAge > 14) && ($activeSlave.visualAge < 18)>>
 			a cute look on such a young girl.
 		<<else>>
 			and occasionally looks preoccupied with discomfort as they straighten $his teeth.
@@ -4728,7 +4728,7 @@ $He has
 		$He's wearing braces despite $his straight teeth,
 		<<if $activeSlave.visualAge > 35>>
 			an amusing sight on such a mature woman.
-		<<elseif $activeSlave.visualAge > 14>>
+		<<elseif ($activeSlave.visualAge > 14) && ($activeSlave.visualAge < 18)>>
 			a cute look on such a young girl.
 		<<else>>
 			just for appearances.
-- 
GitLab