diff --git a/src/art/vector_revamp/Vector_Revamped_Control_.tw b/src/art/vector_revamp/Vector_Revamped_Control_.tw
index 1131ad3494f27a37c52e9a5a6e594c5966a53c9c..3256546e9d110b8989cd31573a0caa4154277d77 100644
--- a/src/art/vector_revamp/Vector_Revamped_Control_.tw
+++ b/src/art/vector_revamp/Vector_Revamped_Control_.tw
@@ -26,7 +26,7 @@
 <<set _boob_outfit_art_transform = _revampedVectorArtControl.boobOutfitArtTransform>>
 
 <<set _art_pussy_tattoo_text = _revampedVectorArtControl.pubicTattooText >>
-<<for _i to 0; _i lt _revampedArtLayers.length; _i++>>
+<<for _i to 0; _i < _revampedArtLayers.length; _i++>>
 	<<include _revampedArtLayers[_i]>>
 <</for>>
 
diff --git a/src/npc/descriptions/fButt.tw b/src/npc/descriptions/fButt.tw
index fa4e073a72f6c5a16ba03bd9ae4b0c19ce928f19..aca637eecc049b37b0ada19c2163c82dfa42a9d9 100644
--- a/src/npc/descriptions/fButt.tw
+++ b/src/npc/descriptions/fButt.tw
@@ -99,7 +99,7 @@ Her anus is invitingly bleached,
 	<<AnalVCheck>>
 <<elseif $activeSlave.devotion < -20>>
 	<<if ($PC.dick == 0)>>You don a cruelly large strap-on, and you do it so she can see it. <</if>>She tries to refuse you, so you throw her across the back of the couch next to your desk with her <<if $seeRace == 1>>$activeSlave.race <</if>>ass in the air. You finger her anus <<if ($activeSlave.vagina != -1)>>while fucking her pussy<<elseif ($activeSlave.amp != 1)>>while frotting her thighs<</if>> for a bit and then switch to her now-ready anus. She sobs as you penetrate her rectum.
-	<<if ($activeSlave.dick != 0) and canAchieveErection($activeSlave)>>
+	<<if ($activeSlave.dick != 0) && canAchieveErection($activeSlave)>>
 		<<if $activeSlave.prostate == 0>>
 			She lacks a prostate, denying her any real pleasure. Her dick stays flaccid as you rape her.
 		<<elseif ($activeSlave.dickAccessory == "chastity")>>
diff --git a/src/npc/fPCImpreg.tw b/src/npc/fPCImpreg.tw
index d535f36e62ae618fbbd594af44e1258f64f9bc29..c704c3845ce43553114eb26e5e227bd2abd07603 100644
--- a/src/npc/fPCImpreg.tw
+++ b/src/npc/fPCImpreg.tw
@@ -13,7 +13,7 @@ You call her over so you can
 <<if $activeSlave.mpreg == 1>>
 	<<if ($activeSlave.anus > 2)>>
 		fuck her gaping, fertile asshole.
-	<<elseif ($activeSlave.anus is 2)>>
+	<<elseif ($activeSlave.anus == 2)>>
 		use her whorish, fertile asshole.
 	<<elseif ($activeSlave.anus == 1)>>
 		use her tight, fertile asshole.
diff --git a/src/npc/fRelation.tw b/src/npc/fRelation.tw
index e66afa28351dd3349e35a09980ba449503e0f0d2..065a35c7f481cabd49a60d4d2e23b9929245f647 100644
--- a/src/npc/fRelation.tw
+++ b/src/npc/fRelation.tw
@@ -66,7 +66,7 @@ You call both $activeSlave.slaveName and $slaves[$partner].slaveName to your off
 	<<BothVCheck>>
 	<<PartnerVCheck>>
 <<elseif canWalk($activeSlave) && canWalk($slaves[$partner]) && ($activeSlave.devotion > 50) && ($slaves[$partner].devotion > 20) && (_activeSlaveRel == "father")>>
-	$activeSlave.slaveName gives you a little smile when she hears you wish to fuck her and her daughter $slaves[$partner].slaveName<<if ($PC.dick is 0)>> and sees your strap-on<</if>>. On your direction, $activeSlave.slaveName sits on the couch. When $slaves[$partner].slaveName enters, her father spreads her arms and tells her to sit on her lap. $slaves[$partner].slaveName gets the idea and straddles her so they're face to face. You take $slaves[$partner].slaveName from behind; she gasps as she feels her father's hands stimulate her from the front. They make out shamelessly while you take your pleasure. When you finish, $activeSlave.slaveName lies down on the couch so $slaves[$partner].slaveName can ride her <<if $seeRace == 1>>$activeSlave.race <</if>>face. As she sucks the cum out of her daughter's sopping fuckhole, $slaves[$partner].slaveName sucks you hard again. In the mood for something harder this time, you jam yourself into the older $activeSlave.slaveName. $slaves[$partner].slaveName gets off $activeSlave.slaveName's face so she can offer herself for fondling and groping while you pound $activeSlave.slaveName. After you're done, $slaves[$partner].slaveName returns her father's affection and gives her some gentle oral as the older slave lies there exhausted.
+	$activeSlave.slaveName gives you a little smile when she hears you wish to fuck her and her daughter $slaves[$partner].slaveName<<if ($PC.dick == 0)>> and sees your strap-on<</if>>. On your direction, $activeSlave.slaveName sits on the couch. When $slaves[$partner].slaveName enters, her father spreads her arms and tells her to sit on her lap. $slaves[$partner].slaveName gets the idea and straddles her so they're face to face. You take $slaves[$partner].slaveName from behind; she gasps as she feels her father's hands stimulate her from the front. They make out shamelessly while you take your pleasure. When you finish, $activeSlave.slaveName lies down on the couch so $slaves[$partner].slaveName can ride her <<if $seeRace == 1>>$activeSlave.race <</if>>face. As she sucks the cum out of her daughter's sopping fuckhole, $slaves[$partner].slaveName sucks you hard again. In the mood for something harder this time, you jam yourself into the older $activeSlave.slaveName. $slaves[$partner].slaveName gets off $activeSlave.slaveName's face so she can offer herself for fondling and groping while you pound $activeSlave.slaveName. After you're done, $slaves[$partner].slaveName returns her father's affection and gives her some gentle oral as the older slave lies there exhausted.
 	<<set $activeSlave.oralCount += 2, $slaves[$partner].oralCount += 2, $oralTotal += 2>>
 	<<BothVCheck>>
 	<<PartnerVCheck>>
diff --git a/src/npc/fSlaveImpregConsummate.tw b/src/npc/fSlaveImpregConsummate.tw
index eec3a6ec26638f8302d3bd9686159ffa82d0b78b..141bd93cb2239a186b97e3fabc2290c5c8f04221 100644
--- a/src/npc/fSlaveImpregConsummate.tw
+++ b/src/npc/fSlaveImpregConsummate.tw
@@ -115,7 +115,7 @@ Next, you see to $activeSlave.slaveName.
 	You set her up for $impregnatrix.slaveName, face up so she is pinned under the weight of her giant cock.
 <<elseif tooBigBalls($activeSlave)>>
 	You set her up for $impregnatrix.slaveName, face down so the weight of her giant balls anchor her helplessly in place.
-<<elseif ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) and ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>>
+<<elseif ($activeSlave.fetish == "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>>
 	She is accustomed to submit to you, but as a natural submissive she doesn't have much trouble submitting to $impregnatrix.slaveName's seed instead.
 <<elseif $activeSlave.devotion < -20>>
 	She tries to refuse, so you restrain her despite her resistance to the idea of being made a breeder.
diff --git a/src/player/actions/fCaress.tw b/src/player/actions/fCaress.tw
index d57e8e1fe6ed3d500fb21bc0b950b448e209599d..ae0807ea5088a2a881ab4313527d3f5fb144a375 100644
--- a/src/player/actions/fCaress.tw
+++ b/src/player/actions/fCaress.tw
@@ -63,20 +63,20 @@ Then, you gently tilt her <<if $activeSlave.face > 95>>overwhelmingly stunning<<
 <<if ($activeSlave.fetish == "mindbroken")>>
 	Her posture doesn't change. She initially only reacts slightly to your physical touch but then stops reacting completely. When you stop, her $activeSlave.eyeColor eyes track the movements of your hands briefly but then stare blankly ahead of her, awaiting further use of her body.
 <<elseif ($activeSlave.relationship == -2)>>
-	Her eyes gradually close and she slowly leans her head back, relaxing as she feels your caress. She gently gasps as she feels your warm <<if $PC.title == 1>>manly<<else>>feminine<</if>> hand. When you finally stop gently caressing her, her eyes remain closed and her mouth still in a rapturous shape for a moment before she slowly opens her eyes and smiles at you, she has an eager look on her face.<<if ($activeSlave.amp != 1)>> A hand reaches dumbly up to her face mimicking your last movements.<</if>> <<if ($activeSlave.accent >= 3)>>She does her best to communicate love with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (canTalk($activeSlave) == false)>>She does her best to communicate love with her $activeSlave.eyeColor eyes.<<elseif canTalk($activeSlave) == false>>She signs that she loves you.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"I love you, <<Master>>," she lisps dreamily.<<else>>"I love you, <<Master>>," she says dreamily.<</if>> She looks as though she wants much more than your mere caress.
-<<elseif ($activeSlave.devotion > 50) && ($activeSlave.fetish is "dom") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
-	As you start to touch her <<if $activeSlave.face > 95>>gorgeous<<elseif $activeSlave.face > 10>>lovely<<elseif $activeSlave.face >= -10>>pretty<<elseif $activeSlave.face >= -40>>homely<<else>>ugly<</if>> face, she smiles at you and takes your hand in hers, following its movements. She tries hard to stop herself from losing herself in your masterful hands. She takes her tendency towards sexual dominance right up to the edge of insubordination, when she starts to caress your face in turn. When you finally stop, her eyes are closed and she's smiling. <<if ($activeSlave.accent >= 3)>>She does her best to communicate excitement with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (canTalk($activeSlave) == false)>>She does her best to communicate excitement with her $activeSlave.eyeColor eyes.<<elseif canTalk($activeSlave) == false>>She signs that she liked that.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"That wath fun, <<Master>>," she lisps cheerfully.<<else>>"That was fun, <<Master>>," she says cheerfully.<</if>> She looks at you, her eyes almost begging you to give her more than your mere caress.
-<<elseif ($activeSlave.devotion > 50) && ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
-	She stiffens at your touch but slowly relaxes to your fingers on her face. As you move your fingers along her lips, she reacts almost as though she's receiving oral. She starts to gently suck your fingers, moaning into your hand and pressing herself lewdly against your <<if $PC.boobs == 1>>prominent breasts<<else>>manly chest<</if>>.<<if ($activeSlave.teeth is "pointy")>> She's very careful to avoid spearing your tongue with her sharp teeth.<</if>> She achieves a weak orgasm before you stop caressing her. <<if ($activeSlave.accent >= 3)>>She does her best to communicate undiminished lust with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (canTalk($activeSlave) == false)>>She does her best to communicate undiminished lust with her $activeSlave.eyeColor eyes.<<elseif canTalk($activeSlave) == false>>She signs that she liked that.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"That wath fun, <<Master>>," she lisps lustfully.<<else>>"That was fun, <<Master>>," she says lustfully.<</if>> She looks at you as if she wants more than your hands touching her.
+	Her eyes gradually close and she slowly leans her head back, relaxing as she feels your caress. She gently gasps as she feels your warm <<if $PC.title == 1>>manly<<else>>feminine<</if>> hand. When you finally stop gently caressing her, her eyes remain closed and her mouth still in a rapturous shape for a moment before she slowly opens her eyes and smiles at you, she has an eager look on her face.<<if ($activeSlave.amp != 1)>> A hand reaches dumbly up to her face mimicking your last movements.<</if>> <<if ($activeSlave.accent >= 3)>>She does her best to communicate love with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (!canTalk($activeSlave))>>She does her best to communicate love with her $activeSlave.eyeColor eyes.<<elseif !canTalk($activeSlave)>>She signs that she loves you.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"I love you, <<Master>>," she lisps dreamily.<<else>>"I love you, <<Master>>," she says dreamily.<</if>> She looks as though she wants much more than your mere caress.
+<<elseif ($activeSlave.devotion > 50) && ($activeSlave.fetish == "dom") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
+	As you start to touch her <<if $activeSlave.face > 95>>gorgeous<<elseif $activeSlave.face > 10>>lovely<<elseif $activeSlave.face >= -10>>pretty<<elseif $activeSlave.face >= -40>>homely<<else>>ugly<</if>> face, she smiles at you and takes your hand in hers, following its movements. She tries hard to stop herself from losing herself in your masterful hands. She takes her tendency towards sexual dominance right up to the edge of insubordination, when she starts to caress your face in turn. When you finally stop, her eyes are closed and she's smiling. <<if ($activeSlave.accent >= 3)>>She does her best to communicate excitement with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (!canTalk($activeSlave))>>She does her best to communicate excitement with her $activeSlave.eyeColor eyes.<<elseif !canTalk($activeSlave)>>She signs that she liked that.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"That wath fun, <<Master>>," she lisps cheerfully.<<else>>"That was fun, <<Master>>," she says cheerfully.<</if>> She looks at you, her eyes almost begging you to give her more than your mere caress.
+<<elseif ($activeSlave.devotion > 50) && ($activeSlave.fetish == "cumslut") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>>
+	She stiffens at your touch but slowly relaxes to your fingers on her face. As you move your fingers along her lips, she reacts almost as though she's receiving oral. She starts to gently suck your fingers, moaning into your hand and pressing herself lewdly against your <<if $PC.boobs == 1>>prominent breasts<<else>>manly chest<</if>>.<<if ($activeSlave.teeth == "pointy")>> She's very careful to avoid spearing your tongue with her sharp teeth.<</if>> She achieves a weak orgasm before you stop caressing her. <<if ($activeSlave.accent >= 3)>>She does her best to communicate undiminished lust with her $activeSlave.eyeColor eyes, since she does not speak $language well enough to express herself.<<elseif ($activeSlave.amp == 1) && (!canTalk($activeSlave))>>She does her best to communicate undiminished lust with her $activeSlave.eyeColor eyes.<<elseif !canTalk($activeSlave)>>She signs that she liked that.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"That wath fun, <<Master>>," she lisps lustfully.<<else>>"That was fun, <<Master>>," she says lustfully.<</if>> She looks at you as if she wants more than your hands touching her.
 <<elseif ($activeSlave.devotion > 50)>>
-	She accepts your touch with devotion, leaning her head back at your gentle caress along her face. She leans her body forward, pressing herself against you, and you feel the intense heat from her body against your <<if $PC.boobs == 1>>soft breasts<<else>>manly chest<</if>>. She gradually closes her eyes and when you finally stop, <<if ($activeSlave.amp != 1)>>she runs her hand delightfully across her face where you last touched her<</if>>, a euphoric look on her $activeSlave.skin face. <<if ($activeSlave.accent >= 3)>>She does her best to communicate devotion with her $activeSlave.eyeColor eyes, since she's not confident in her ability to express it in $language.<<elseif ($activeSlave.amp == 1) && (canTalk($activeSlave) == false)>>She does her best to communicate devotion with her $activeSlave.eyeColor eyes.<<elseif canTalk($activeSlave) == false>>She signs that she loves you.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"I love you, <<Master>>," she lisps jubilantly.<<else>>"I love you, <<Master>>," she says jubilantly.<</if>> She looks at you longingly, almost as if she's bursting to say that she wants more than your mere caress.
+	She accepts your touch with devotion, leaning her head back at your gentle caress along her face. She leans her body forward, pressing herself against you, and you feel the intense heat from her body against your <<if $PC.boobs == 1>>soft breasts<<else>>manly chest<</if>>. She gradually closes her eyes and when you finally stop, <<if ($activeSlave.amp != 1)>>she runs her hand delightfully across her face where you last touched her<</if>>, a euphoric look on her $activeSlave.skin face. <<if ($activeSlave.accent >= 3)>>She does her best to communicate devotion with her $activeSlave.eyeColor eyes, since she's not confident in her ability to express it in $language.<<elseif ($activeSlave.amp == 1) && (!canTalk($activeSlave))>>She does her best to communicate devotion with her $activeSlave.eyeColor eyes.<<elseif !canTalk($activeSlave)>>She signs that she loves you.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>"I love you, <<Master>>," she lisps jubilantly.<<else>>"I love you, <<Master>>," she says jubilantly.<</if>> She looks at you longingly, almost as if she's bursting to say that she wants more than your mere caress.
 <<elseif ($activeSlave.devotion > 20)>>
-	She accepts your touch willingly. As you are so close to her, you sense considerable turmoil in the <<if ($activeSlave.physicalAge > 30)>>woman<<else>>girl<</if>>; she's doing her duty as a slave by complying with your wishes, and is probably struggling with the mixture of resistance, obedience and perhaps even devotion forced to the forefront of her mind by your touch across her face. When you finally move your hand away, her $activeSlave.eyeColor eyes gaze into yours searchingly, looking for answers that are not there. <<if (($activeSlave.amp == 1) && (canTalk($activeSlave) == false))>>Her eyes beg for an answer: is that it?<<elseif canTalk($activeSlave) == false>>She signs hesitantly, asking if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks hesitantly, "I-ith that it, <<Master>>?"<<else>>She asks hesitantly, "I-is that it, <<Master>>?"<</if>>
+	She accepts your touch willingly. As you are so close to her, you sense considerable turmoil in the <<if ($activeSlave.physicalAge > 30)>>woman<<else>>girl<</if>>; she's doing her duty as a slave by complying with your wishes, and is probably struggling with the mixture of resistance, obedience and perhaps even devotion forced to the forefront of her mind by your touch across her face. When you finally move your hand away, her $activeSlave.eyeColor eyes gaze into yours searchingly, looking for answers that are not there. <<if (($activeSlave.amp == 1) && (!canTalk($activeSlave)))>>Her eyes beg for an answer: is that it?<<elseif !canTalk($activeSlave)>>She signs hesitantly, asking if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks hesitantly, "I-ith that it, <<Master>>?"<<else>>She asks hesitantly, "I-is that it, <<Master>>?"<</if>>
 <<elseif ($activeSlave.devotion >= -20) && ($activeSlave.trust < -20)>>
-	She shakes at your touch fearfully. As you move your hand along her unresisting face, her eagerness to avoid punishment leads her to stiffen, her nervousness is made apparent. You continue stroking her cheek, enjoying her fear, and the physical intimacy slowly does its work. She starts to relax, her resistance easing and her eyes start to close. When finally move your hand away, she looks at you for a long moment, her eyes darting up at you, before visibly catching herself with a reminder that she's a slave and you're her owner. <<if (($activeSlave.amp == 1) && (canTalk($activeSlave) == false))>>Her eyes beg for an answer: is that it?<<elseif canTalk($activeSlave) == false>>She signs hesitantly, asking if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks hesitantly, "I-ith that it, <<Master>>?"<<else>>She asks hesitantly, "I-is that it, <<Master>>?"<</if>>
+	She shakes at your touch fearfully. As you move your hand along her unresisting face, her eagerness to avoid punishment leads her to stiffen, her nervousness is made apparent. You continue stroking her cheek, enjoying her fear, and the physical intimacy slowly does its work. She starts to relax, her resistance easing and her eyes start to close. When finally move your hand away, she looks at you for a long moment, her eyes darting up at you, before visibly catching herself with a reminder that she's a slave and you're her owner. <<if (($activeSlave.amp == 1) && (!canTalk($activeSlave)))>>Her eyes beg for an answer: is that it?<<elseif !canTalk($activeSlave)>>She signs hesitantly, asking if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks hesitantly, "I-ith that it, <<Master>>?"<<else>>She asks hesitantly, "I-is that it, <<Master>>?"<</if>>
 <<elseif ($activeSlave.trust < -50)>>
-	She is nearly frozen with fear, and does not resist as you start to caress her face. In fact, she barely reacts at all. She stares at you as you move your fingers across her stiff face, but it's like touching a statue. She is so filled with terror that she remains stiff even as it becomes clear to her you're not going to hurt her. When you bore of touching the <<if ($activeSlave.physicalAge > 30)>>woman<<else>>girl<</if>> and move your hand away, she stares at you in utter incomprehension. <<if (($activeSlave.amp == 1) && (canTalk($activeSlave) == false))>>Her eyes beg for an answer: is that it?<<elseif canTalk($activeSlave) == false>>She signs spastically, begging fearfully to know if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks nervously, "I-ith that it, <<Master>>?"<<else>>She asks nervously, "I-is that it, <<Master>>?"<</if>> Then she cringes.
+	She is nearly frozen with fear, and does not resist as you start to caress her face. In fact, she barely reacts at all. She stares at you as you move your fingers across her stiff face, but it's like touching a statue. She is so filled with terror that she remains stiff even as it becomes clear to her you're not going to hurt her. When you bore of touching the <<if ($activeSlave.physicalAge > 30)>>woman<<else>>girl<</if>> and move your hand away, she stares at you in utter incomprehension. <<if (($activeSlave.amp == 1) && (!canTalk($activeSlave)))>>Her eyes beg for an answer: is that it?<<elseif !canTalk($activeSlave)>>She signs spastically, begging fearfully to know if that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She asks nervously, "I-ith that it, <<Master>>?"<<else>>She asks nervously, "I-is that it, <<Master>>?"<</if>> Then she cringes.
 <<else>>
-	She reflexively turns away from you, but you catch her head with one hand and slowly but gently move your other hand along her face. Spluttering, she leans backwards, but you tip forward with her and pin her against your desk, not stopping your gentle touch on her head. She tries to wriggle out of your grasp desperately, but her struggles slowly subside as she realizes that you're not taking this any farther. When you bore of it and move your hand away, she stares at you in utter incomprehension. <<if (($activeSlave.amp == 1) && (canTalk($activeSlave) == false))>>Her eyes demand an answer: is that it?<<elseif canTalk($activeSlave) == false>>She signs irritably, asking whether that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She splutters, "Ith that it, <<Master>>!?"<<else>>She splutters, "Is that it, <<Master>>!?"<</if>>
+	She reflexively turns away from you, but you catch her head with one hand and slowly but gently move your other hand along her face. Spluttering, she leans backwards, but you tip forward with her and pin her against your desk, not stopping your gentle touch on her head. She tries to wriggle out of your grasp desperately, but her struggles slowly subside as she realizes that you're not taking this any farther. When you bore of it and move your hand away, she stares at you in utter incomprehension. <<if (($activeSlave.amp == 1) && (!canTalk($activeSlave)))>>Her eyes demand an answer: is that it?<<elseif !canTalk($activeSlave)>>She signs irritably, asking whether that's it.<<elseif SlaveStatsChecker.checkForLisp($activeSlave)>>She splutters, "Ith that it, <<Master>>!?"<<else>>She splutters, "Is that it, <<Master>>!?"<</if>>
 <</if>>
 <</nobr>>
diff --git a/src/pregmod/newChildIntro.tw b/src/pregmod/newChildIntro.tw
index b246458d6138d8818844a2e4da1699d3637aafb5..0d1d6339d79ec75fe5e5372247a326a29b21d52a 100644
--- a/src/pregmod/newChildIntro.tw
+++ b/src/pregmod/newChildIntro.tw
@@ -552,7 +552,7 @@ You slowly strip down, gauging her reactions to your show, until you are fully n
 <</if>>
 
 <<if $arcologies[0].FSSupremacist >= 50>>
-	<<if $activeSlave.race is $arcologies[0].FSSupremacistRace>>
+	<<if $activeSlave.race == $arcologies[0].FSSupremacistRace>>
 	She noticed everybody else is the same race as her, and @@.mediumaquamarine;feels right at home among them.@@
 	<<set $activeSlave.trust += 2>>
 	<</if>>
@@ -763,7 +763,7 @@ You slowly strip down, gauging her reactions to your show, until you are fully n
 <<if $activeSlave.dick > 0 && canAchieveErection($activeSlave)>>
 <br><<link "Dominate her penis">>
 <<replace "#result">>
-	As you inspect her, you take note of her fully functional <<if $activeSlave.dick == 1>>tiny dick<<elseif $activeSlave.dick == 2>>cute dick<<elseif $activeSlave.dick is 3>>dick<<elseif $activeSlave.dick is 4>>big dick<<elseif $activeSlave.dick is 5>>impressive dick<<elseif $activeSlave.dick is 6>>huge dick<</if>>. You gently begin fondling her penis, grinning at the look of confusion and lust growing on her face.
+	As you inspect her, you take note of her fully functional <<if $activeSlave.dick == 1>>tiny dick<<elseif $activeSlave.dick == 2>>cute dick<<elseif $activeSlave.dick == 3>>dick<<elseif $activeSlave.dick == 4>>big dick<<elseif $activeSlave.dick == 5>>impressive dick<<elseif $activeSlave.dick == 6>>huge dick<</if>>. You gently begin fondling her penis, grinning at the look of confusion and lust growing on her face.
 	<<if $activeSlave.dick == 1>>
 	You scoff at her as her micropenis barely fills your palm.
 	<<elseif $activeSlave.dick == 2>>
@@ -1131,7 +1131,7 @@ You beckon the curious girl to your hefty breasts, having noticed how hungrily s
 <<set $activeSlave.devotion += 5>>
 <<set $activeSlave.trust += 10>>
 <<replace "#result">>
-	You cuff her wrists and ankles, bend all four limbs behind her, secure them together, and hoist her up to the ceiling on a rope. She hangs up there like a sex slave chandelier, breasts swaying in a lovely way whenever she squirms. Periodically you let her down to stretch her aching limbs, but whenever you put your decoration back up you add some clips with little bells on them: first the nose, then the nipples, and finally the <<if $activeSlave.dick != 0>>dickhead<<else>>pussylips<</if>>. By the end of the day your work is accompanied by the sweet sounds of ringing bells and @@.hotpink;inappropriate laughter@@ in her <<if $activeSlave.voice is 3>>high, girlish<<elseif $activeSlave.voice is 2>>feminine<<else>>deep<</if>> voice. She seems to think it's a game and @@.mediumaquamarine;trust you more@@ for playing it with her.
+	You cuff her wrists and ankles, bend all four limbs behind her, secure them together, and hoist her up to the ceiling on a rope. She hangs up there like a sex slave chandelier, breasts swaying in a lovely way whenever she squirms. Periodically you let her down to stretch her aching limbs, but whenever you put your decoration back up you add some clips with little bells on them: first the nose, then the nipples, and finally the <<if $activeSlave.dick != 0>>dickhead<<else>>pussylips<</if>>. By the end of the day your work is accompanied by the sweet sounds of ringing bells and @@.hotpink;inappropriate laughter@@ in her <<if $activeSlave.voice == 3>>high, girlish<<elseif $activeSlave.voice == 2>>feminine<<else>>deep<</if>> voice. She seems to think it's a game and @@.mediumaquamarine;trust you more@@ for playing it with her.
 <</replace>>
 <</link>>
 
diff --git a/src/pregmod/reMaleArcologyOwner.tw b/src/pregmod/reMaleArcologyOwner.tw
index e530722652081ffd6b9cab6c7b9a44c1f7f70bca..fe711ada74036c689464cdef2d02f8677f75d007 100644
--- a/src/pregmod/reMaleArcologyOwner.tw
+++ b/src/pregmod/reMaleArcologyOwner.tw
@@ -19,7 +19,7 @@ He strikes a fine balance in conversation with you, firm enough to not overpower
 <</link>>
 <br><<link "Walk past him and out onto an unoccupied balcony">>
 	<<replace "#result">>
-	You walk past him and out onto a balcony. He politely disengages himself and follows, meeting your gaze with a twinkle in his eye. You start talking of nothing of real consequence, but you find that you do have a fair amount to discuss and joke about, since there are oddities to your life that only another slaveowning arcology owner can really understand. You discover that he is very willing to share $PC.refreshment, and you break out some of your best. The party takes notice of your tete-a-tete, but his judgment was obviously correct. Rather than looking down on you, the other prominent guests seem respectfully envious of his access to you. This is still the case even when he starts to get flirty, leaning into you, brushing against you, and more. <<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> cleared your suite long ago, so when he finally nudges his hip against yours and does not take it away, you take him by the hand and lead him there. He stops you with a hand at the door to the suite and unbuttons his shirt, revealing a triathlete's tanned and sculpted body. As you begin to strip, he embraces you, whispering, "You have no idea how nice this is." It's clear it's been a long time since you've let someone else take the lead, and he sometimes has to snap wrestle you for dominance. He leaves a few hours later with a satisfied expression, giving you a deep kiss on his way out in full public view. @@.green;Your reputation has greatly improved.@@
+	You walk past him and out onto a balcony. He politely disengages himself and follows, meeting your gaze with a twinkle in his eye. You start talking of nothing of real consequence, but you find that you do have a fair amount to discuss and joke about, since there are oddities to your life that only another slaveowning arcology owner can really understand. You discover that he is very willing to share $PC.refreshment, and you break out some of your best. The party takes notice of your tete-a-tete, but his judgment was obviously correct. Rather than looking down on you, the other prominent guests seem respectfully envious of his access to you. This is still the case even when he starts to get flirty, leaning into you, brushing against you, and more. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> cleared your suite long ago, so when he finally nudges his hip against yours and does not take it away, you take him by the hand and lead him there. He stops you with a hand at the door to the suite and unbuttons his shirt, revealing a triathlete's tanned and sculpted body. As you begin to strip, he embraces you, whispering, "You have no idea how nice this is." It's clear it's been a long time since you've let someone else take the lead, and he sometimes has to snap wrestle you for dominance. He leaves a few hours later with a satisfied expression, giving you a deep kiss on his way out in full public view. @@.green;Your reputation has greatly improved.@@
 	<<if isPlayerFertile($PC)>>
 		<<KnockMeUp $PC 60 0 -4>>
 	<</if>>
@@ -32,7 +32,7 @@ He strikes a fine balance in conversation with you, firm enough to not overpower
 <br><<link "Quickly arrange an anonymous night out for him">>
 	<<replace "#result">>
 	You immediately enlist $assistantName to help you make some hasty preparations, and then send him a message asking him if he'd like to spend a night out with you, as a couple of unremarkable citizens. He glances at you with a curious expression, and you direct him to a side room. He finds you there, changing into the heavy, anonymizing armor of one of your mercenaries; you have a male suit for him, too. Once you're both suited up, you move to show him how to activate the face-obscuring helmet, but you find that he's already got it on and active. "This," he says, "is either the best or the stupidest date idea I have ever heard. Let's fucking do this." You pass a mercenary on your way out onto the club, and he cannot resist giving you a thumbs up, which your fellow arcology owner fortunately fails to notice. You patrol for a while, using internal comms to joke about life as an arcology owner, something he clearly gets to do too infrequently. You don't mind the chance, either. Your mercenaries frequently spend time together off duty, so nobody sees anything unusual about a male and female in mercenary armor sharing a milkshake at a dairy bar, even when they start to engage in increasingly rough public flirting, armor and all. Later, your slaves are obliged to pick up and sort a trail of discarded armor pieces leading from the entry to your penthouse all the way to your suite, which is now emitting the indistinct sounds of very energetic sex. A few hours later, when you're showering up together so he can head back to his domain, he looks at you and says seriously, "That was pretty fun. If things ever go to shit, I wouldn't mind wearing that armor for real." Your mercenaries cannot keep their mouths shut, for once, and the almost unbelievably juicy story of the arcology owners wearing borrowed armor to go on an anonymous date spreads like wildfire. @@.green;Your reputation has greatly improved.@@
-	<<set $desc = "a flirtacious thank-you note from a male arcology owner of your acquaintance">>
+	<<set $desc = "a flirtatious thank-you note from a male arcology owner of your acquaintance">>
 	<<set $trinkets.push($desc)>>
 	<<if isPlayerFertile($PC)>>
 		<<KnockMeUp $PC 60 0 -4>>
diff --git a/src/pregmod/widgets/pregmodBirthWidgets.tw b/src/pregmod/widgets/pregmodBirthWidgets.tw
index 8a2ae648b6cc75b3a506b7b67d6c91e8246dd3da..d5490483892ee00a58342aebf687f463d13b796b 100644
--- a/src/pregmod/widgets/pregmodBirthWidgets.tw
+++ b/src/pregmod/widgets/pregmodBirthWidgets.tw
@@ -1190,7 +1190,7 @@
   
 <<case "be a subordinate slave">>
 	<<for $k = 0; $k < $slaves.length; $k++>>
-		<<if $slaves[$i].subTarget is $slaves[$k].ID>>
+		<<if $slaves[$i].subTarget == $slaves[$k].ID>>
 			<<set $tempSub = $slaves[$k]>>
 		<</if>>
 	<</for>>
diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw
index c30a052887be7d96406db2120f86727d56f983bd..15867e73f0bcff086e0a61e6225f9ad85f30ff34 100644
--- a/src/pregmod/widgets/seBirthWidgets.tw
+++ b/src/pregmod/widgets/seBirthWidgets.tw
@@ -220,7 +220,7 @@
 
 		<<else>>
 			<br>
-  			<<if $dairyRestraintsSetting > 1 and $slaves[$i].career == "a bioreactor">>
+  			<<if $dairyRestraintsSetting > 1 && $slaves[$i].career == "a bioreactor">>
 				As $slaves[$i].slaveName's water breaks, a mechanical basket is extended under $possessive laboring <<if $slaves[$i].mpreg == 1>>ass<<else>>cunt<</if>>. Once the child<<if $slaves[$i].pregType > 1>>ren are<<else>> is<</if>> secure, the basket retracts allowing access to $possessive <<if $slaves[$i].mpreg == 1>>rear<<else>>vagina<</if>>.<<if $dairyPregSetting > 0>> The impregnation tube is promptly reinserted, bloating $possessive empty womb with fresh cum, where it will remain until $pronoun is pregnant once more.<</if>> All these events are meaningless to $object, as $possessive consciousness has long since been snuffed out.
   			<<elseif $dairyRestraintsSetting > 1>>
 				<<if $slaves[$i].fetish == "mindbroken">>
diff --git a/src/uncategorized/RECI.tw b/src/uncategorized/RECI.tw
index 91b60f248bd784323457602578c2fce08dcdca7d..39511367d4edb52c5b0f14856c09398bd92fbe12 100644
--- a/src/uncategorized/RECI.tw
+++ b/src/uncategorized/RECI.tw
@@ -331,7 +331,7 @@ She looks pensive, and goes through two false starts before she clears her throa
 	<<else>>
 		The slaves start making out, showing no signs of breaking their lip lock as they arrange themselves for penetration.
 	<</if>>
-	$Concubine.slaveName guides her <<if $Concubine.dick == 0>>strap-on<<else>>cock<</if>> inside the <<if ($activeSlave.fetish is "buttslut") && ($activeSlave.fetishKnown == 1)>>enthusiastic<<else>>compliant<</if>> $activeSlave.slaveName, who begins to ride it, enjoying both the <<if $activeSlave.prostate > 0>>prostate<<else>>anal<</if>> stimulation and the feeling of her <<if $activeSlave.dick > 0>><<if ($activeSlave.hormoneBalance >= 100) || ($activeSlave.dickAccessory is "chastity")>>midsection trapped between her and <<elseif ($activeSlave.hormoneBalance >= 100) || ($activeSlave.balls == 0)>>erection trapped between her and <<else>>soft dick trapped between her and <</if>><<else>>pussy pressed against<</if>> $Concubine.slaveName. $Concubine.slaveName smacks the humping <<if $activeSlave.physicalAge > 30>>woman<<else>>girl<</if>>'s butt to get her to stop, and slides an index finger up her ass alongside the <<if $Concubine.dick == 0>>phallus<<else>>cock<</if>>. $activeSlave.slaveName shudders, and then begins to whine as $Concubine.slaveName pulls her sphincter wider.
+	$Concubine.slaveName guides her <<if $Concubine.dick == 0>>strap-on<<else>>cock<</if>> inside the <<if ($activeSlave.fetish == "buttslut") && ($activeSlave.fetishKnown == 1)>>enthusiastic<<else>>compliant<</if>> $activeSlave.slaveName, who begins to ride it, enjoying both the <<if $activeSlave.prostate > 0>>prostate<<else>>anal<</if>> stimulation and the feeling of her <<if $activeSlave.dick > 0>><<if ($activeSlave.hormoneBalance >= 100) || ($activeSlave.dickAccessory == "chastity")>>midsection trapped between her and <<elseif ($activeSlave.hormoneBalance >= 100) || ($activeSlave.balls == 0)>>erection trapped between her and <<else>>soft dick trapped between her and <</if>><<else>>pussy pressed against<</if>> $Concubine.slaveName. $Concubine.slaveName smacks the humping <<if $activeSlave.physicalAge > 30>>woman<<else>>girl<</if>>'s butt to get her to stop, and slides an index finger up her ass alongside the <<if $Concubine.dick == 0>>phallus<<else>>cock<</if>>. $activeSlave.slaveName shudders, and then begins to whine as $Concubine.slaveName pulls her sphincter wider.
 	<br><br>
 	"Plea<<s>>e," the slave begs incoherently as you press your <<if $PC.dick == 1>>dick<<else>>strap-on<</if>> against $Concubine.slaveName's finger. It's not clear whether she's begging you to DP her anus, or begging you not to, but whichever it is, $Concubine.slaveName withdraws her finger and you shove yourself inside. $activeSlave.slaveName jerks with discomfort and gives a gasping "Oh f-fuck-k" that <<if $activeSlave.anus > 2>>she repeats over and over<<else>>is followed by some minor struggling<</if>> as you begin to fuck her. From her angle, $Concubine.slaveName can't pound $activeSlave.slaveName quite as hard as you can, but she does her best. When you've both had your fun, extracted yourselves, and let the exhausted, gaped bitch collapse onto the floor, $Concubine.slaveName gives you a naughty wink.
 	<<Enunciate $Concubine>>
diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw
index 3d80ecaf6d64567628a51110c1606a2379125fef..70099a3e7475658be3114d37f2f4e91c9665550a 100644
--- a/src/uncategorized/RESS.tw
+++ b/src/uncategorized/RESS.tw
@@ -4706,7 +4706,7 @@ May I plea<<s>>e try out <<s>>omething <<s>>kimpier today?"
 		You immediately realize you've made a mistake; you feel full already and she's still cumming. You watch in horror as your belly steadily swells with seed, unable to flow out thanks to your obstructed cunt. $activeSlave.slaveName grunts as she pushes out the last of her load before pulling out and releasing you. You try to get up, but the experience has left you drained, so you are left hoping that her instincts tell her she's done her job. She lowers her nose to your violated pussy and sniffs; unsatisfied, she moves back into position to properly seed you this time. You black out as her second load joins the first, only to awaken sometime later
 		<<if $Concubine != 0>>
 			with $Concubine.slaveName trying her best to drain your swollen belly.
-			<<if canTalk($Concubine) and $Concubine.amp != 1>>
+			<<if canTalk($Concubine) && $Concubine.amp != 1>>
 				<<Enunciate $Concubine>>
 				"I'm <<s>>o <<s>>orry <<Master>>... I <<s>>tepped out for a minute and thi<<s>> happen<<s>>." You ask what happened to $activeSlave.slaveName. "<<Sh>>e'<<s>> bound and gagged now, <<sh>>e won't hurt you anymore. But what are you going to do with that belly? I won't tell anyone what happened, but we've got to get rid of it."
 			<<else>>
diff --git a/src/uncategorized/dispensary.tw b/src/uncategorized/dispensary.tw
index 5f4d33c5f3ee231b42d8ebc322ff66b0893326e4..ff3d15ed4e3348b1a82dd1833b24083909584baf 100644
--- a/src/uncategorized/dispensary.tw
+++ b/src/uncategorized/dispensary.tw
@@ -449,7 +449,7 @@ Implant Production
 <</if>>
 
 <<if $ImplantProductionUpgrade == 1 && $seeHyperPreg == 1 && $seeExtreme == 1 && $seePreg != 0>>
-	<<if ($permaPregImplant == 0) and ($rep <= 4000*_PCSkillCheck)>>
+	<<if ($permaPregImplant == 0) && ($rep <= 4000*_PCSkillCheck)>>
 		//You lack the reputation to access experimental pregnancy generator schematics//
 		<br>
 	<</if>>
@@ -553,7 +553,7 @@ Future Societies Research
 <</if>>
 
 <<if ($ImplantProductionUpgrade == 1) && ($arcologies[0].FSTransformationFetishistDecoration >= 100)>>
-	<<if ($arcologies[0].FSTransformationFetishistResearch == 0) and ($rep <= 5000*_PCSkillCheck)>>
+	<<if ($arcologies[0].FSTransformationFetishistResearch == 0) && ($rep <= 5000*_PCSkillCheck)>>
 		//You lack the reputation to access experimental gigantic implants and elasticizing filler.//
 		<br>
 	<<elseif ($arcologies[0].FSTransformationFetishistResearch == 0)>>
diff --git a/src/uncategorized/futureSociety.tw b/src/uncategorized/futureSociety.tw
index 8f40840ba71261a1a7ea324ac6e221426187e176..be0799cfee8848a348a1daaa11851e16a28862e0 100644
--- a/src/uncategorized/futureSociety.tw
+++ b/src/uncategorized/futureSociety.tw
@@ -817,7 +817,7 @@ You are spending <<print cashFormat($FSSpending)>> each week to support your soc
 <</if>>
 
 <<if $seeDicks != 0 || $makeDicks == 1>>
-<<if $arcologies[0].FSGenderFundamentalist is "unset">>
+<<if $arcologies[0].FSGenderFundamentalist == "unset">>
 <<if $arcologies[0].FSGenderRadicalist != "unset">>
 	<br>''You are pursuing'' a radical redefinition of gender that identifies powerful people as male, and everyone else as female.
 	//<<link [[Abandon|Future Society]]>><<set $arcologies[0].FSGenderRadicalist = "unset", $arcologies[0].FSGenderRadicalistDecoration = 20, $arcologies[0].FSGenderRadicalistLawDicks = 0, $arcologies[0].FSGenderRadicalistLawFuta = 0, $arcologies[0].FSGenderRadicalistLawBeauty = 0, $arcologies[0].FSGenderRadicalistSMR = 0, $FSCredits += 1>><<if $assistantFSAppearance == "gender radicalist">><<set $assistantFSAppearance = "default">><</if>><<ClearFacilityDecorations>><</link>>//<br>&nbsp;&nbsp;&nbsp;&nbsp;
diff --git a/src/uncategorized/generateXXSlave.tw b/src/uncategorized/generateXXSlave.tw
index a995f62cb9c9369a23b15f0371c01af299bacd48..ccd80a70f6a44349f188a328b301a0910ad4080d 100644
--- a/src/uncategorized/generateXXSlave.tw
+++ b/src/uncategorized/generateXXSlave.tw
@@ -123,7 +123,7 @@
 <<set $activeSlave.fetish = either("none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "submissive", "submissive", "cumslut", "humiliation", "humiliation", "buttslut", "boobs", "pregnancy", "dom", "sadist", "masochist")>>
 
 <<set $activeSlave.behavioralFlaw = either("none", "none", "none", "arrogant", "bitchy", "odd", "hates men", "hates women", "hates women", "anorexic", "gluttonous", "devout", "liberated")>>
-<<if ($activeSlave.behavioralFlaw is "devout")>>
+<<if ($activeSlave.behavioralFlaw == "devout")>>
 	<<set $activeSlave.sexualFlaw = either("none", "repressed",  "shamefast", "apathetic", "crude", "judgemental")>>
 <<else>>
 	<<set $activeSlave.sexualFlaw = either("none", "none", "none", "none", "hates oral", "hates anal", "hates penetration", "repressed", "idealistic", "shamefast", "apathetic", "crude", "judgemental")>>
diff --git a/src/uncategorized/generateXYSlave.tw b/src/uncategorized/generateXYSlave.tw
index 66e1793a7bdac25109737ecc5ee6b50919cb2f61..70cc109176669ddbebd9db260e13ff53678953ec 100644
--- a/src/uncategorized/generateXYSlave.tw
+++ b/src/uncategorized/generateXYSlave.tw
@@ -113,7 +113,7 @@
 <<set $activeSlave.fetish = either("none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "submissive", "cumslut", "humiliation", "buttslut", "buttslut", "boobs", "dom", "sadist", "masochist")>>
 
 <<set $activeSlave.behavioralFlaw = either("none", "none", "none", "arrogant", "bitchy", "odd", "hates men", "hates men", "hates men", "hates women", "anorexic", "gluttonous", "devout", "liberated")>>
-<<if ($activeSlave.behavioralFlaw is "devout")>>
+<<if ($activeSlave.behavioralFlaw == "devout")>>
 	<<set $activeSlave.sexualFlaw = either("none", "repressed",  "shamefast", "apathetic", "crude", "judgemental")>>
 <<else>>
 	<<set $activeSlave.sexualFlaw = either("none", "none", "none", "none", "hates oral", "hates anal", "hates anal", "repressed", "idealistic", "shamefast", "apathetic", "crude", "judgemental")>>
diff --git a/src/uncategorized/neighborsFSAdoption.tw b/src/uncategorized/neighborsFSAdoption.tw
index 47a2979d695db1199fc2b926ac3e991e0d98b9ef..1dd34696d13ac29b2084351bc146b8a06e77f7f0 100644
--- a/src/uncategorized/neighborsFSAdoption.tw
+++ b/src/uncategorized/neighborsFSAdoption.tw
@@ -163,12 +163,12 @@ societal development.
 	<</if>>
   <</if>>
   <<if $arcologies[0].FSRestart > random(5,60)>>
-	<<if ($arcologies[$i].FSRestart == "unset") and ($arcologies[$i].FSRepopulationFocus == "unset")>>
+	<<if ($arcologies[$i].FSRestart == "unset") && ($arcologies[$i].FSRepopulationFocus == "unset")>>
 	$desc obsessed with breeding a new society, leading the arcology to @@.yellow;adopt Repopulationism.@@
 	<<set $arcologies[$i].FSRepopulationFocus = 5>><<set $adopted = 1>>
 	<</if>>
   <<elseif $arcologies[0].FSRepopulationFocus > random(5,60)>>
-	<<if ($arcologies[$i].FSRestart == "unset") and ($arcologies[$i].FSRepopulationFocus == "unset")>>
+	<<if ($arcologies[$i].FSRestart == "unset") && ($arcologies[$i].FSRepopulationFocus == "unset")>>
 	$desc obsessed with creating a new, better society, leading the arcology to @@.yellow;adopt Eugenics.@@
 	<<set $arcologies[$i].FSRestart = 5>><<set $adopted = 1>>
 	<</if>>
diff --git a/src/uncategorized/newSlaveIntro.tw b/src/uncategorized/newSlaveIntro.tw
index 75c3aee55eabbf38016002ffa7925ae98ffe812c..1c2abb2dde55c3944138d4ac480768525fe47d21 100644
--- a/src/uncategorized/newSlaveIntro.tw
+++ b/src/uncategorized/newSlaveIntro.tw
@@ -1416,7 +1416,7 @@ The legalities completed, ''__@@.pink;<<SlaveFullName $activeSlave>>@@__'' <<if
 	<br>&nbsp;&nbsp;&nbsp;&nbsp;
 	<<link "Dominate her penis and demonstrate her place">>
 		<<replace "#introResult">>
-			As you inspect her, you take note of her fully functional <<if $activeSlave.dick == 1>>tiny dick<<elseif $activeSlave.dick == 2>>cute dick<<elseif $activeSlave.dick is 3>>dick<<elseif $activeSlave.dick is 4>>big dick<<elseif $activeSlave.dick is 5>>impressive dick<<elseif $activeSlave.dick is 6>>huge dick<</if>>. You roughly push her up against a wall and begin fondling her penis, grinning at the look of panic growing on her face.
+			As you inspect her, you take note of her fully functional <<if $activeSlave.dick == 1>>tiny dick<<elseif $activeSlave.dick == 2>>cute dick<<elseif $activeSlave.dick == 3>>dick<<elseif $activeSlave.dick == 4>>big dick<<elseif $activeSlave.dick == 5>>impressive dick<<elseif $activeSlave.dick == 6>>huge dick<</if>>. You roughly push her up against a wall and begin fondling her penis, grinning at the look of panic growing on her face.
 		<<if $activeSlave.dick == 1>>
 		You scoff at her as her micropenis barely fills your palm.
 		<<elseif $activeSlave.dick == 2>>
diff --git a/src/uncategorized/pCitizensAndCivilians.tw b/src/uncategorized/pCitizensAndCivilians.tw
index c1fedbb7c0cff09183768088f9862c17a077374b..1f29c927d70e0364316153472529c341d2b1cef4 100644
--- a/src/uncategorized/pCitizensAndCivilians.tw
+++ b/src/uncategorized/pCitizensAndCivilians.tw
@@ -271,7 +271,7 @@
 <<if $arcologies[0].FSPaternalist >= 10>>
 <br><<link "They shall be the Wardens">>
 	<<replace "#result">>
-	You ask for a meeting with your mercenaries' captain and lay out a proposal for a redesigned contract between you. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if $PC.title isnot 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "First Warden reporting for duty, <<if $PC.title isnot 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Wardens - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and a collapsible riot shield. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
+	You ask for a meeting with your mercenaries' captain and lay out a proposal for a redesigned contract between you. As he reviews the terms, he looks skeptical, then surprised, then interested, and finally, he breaks out into laughter. "<<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>," he says, "you have no idea how fun this is going to be." He rises and gives you a short bow. "First Warden reporting for duty, <<if $PC.title != 0>>Sir<<else>>Ma'am<</if>>." The mercenaries - no, the Wardens - are well looked after. They are each assigned a nice apartment, a freshly enslaved servant, and a suit of prototype armor equipped with the latest weapons and a collapsible riot shield. Word of the innovation runs through the Free Cities @@.green;like wildfire.@@
 	<<set $rep += 1000>>
 	<<set $cash -= _cost>>
 	<<set $mercenaries = 5>>
diff --git a/src/uncategorized/pRivalryVictory.tw b/src/uncategorized/pRivalryVictory.tw
index 0d9b1d83e0e0194508c4a121740fde66f6eead5f..308233a9c67a6e62e1f57ff9e4e1152443956fe7 100644
--- a/src/uncategorized/pRivalryVictory.tw
+++ b/src/uncategorized/pRivalryVictory.tw
@@ -218,7 +218,7 @@ For the first time, you receive a direct call from your rival. You pictured the
 		<<set $activeSlave.sexualQuirk = "size queen">>
 		<<set $activeSlave.hStyle = "neat">>
 		<<set $activeSlave.hLength = 20>>
-	<<elseif $seed is "hung shota">>
+	<<elseif $seed == "hung shota">>
 		not immediately apparent: she's young, in good shape, and not lacking down there at all.
 		<<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>>
 		<<set $activeSlaveOneTimeMaxAge = 18>>
diff --git a/src/uncategorized/reFSNonconformist.tw b/src/uncategorized/reFSNonconformist.tw
index e2c8eb396084f1bcac7117454d0d761f8519b9e4..ed324c4533e89da9b07ad1dc80cd105109c75761 100644
--- a/src/uncategorized/reFSNonconformist.tw
+++ b/src/uncategorized/reFSNonconformist.tw
@@ -61,9 +61,9 @@ A deputation of your citizens arrives at your penthouse and asks to see you. The
 	involved in your Revivalist vision. They're looking quite grim, an unusual mood for a group of oligarchs who partake of your serene confidence that your arcology is coming into a place as stable and long-lived as that of Ancient Egypt,
 <</if>>
 <<if $arcologies[0].FSRestart != "unset">>
-so you hear them out. Apparently, they're here about a peer, another member of the Elite, who has chosen to perform certain undesirable actions. <<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> helpfully supplies a biography, but you were previously aware of the situation.
+so you hear them out. Apparently, they're here about a peer, another member of the Elite, who has chosen to perform certain undesirable actions. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> helpfully supplies a biography, but you were previously aware of the situation.
 <<else>>
-so you hear them out. Apparently, they're here about a peer, a fellow citizen with money and power who does not support your vision for the arcology's future. <<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> helpfully supplies a biography, but you were previously aware of the situation.
+so you hear them out. Apparently, they're here about a peer, a fellow citizen with money and power who does not support your vision for the arcology's future. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> helpfully supplies a biography, but you were previously aware of the situation.
 <</if>>
 <br><br>
 The nonconformist
diff --git a/src/uncategorized/reNickname.tw b/src/uncategorized/reNickname.tw
index eba40f444eae2c2f88abd8bdcf5ec9f9dd86efb3..dd2ca893c0c4f8270e4abb05989843506cc07ff7 100644
--- a/src/uncategorized/reNickname.tw
+++ b/src/uncategorized/reNickname.tw
@@ -785,7 +785,7 @@
 <<case "implants">>
 	<<set $nickname = either("'Balloons'", "'Blowup Doll'", "'Bolted-On'", "'Implants'", "'Plastic'", "'Plastique'", "'Silicone'")>>
 	<<set $situationDesc = "is full of breast implants. They're so large it's quite obvious they're fake, and the implications are clear: She's a plastic slut, and the other slaves never tire of letting her know it.">>
-	<<set $applyDesc = "accepts the implicit mockery, knowing that her bimbo-esque body is what appeals to <<if def $PC.customTitle>>her $PC.customTitle<<elseif $PC.title isnot 0>>her master<<else>>her mistress<</if>>.">>
+	<<set $applyDesc = "accepts the implicit mockery, knowing that her bimbo-esque body is what appeals to <<if def $PC.customTitle>>her $PC.customTitle<<elseif $PC.title != 0>>her master<<else>>her mistress<</if>>.">>
 	<<set $notApplyDesc = "is relieved to be protected from the other slaves' mockery over her implants, though she's also a little sad she can't take them as a kind of trademark.">>
 
 <<case "bimbo">>
diff --git a/src/uncategorized/reRecruit.tw b/src/uncategorized/reRecruit.tw
index 8f1cccec2f7cbc3ec19f4c5d21d78ed7ceb60b47..ef5758ad95294f4cd3c401060c79b6f396a02bea 100644
--- a/src/uncategorized/reRecruit.tw
+++ b/src/uncategorized/reRecruit.tw
@@ -1612,7 +1612,7 @@ She pauses, looking directly at you for the first time, though you get the sense
 <<set $activeSlave.behavioralFlaw = "odd">>
 <<set $activeSlave.fetish = "humiliation">>
 
-<<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> alerts you that a supplicant has arrived at the door to the penthouse. A constant stream of hopefuls appear at your door, and $assistantName makes herself invaluable by filtering them. One of the few categories of applicant that is always admitted is people willing to be enslaved for some reason; the odd individual standing before you is just such a woman.
+<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> alerts you that a supplicant has arrived at the door to the penthouse. A constant stream of hopefuls appear at your door, and $assistantName makes herself invaluable by filtering them. One of the few categories of applicant that is always admitted is people willing to be enslaved for some reason; the odd individual standing before you is just such a woman.
 <br><br>
 "What we're going to do together will be recorded in the annals of history" she says expansively, sweeping about your office in a series of twirls and pirouettes. Though when you enquire as to what exactly you'll be doing together, all she can give you is a torrent of vague artistic prattle. In the end, all you can get out of her is an understanding that she sees enslavement as the ultimate form of creative self-expression.
 <br><br>
diff --git a/src/uncategorized/saDevotion.tw b/src/uncategorized/saDevotion.tw
index 8eb50dbfa26571b30b0ffd49e0cdc5e979bffcb8..1ec06c0fc1bd34260e566d99fa23d2cc1ff754a0 100644
--- a/src/uncategorized/saDevotion.tw
+++ b/src/uncategorized/saDevotion.tw
@@ -18,7 +18,7 @@
 		Since you are @@.mediumaquamarine;indulging@@ $slaves[$i].slaveName's desires, she @@.hotpink;likes you more.@@
 		<<set $slaves[$i].devotion += 5>>
 		<<set $slaves[$i].trust += 5>>
-	<<elseif $rivalryDuration > 20 and $slaves[$i].devotion < 5>>
+	<<elseif $rivalryDuration > 20 && $slaves[$i].devotion < 5>>
 		<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
 			You took everything from $slaves[$i].slaveName and @@.mediumorchid;she hates you for it.@@ Since you won't give her what she wants, she @@.gold;refuses to trust you.@@ Since you are putting such a personal touch into her care, she can't find it in her to rebel as strongly.
 			<<set $slaves[$i].devotion -= 5>>
@@ -28,7 +28,7 @@
 			<<set $slaves[$i].devotion -= 25>>
 			<<set $slaves[$i].trust -= 25>>
 		<</if>>
-	<<elseif $rivalryDuration > 10 and $slaves[$i].devotion < 5>>
+	<<elseif $rivalryDuration > 10 && $slaves[$i].devotion < 5>>
 		<<if Array.isArray($personalAttention) && $personalAttention.findIndex(function(s) { return s.ID == $slaves[$i].ID; }) != -1>>
 			She is @@.gold;horrified by you.@@ Your rival taught her a great deal about slave life in your arcology and indulged her deepest fantasies. $slaves[$i].slaveName considers being your pet @@.mediumorchid;a fate worse than death.@@ Since you are putting such a personal touch into her care, maybe you aren't the monster she thought you were. She can't find it in her to hate and fear you as much.
 			<<set $slaves[$i].devotion -= 3>>
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index bf4ad1b90499523f32839980ba50a3f6f6e878d5..2fc32f93b6506f47701e98efa46e681299a7434f 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -586,7 +586,7 @@
 				The fake belly she wears @@.gold;worries@@ her that you will soon put a real baby in her.
 				<<set $slaves[$i].trust -= 1>>
 			<</if>>
-			<<if $slaves[$i].bellyAccessory == "a huge empathy belly" and $slaves[$i].fetish != "pregnancy">>
+			<<if $slaves[$i].bellyAccessory == "a huge empathy belly" && $slaves[$i].fetish != "pregnancy">>
 				<<if $slaves[$i].devotion > 50>>
 					Her full-sized twins belly is heavy and unwieldy, but she carries it @@.hotpink;proudly@@ for you.
 					<<set $slaves[$i].devotion += 1>>
@@ -2443,10 +2443,10 @@
 <<if ($slaves[$i].assignment != "serve in the club")>>
 <<if ($slaves[$i].assignment != "serve in the master suite") || ($masterSuiteUpgradeLuxury < 2)>>
 <<if ($slaves[$i].assignment != "work in the dairy") || ($dairyStimulatorsSetting == 0)>>
-<<if ($slaves[$i].vagina is 3) && ($slaves[$i].vaginalAccessory != "large dildo") && ($slaves[$i].vaginalAccessory != "huge dildo") && ($slaves[$i].vaginalAccessory != "long, large dildo") && ($slaves[$i].vaginalAccessory != "long, huge dildo")>>
+<<if ($slaves[$i].vagina == 3) && ($slaves[$i].vaginalAccessory != "large dildo") && ($slaves[$i].vaginalAccessory != "huge dildo") && ($slaves[$i].vaginalAccessory != "long, large dildo") && ($slaves[$i].vaginalAccessory != "long, huge dildo")>>
 	With a rest from strenuous use, @@.lime;$possessive loose vagina recovers a little.@@
 	<<set $slaves[$i].vagina -= 1>>
-<<elseif ($slaves[$i].anus is 3) && ($slaves[$i].buttplug != "large plug") && ($slaves[$i].buttplug != "huge plug") && ($slaves[$i].buttplug != "long, large plug") && ($slaves[$i].buttplug != "long, huge plug")>>
+<<elseif ($slaves[$i].anus == 3) && ($slaves[$i].buttplug != "large plug") && ($slaves[$i].buttplug != "huge plug") && ($slaves[$i].buttplug != "long, large plug") && ($slaves[$i].buttplug != "long, huge plug")>>
 	With a rest from continual sodomy, @@.lime;$possessive gaping anus recovers a little.@@
 	<<set $slaves[$i].anus -= 1>>
 <</if>>
@@ -2461,7 +2461,7 @@
 
 /* SMART PIERCING EFFECTS */
 
-<<if ($slaves[$i].clitPiercing is 3)>>
+<<if ($slaves[$i].clitPiercing == 3)>>
 <<if $slaves[$i].fuckdoll > 0>>
 	Its smart <<if $slaves[$i].vagina > -1>>clit<<else>>frenulum<</if>> piercing is slaved to its stimulation systems.
 <<elseif $slaves[$i].fetish == "mindbroken">>
@@ -5263,7 +5263,7 @@
 <</if>>
 
 /* pregmod */
-<<if ($slaves[$i].scars != 0) and ($slaves[$i].scars != 6)>>
+<<if ($slaves[$i].scars != 0) && ($slaves[$i].scars != 6)>>
 <<if $arcologies[0].FSDegradationist != "unset">>
 	Society @@.green;mildly approves@@ of your slave's scarring; this encourages the further abuse of slaves.
 	<<FSChangePorn "Degradationist" 1>>
diff --git a/src/uncategorized/saServeThePublic.tw b/src/uncategorized/saServeThePublic.tw
index e65a3b6ec068fe4cdd81862e6f454d12dda746a8..910150afa7705c6b80177b1529431d90b8e49a4c 100644
--- a/src/uncategorized/saServeThePublic.tw
+++ b/src/uncategorized/saServeThePublic.tw
@@ -250,7 +250,7 @@ Her appearance attracted $beauty members of the public (<<print Math.trunc($beau
 	$slaves[$i].slaveName @@.hotpink;really enjoys@@ making so many people laugh.
 	<<set $slaves[$i].devotion += 1>>
 <</if>>
-<<if ($slaves[$i].sexualQuirk is "tease")>>
+<<if ($slaves[$i].sexualQuirk == "tease")>>
 	$slaves[$i].slaveName @@.mediumaquamarine;trusts your judgment@@ in assigning her a job that affords her a chance to tease and flirt.
 	<<set $slaves[$i].trust += 1>>
 <</if>>
diff --git a/src/uncategorized/saWhore.tw b/src/uncategorized/saWhore.tw
index dfcf6d445e740502c52df0a94c05525c95eaa850..0eb73c3821a2f429664c84697a7aab71c3f0ac37 100644
--- a/src/uncategorized/saWhore.tw
+++ b/src/uncategorized/saWhore.tw
@@ -234,7 +234,7 @@ Her appearance attracted $beauty customers (<<print Math.trunc($beauty/7)>> a da
 	$slaves[$i].slaveName @@.hotpink;openly enjoys@@ the direct, frank language of prostitution, and delights customers with cutting remarks even as they fuck her.
 	<<set $slaves[$i].devotion += 1>>
 <</if>>
-<<if ($slaves[$i].sexualQuirk is "caring")>>
+<<if ($slaves[$i].sexualQuirk == "caring")>>
 	$slaves[$i].slaveName sees her role as helping people with their sexual needs, and she @@.mediumaquamarine;trusts that her place@@ in society is an important one.
 	<<set $slaves[$i].trust += 1>>
 <</if>>
diff --git a/src/uncategorized/scheduledEvent.tw b/src/uncategorized/scheduledEvent.tw
index 3b12a10d450c56fcd3af38279ff27c1f957af98a..07e6ef1bbf9932ae40ce43e8946695b22670c6e8 100644
--- a/src/uncategorized/scheduledEvent.tw
+++ b/src/uncategorized/scheduledEvent.tw
@@ -137,9 +137,9 @@
 <<elseif ($FCTVshow == 1)>>
     <<set $FCTVshow = 0, $activeSlave = 0>>
     <<goto "SE FCTV Shows">>
-<<elseif ($recruiterEugenics == 0 and $recruiterProgress >= 13)>>
+<<elseif ($recruiterEugenics == 0 && $recruiterProgress >= 13)>>
 	<<goto "SE recruiter success">>
-<<elseif ($recruiterEugenics == 1 and $recruiterProgress >= (13 + ($IntelligenceEugenicsSMR+$HeightEugenicsSMR+$FaceEugenicsSMR)*6))>>
+<<elseif ($recruiterEugenics == 1 && $recruiterProgress >= (13 + ($IntelligenceEugenicsSMR+$HeightEugenicsSMR+$FaceEugenicsSMR)*6))>>
 	<<goto "SE recruiter success">>
 <<elseif ($customSlaveOrdered == 1)>>
 	<<goto "SE custom slave delivery">>
diff --git a/src/uncategorized/seLethalPit.tw b/src/uncategorized/seLethalPit.tw
index 2c9823202f936ff60db48bc76b7713acf932435c..35aaeafd69508a5fcf646c4fa156587ae0527d17 100644
--- a/src/uncategorized/seLethalPit.tw
+++ b/src/uncategorized/seLethalPit.tw
@@ -561,12 +561,12 @@ You let the winner _winner.slaveName, shaking as she comes off the adrenaline, d
 <</if>>
 <</if>>
 
-<<if (_winner.rivalry > 0) && (_loser.ID is _winner.rivalryTarget)>>
+<<if (_winner.rivalry > 0) && (_loser.ID == _winner.rivalryTarget)>>
 	<<if (_winner.devotion > 75)>>
 	She is so accepting of the low value of slave life that she @@.hotpink;is pleased@@ to have killed her rival _loser.slaveName.
 	<<set _winner.devotion += 4>>
 	<</if>>
-<<elseif (_winner.relationship >= 0) && (_loser.ID is _winner.relationshipTarget)>>
+<<elseif (_winner.relationship >= 0) && (_loser.ID == _winner.relationshipTarget)>>
 	<<if (_winner.devotion > 95)>>
 	She is so worshipful of you that she sees the death of her only friend at her own hand as an @@.hotpink;honorable@@ end to their doomed slave relationship.
 	<<set _winner.devotion += 4>>
diff --git a/src/uncategorized/seNonlethalPit.tw b/src/uncategorized/seNonlethalPit.tw
index 8b449ae7272197b7fa57c82209e35fdb4b80b136..6b11077e84baedf6f4ee0a99691eb948171d0d47 100644
--- a/src/uncategorized/seNonlethalPit.tw
+++ b/src/uncategorized/seNonlethalPit.tw
@@ -638,9 +638,9 @@ You throw the victor's strap-on down to _winner.slaveName.
 			<<set _winner.devotion -= 10>>
 		<</if>>
 	<</switch>>
-<<elseif (_winner.relation != 0) && (_loser.ID is _winner.relationTarget) && (_winner.devotion >= 20)>>
+<<elseif (_winner.relation != 0) && (_loser.ID == _winner.relationTarget) && (_winner.devotion >= 20)>>
 	She accepts having to abuse _loser.slaveName, and plans to make it up to her later.
-<<elseif (_winner.relation != 0) && (_loser.ID is _winner.relationTarget)>>
+<<elseif (_winner.relation != 0) && (_loser.ID == _winner.relationTarget)>>
 	She @@.mediumorchid;hates@@ having to abuse _loser.slaveName.
 	<<set _winner.devotion -= 10>>
 <</if>>
@@ -739,7 +739,7 @@ You throw the victor's strap-on down to _winner.slaveName.
 			<<set _loser.trust -= 10>>
 		<</if>>
 	<</switch>>
-<<elseif (_loser.relation != 0) && (_winner.ID is _loser.relationTarget) && (_loser.devotion >= 20)>>
+<<elseif (_loser.relation != 0) && (_winner.ID == _loser.relationTarget) && (_loser.devotion >= 20)>>
 	She accepts _winner.slaveName having to rape her, but she @@.gold;fears@@ that it will happen again.
 	<<set _loser.trust -= 10>>
 <<elseif (_loser.relation != 0) && (_winner.ID == _loser.relationTarget)>>
diff --git a/src/uncategorized/sellSlave.tw b/src/uncategorized/sellSlave.tw
index fa67db158d93b5a252f1957b68e5d4ff24534614..161bb3591742670af8ee3f871074cfa22b90ee5e 100644
--- a/src/uncategorized/sellSlave.tw
+++ b/src/uncategorized/sellSlave.tw
@@ -264,7 +264,7 @@ A reputable slave appraiser arrives promptly to inspect her and certify her qual
 <<if $activeSlave.sexualFlaw == "breeder" && $arcologies[0].FSRepopulationFocus != "unset">>
 	She is obsessed with breeding, that will make her very popular in your arcology.
 <<elseif $activeSlave.sexualFlaw != "none">>
-	<<if $activeSlave.behavioralFlaw is "none">>
+	<<if $activeSlave.behavioralFlaw == "none">>
 		She has a sexual flaw, which is a minor negative.
 	<</if>>
 <</if>>
diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw
index 49216679889ba29b8c8df046c54d0f07cda6e2f7..2f949d5e96bbe8ca204b454cca37f71347b40d39 100644
--- a/src/uncategorized/slaveInteract.tw
+++ b/src/uncategorized/slaveInteract.tw
@@ -1198,7 +1198,7 @@ Aphrodisiacs: <span id="aphrodisiacs"><strong><<if $activeSlave.aphrodisiacs > 1
 <span id="bloating">
 <<if $activeSlave.inflation > 0>>
 <br>&nbsp;&nbsp;&nbsp;&nbsp;
-__Required Bloating__: <strong><span id="inflate"><<if $activeSlave.inflation is 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>></span></strong>.
+__Required Bloating__: <strong><span id="inflate"><<if $activeSlave.inflation == 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation == 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation == 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>></span></strong>.
 <<if $activeSlave.inflationMethod == 3>>
 	<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0,$activeSlave.cumSource = 0,$activeSlave.milkSource = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
 <<elseif $activeSlave.inflationType == "milk">>
diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw
index b8fc71114d172763e7647244390d10bf46c1d7ff..ff70fd6fb24537f2787ae6cae8f05903f2849f6e 100644
--- a/src/uncategorized/surgeryDegradation.tw
+++ b/src/uncategorized/surgeryDegradation.tw
@@ -1396,7 +1396,7 @@ As the remote surgery's long recovery cycle completes,
 		<<set $activeSlave.trust -= 10>>
 		<<set $activeSlave.devotion -= 10>>
 	<<else>>
-		Of course, she could not walk out of the surgery; you carried her. You had a good idea what her reaction would be, so <<if ($activeSlave.teeth is "removable")>>you removed her teeth<<else>>she's muzzled<</if>> to prevent her from trying to bite. She sobs convulsively, and her <<if canSee($activeSlave)>>eyes dart desperately from side to side through her tears, hopelessly imploring the mirror to show her something other than this<<else>>stumps twitch pathetically with her desperate efforts to move her limbs, to prove there is something other than this<</if>>. Anything other than this. @@.mediumorchid;The surgical invasion has filled her with horror and anger.@@ Since the surgery was invasive, @@.red;her health has been greatly affected.@@ She is @@.gold;terrified to the point of insanity@@ of your total power over her body.
+		Of course, she could not walk out of the surgery; you carried her. You had a good idea what her reaction would be, so <<if ($activeSlave.teeth == "removable")>>you removed her teeth<<else>>she's muzzled<</if>> to prevent her from trying to bite. She sobs convulsively, and her <<if canSee($activeSlave)>>eyes dart desperately from side to side through her tears, hopelessly imploring the mirror to show her something other than this<<else>>stumps twitch pathetically with her desperate efforts to move her limbs, to prove there is something other than this<</if>>. Anything other than this. @@.mediumorchid;The surgical invasion has filled her with horror and anger.@@ Since the surgery was invasive, @@.red;her health has been greatly affected.@@ She is @@.gold;terrified to the point of insanity@@ of your total power over her body.
 		<<set $activeSlave.trust -= 50>>
 		<<set $activeSlave.devotion -= 50>>
 	<</if>>
diff --git a/src/uncategorized/walkPast.tw b/src/uncategorized/walkPast.tw
index b307db7d84361b5343c0741ee468685d1d76b7cf..d3f12cc9aa903b555b7abcebe39d4735242e61f5 100644
--- a/src/uncategorized/walkPast.tw
+++ b/src/uncategorized/walkPast.tw
@@ -2090,7 +2090,7 @@
 			Her bodysuit shows off her womanhood as she moves.
 		  <</if>>
 		<<case "a leotard">>
-		  <<if ($activeSlave.dick > 0) and canAchieveErection($activeSlave)>>
+		  <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>>
 			She's got her erection tucked vertically upward under the tight material of her leotard.
 		  <<elseif ($activeSlave.dick > 0)>>
 			The tight material of her leotard hugs and minimizes the size of her soft member as she moves.
@@ -2098,7 +2098,7 @@
 			The thin crotch piece of her leotard occasionally threatens to ride up between her pussylips as she moves.
 		  <</if>>
 		<<case "a bunny outfit">>
-		  <<if ($activeSlave.dick > 0) and canAchieveErection($activeSlave)>>
+		  <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>>
 			She's moving uncomfortably, as though her teddy isn't tailored quite perfectly for what she's got going on in front.
 		  <<elseif ($activeSlave.dick > 0)>>
 			Her teddy is tailored well enough to minimize the fact that she isn't a natural woman.
diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw
index ef7a49c941f14cc3ab371c241bd944a60a3a47f2..f17b9fccf389c3ab4bcf1dddc6ef652febb351a6 100644
--- a/src/utility/assayWidgets.tw
+++ b/src/utility/assayWidgets.tw
@@ -57,11 +57,11 @@
 	<<else>>
 	<<set $beauty -= $args[0].face/30>>
 	<</if>>
-<<elseif $args[0].faceShape is "exotic">>
+<<elseif $args[0].faceShape == "exotic">>
 	<<set $beauty += 2*($args[0].face/30)>>
-<<elseif $args[0].faceShape is "sensual">>
+<<elseif $args[0].faceShape == "sensual">>
 	<<set $beauty += 2+($args[0].face/30)>>
-<<elseif $args[0].faceShape is "cute">>
+<<elseif $args[0].faceShape == "cute">>
 	<<set $beauty += 4>>
 <</if>>
 
@@ -166,7 +166,7 @@
 <</if>>
 
 <<if ($args[0].markings != "none")>>
-	<<if ($args[0].markings is "beauty mark")>>
+	<<if ($args[0].markings == "beauty mark")>>
 	<<if ($args[0].face > 40)>>
 		<<set $beauty += 6>>
 	<<elseif ($args[0].face < -10)>>
diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw
index adf2f736bb0a8699d9443118aa731f004833f6e7..7cd4d7c978496a9b7d751479a35edaaa7244152b 100644
--- a/src/utility/descriptionWidgetsFlesh.tw
+++ b/src/utility/descriptionWidgetsFlesh.tw
@@ -668,7 +668,7 @@ $possessiveCap
 <<elseif $activeSlave.boobs < 7500>><<print either("obviously engineered", "disproportionate")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill X cups.
 <<elseif $activeSlave.boobs < 8000>><<print either("disproportionate", "nearly inhuman")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill Y cups.
 <<elseif $activeSlave.boobs < 8500>><<print either("nearly inhuman", "nearly alien")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill Z cups.
-<<elseif $activeSlave.boobs < 10000+($activeSlave.muscles*20) and $activeSlave.physicalAge <= 12>>
+<<elseif $activeSlave.boobs < 10000+($activeSlave.muscles*20) && $activeSlave.physicalAge <= 12>>
 	<<if ($activeSlave.amp == 1)>>
 		<<print either("boobs", "breasts", "mammaries", "udders")>> have <<if $activeSlave.boobsImplant>>been altered<<else>>grown<</if>> past any pretense of proportion.<<if $showBoobCCs == 1>> At <<print $activeSlave.boobs>> CCs each, they<<else>> They<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs.
 	<<elseif ($activeSlave.muscles >= 5)>>
@@ -676,7 +676,7 @@ $possessiveCap
 	<<else>>
 		<<print either("boobs", "breasts", "mammaries", "udders")>> have <<if $activeSlave.boobsImplant>>been altered<<else>>grown<</if>> past any pretense of proportion.<<if $showBoobCCs == 1>> At <<print $activeSlave.boobs>> CCs each, they<<else>> They<</if>> are so large that $pronoun can barely stand. If they grow any larger, $pronoun may not be able to walk.
 	<</if>>
-<<elseif $activeSlave.boobs < 20000+($activeSlave.muscles*50) and $activeSlave.physicalAge < 18>>
+<<elseif $activeSlave.boobs < 20000+($activeSlave.muscles*50) && $activeSlave.physicalAge < 18>>
 	<<if ($activeSlave.amp == 1)>>
 		<<print either("boobs", "breasts", "mammaries", "udders")>> have <<if $activeSlave.boobsImplant>>been altered<<else>>grown<</if>> past any pretense of proportion.<<if $showBoobCCs == 1>> At <<print $activeSlave.boobs>> CCs each, they<<else>> They<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs.
 	<<elseif ($activeSlave.muscles >= 5)>>
@@ -4028,7 +4028,7 @@ $possessiveCap
 		the suit obscures all but the shape of $object pretty face.
 	<</if>>
 <<else>>
-	<<if $activeSlave.markings is "beauty mark">>
+	<<if $activeSlave.markings == "beauty mark">>
 		<<if $activeSlave.face < -95>>
 		It bears a severely disfiguring, discolored mark.
 		<<elseif $activeSlave.face < -40>>
@@ -11250,27 +11250,27 @@ she's
 
 <<if $activeSlave.bellyTat != 0>>
 <<if $activeSlave.bellyImplant >= 32000>>
-	<<if $activeSlave.bellyTat is "a heart">>
+	<<if $activeSlave.bellyTat == "a heart">>
 		A heart is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled middle.
-	<<elseif $activeSlave.bellyTat is "a star">>
+	<<elseif $activeSlave.bellyTat == "a star">>
 		A star is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled pregnancy middle.
-	<<elseif $activeSlave.bellyTat is "a butterfly">>
+	<<elseif $activeSlave.bellyTat == "a butterfly">>
 		A butterfly is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled pregnancy middle.
 	<</if>>
 <<elseif $activeSlave.bellyImplant >= 16000>>
-	<<if $activeSlave.bellyTat is "a heart">>
+	<<if $activeSlave.bellyTat == "a heart">>
 		A heart is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle.
-	<<elseif $activeSlave.bellyTat is "a star">>
+	<<elseif $activeSlave.bellyTat == "a star">>
 		A star is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle.
-	<<elseif $activeSlave.bellyTat is "a butterfly">>
+	<<elseif $activeSlave.bellyTat == "a butterfly">>
 		A butterfly is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle.
 	<</if>>
 <<elseif $activeSlave.bellyImplant >= 8000>>
-	<<if $activeSlave.bellyTat is "a heart">>
+	<<if $activeSlave.bellyTat == "a heart">>
 		A heart is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term.
-	<<elseif $activeSlave.bellyTat is "a star">>
+	<<elseif $activeSlave.bellyTat == "a star">>
 		A star is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term.
-	<<elseif $activeSlave.bellyTat is "a butterfly">>
+	<<elseif $activeSlave.bellyTat == "a butterfly">>
 		A butterfly is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term.
 	<</if>>
 <<elseif $activeSlave.bellyImplant >= 4000>>
diff --git a/src/utility/descriptionWidgetsPiercings.tw b/src/utility/descriptionWidgetsPiercings.tw
index ce2f51e0ab35bcd515cb22755d6b5de62c83a335..d051132d8b4bef5ae3f2f1dfc936d6c736ab118b 100644
--- a/src/utility/descriptionWidgetsPiercings.tw
+++ b/src/utility/descriptionWidgetsPiercings.tw
@@ -70,7 +70,7 @@
 		$pronounCap has simple studs in her nose.
 	<<elseif $activeSlave.nosePiercing == 2>>
 		$pronounCap has nasal studs and a large septum ring.
-		<<if ($activeSlave.clothes is "slutty jewelry") && ($activeSlave.earPiercing > 0)>>
+		<<if ($activeSlave.clothes == "slutty jewelry") && ($activeSlave.earPiercing > 0)>>
 			Her bangles include a light chain from her nose ring to her ear piercings on one side.
 		<</if>>
 	<</if>>
diff --git a/src/utility/miscWidgets.tw b/src/utility/miscWidgets.tw
index d42161ab717885219e91b0afdc0c8f1b6834c91d..a2877b9ecb2a822cae77932d04b674f583f87ccf 100644
--- a/src/utility/miscWidgets.tw
+++ b/src/utility/miscWidgets.tw
@@ -643,7 +643,7 @@
 <<replace #bloating>>
 	<<if $activeSlave.inflation > 0>>
 		<br>&nbsp;&nbsp;&nbsp;&nbsp;
-		__Required Bloating__: <strong><span id="inflate"><<if $activeSlave.inflation is 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>></span></strong>.
+		__Required Bloating__: <strong><span id="inflate"><<if $activeSlave.inflation == 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation == 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation == 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>></span></strong>.
 		<<if $activeSlave.inflationMethod == 3>>
 			<<link "Let her deflate">><<set $activeSlave.inflation = 0,$activeSlave.inflationType = "none",$activeSlave.inflationMethod = 0,$activeSlave.cumSource = 0,$activeSlave.milkSource = 0>><<SetBellySize $activeSlave>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>>
 		<<elseif $activeSlave.inflationType == "milk">>
diff --git a/src/utility/raWidgets.tw b/src/utility/raWidgets.tw
index 0d7a0f648f80e54343d61e8cce44279731a1e42b..d095fa01e3d72a8691b8a8e01dd3fe0a1c6a7d04 100644
--- a/src/utility/raWidgets.tw
+++ b/src/utility/raWidgets.tw
@@ -3628,14 +3628,14 @@ Your brand design is ''$brandDesign.''
 				<<set $args[0].hormones = 2>>
 				<br>$args[0].slaveName is fertile, so she has been put on the appropriate fertility regime.
 			<</if>>
-		<<elseif (_combinedRule.preg == 3) and $args[0].indentureRestrictions < 1>>
+		<<elseif (_combinedRule.preg == 3) && $args[0].indentureRestrictions < 1>>
 			<<if $args[0].preg !== 0 || $args[0].drugs !== "super fertility drugs" || $args[0].hormones !== 0>>
 				<<set $args[0].preg = 0>>
 				<<set $args[0].drugs = "super fertility drugs">>
 				<<set $args[0].hormones = 0>>
 				<br>$args[0].slaveName is fertile, so she has been put on the appropriate fertility regime.
 			<</if>>
-		<<elseif (_combinedRule.preg == 4) and $args[0].indentureRestrictions < 1>>
+		<<elseif (_combinedRule.preg == 4) && $args[0].indentureRestrictions < 1>>
 			<<if $args[0].preg !== 0 || $args[0].drugs !== "super fertility drugs" || $args[0].hormones !== 2>>
 				<<set $args[0].preg = 0>>
 				<<set $args[0].drugs = "super fertility drugs">>
diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw
index b99f42d7a756fae91b6d96cb27949db2b28f7ad8..a7a0e06c256f06a0c0d48da8e535fdbd4fb1f2bd 100644
--- a/src/utility/slaveCreationWidgets.tw
+++ b/src/utility/slaveCreationWidgets.tw
@@ -2092,7 +2092,7 @@
 			<<if $activeSlave.vaginalSkill > 10>><<set $activeSlave.vaginalSkill -= 10>><</if>>
 		<</if>>
 		<<if $activeSlave.faceImplant <= 30 && $activeSlave.face <= 95>>
-			<<if $activeSlave.faceShape is "masculine">><<set $activeSlave.faceShape = "androgynous">><</if>>
+			<<if $activeSlave.faceShape == "masculine">><<set $activeSlave.faceShape = "androgynous">><</if>>
 			<<set $activeSlave.faceImplant = 20>>
 			<<set $activeSlave.face = Math.clamp($activeSlave.face+20,-100,100)>>
 		<</if>>
@@ -3180,16 +3180,16 @@
 	<<set $activeSlave.boobs = either(500,650,800)>>
 	<<set $activeSlave.waist = -15>>
 	<<set $activeSlave.lips = 35>>
-	<<if $LDE.schoolUpgrade is 2>>
+	<<if $LDE.schoolUpgrade == 2>>
 		<<set $activeSlave.dick = either(3,4)>>
 		<<set $activeSlave.balls = either(3,4)>>
 		<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
-	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
+		<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
 	<<else>>
 		<<set $activeSlave.dick = either(1,1,1,2)>>
 		<<set $activeSlave.balls = either(1,1,1,2)>>
 		<<if $activeSlave.foreskin > 0>><<set $activeSlave.foreskin = $activeSlave.dick>><</if>>
-	<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
+		<<if $activeSlave.balls > 0>><<set $activeSlave.scrotum = $activeSlave.balls>><</if>>
 		<<set $activeSlave.pubertyXY = 0>>
 		<<set $activeSlave.pubertyAgeXY = random(24,50)>>
 	<</if>>