From fab1dd8c070a2e50b40df0673a45fc3bc8d70672 Mon Sep 17 00:00:00 2001
From: Stuffed <stuffedgame@gmail.com>
Date: Thu, 11 May 2017 14:35:42 +0900
Subject: [PATCH] Fix problems found by sanityCheck

---
 src/npc/databases/dSlavesDatabase.tw |  2 +-
 src/uncategorized/resMove.tw         | 10 +++++-----
 src/uncategorized/resSale.tw         |  4 ++--
 src/uncategorized/seBirth.tw         |  4 ++--
 src/utility/descriptionWidgets.tw    |  2 +-
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/npc/databases/dSlavesDatabase.tw b/src/npc/databases/dSlavesDatabase.tw
index d5dd1b0bdf4..744918ba866 100644
--- a/src/npc/databases/dSlavesDatabase.tw
+++ b/src/npc/databases/dSlavesDatabase.tw
@@ -208,7 +208,7 @@
 /*Reduced weight, changed eyes, added nail polish -BoneyM*/
 
 <<set _HS = {}>>
-<<set _HS.slaveName = "Kino", _HS.birthName = "Kino", _HS.origin = "Formerly owned by someone who fancied themselves a geneticist, where she acquired permanently discolored hair and odd fetishes.", _HS.ID = _i++, _HS.birthWeek = random(0,51), _HS.actualAge = 21, _HS.physicalAge = 21, _HS.visualAge = 21, _HS.health = 40, _HS.devotion = -75, _HS.height = 155, _HS.race = "white", _HS.eyeColor = "blue-green", _HS.hColor = "blue", _HS.pubicHColor = "blue", _HS.skin = "tanned", _HS.hLength = 30, _HS.hStyle = "short, spiky, with a long shoulder-length lock leading from her temples down, one on each side", pubicHStyle = "waxed", _HS.boobs = 650, _HS.vagina = 1, _HS.vaginaLube = 1, _HS.anus = 1, _HS.ovaries = 1, _HS.vaginalSkill = 35, _HS.oralSkill = 35, _HS.analSkill = 35, _HS.combatSkill = 1, _HS.intelligence = -1, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.customDesc = "She has a vertical scar through her right eye, is a dabbling artist, and is an oviposition fetishist.">>
+<<set _HS.slaveName = "Kino", _HS.birthName = "Kino", _HS.origin = "Formerly owned by someone who fancied themselves a geneticist, where she acquired permanently discolored hair and odd fetishes.", _HS.ID = _i++, _HS.birthWeek = random(0,51), _HS.actualAge = 21, _HS.physicalAge = 21, _HS.visualAge = 21, _HS.health = 40, _HS.devotion = -75, _HS.height = 155, _HS.race = "white", _HS.eyeColor = "blue-green", _HS.hColor = "blue", _HS.pubicHColor = "blue", _HS.skin = "tanned", _HS.hLength = 30, _HS.hStyle = "short, spiky, with a long shoulder-length lock leading from her temples down, one on each side", _HS.pubicHStyle = "waxed", _HS.boobs = 650, _HS.vagina = 1, _HS.vaginaLube = 1, _HS.anus = 1, _HS.ovaries = 1, _HS.vaginalSkill = 35, _HS.oralSkill = 35, _HS.analSkill = 35, _HS.combatSkill = 1, _HS.intelligence = -1, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.customDesc = "She has a vertical scar through her right eye, is a dabbling artist, and is an oviposition fetishist.">>
 <<set $heroSlaves.push(_HS)>>
 /*Added combat skill, increased health, added origin -BoneyM*/
 
diff --git a/src/uncategorized/resMove.tw b/src/uncategorized/resMove.tw
index 567b0a0c6e6..2b8b2a4f01a 100644
--- a/src/uncategorized/resMove.tw
+++ b/src/uncategorized/resMove.tw
@@ -125,15 +125,15 @@ as you suspected,
 			the tits, and the asses, and the lips," she concludes, her avatar starting to masturbate.
 		<<case "shemale">>
 			those big butts. It's so rare for girls to have such big butts and be anal virgins..." she trails off, her avatar starting to masturbate.
-		<<case == "amazon">>
+		<<case "amazon">>
 			all those meaty girls," her avatar blushes.
-		<<case == "businesswoman">>
+		<<case "businesswoman">>
 			all that milking potential," her avatar says, looking aroused at the possibilities.
-		<<case == "fairy">>
+		<<case "fairy">>
 			all that sweet, tasty milk!" her avatar squeaks, licking her lips and dripping with arousal.
-		<<case == "pregnant fairy">>
+		<<case "pregnant fairy">>
 			all that sweet, tasty mama milk!" her avatar squeaks, licking her lips and dripping with arousal.
-		<<case == "goddess" "hypergoddess">>
+		<<case "goddess" "hypergoddess">>
 			all those luscious, heavy tits," her avatar says, hefting one of her own.
 		<<case "loli">>
 			those tits!" her avatar says while cupping her flat chest.
diff --git a/src/uncategorized/resSale.tw b/src/uncategorized/resSale.tw
index e07580001f9..3a7499e92da 100644
--- a/src/uncategorized/resSale.tw
+++ b/src/uncategorized/resSale.tw
@@ -190,9 +190,9 @@ You pause for a moment, and she plunges on: "<<if $PC.title == 1>>Sir<<else>>Ma'
 		<<switch $assistantAppearance>>
 		<<case "monstergirl">>
 			shove both my cocks up her virgin anus," the monstergirl exclaims.
-		<<case == "shemale">>
+		<<case "shemale">>
 			fuck that virgin asshole," the shemale exclaims, and starts to jack off.
-		<<case == "amazon">>
+		<<case "amazon">>
 			finger fuck her virgin ass," the amazon exclaims, and helpfully raises the fingers in question.
 		<<case "businesswoman">>
 			sell her anal virginity to the highest bidder," the businesswoman exclaims.
diff --git a/src/uncategorized/seBirth.tw b/src/uncategorized/seBirth.tw
index 612533a0e01..97124bf5aaa 100644
--- a/src/uncategorized/seBirth.tw
+++ b/src/uncategorized/seBirth.tw
@@ -227,12 +227,12 @@
 
 <<else>> /*fuckdoll birth */
 	<<if $universalRulesCSec == 1>>
-		<<set csec = 1>>
+		<<set $csec = 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth; it is taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and for it to be cleaned up.
 	<<elseif $universalRulesBirthing == 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth. It is taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and for it to be cleaned up.
 	<<elseif $birthDamage > 10>>
-		<<set csec = 1>>
+		<<set $csec = 1>>
 		$slaves[$i].slaveName's suit's systems alert that it is ready to give birth. Since it fails to qualify as a birthing model, it is quickly taken to the remote surgery to have its child<<if $slaves[$i].pregType > 1>>ren<</if>> extracted and to be cleaned up.
 	<<else>>
 		$slaves[$i].slaveName's suit's systems alert you that it is ready to give birth. You carefully pose it as it labors on binging its child<<if $slaves[$i].pregType > 1>>ren<</if>> into the world and sit back to enjoy yourself as its <<if $slaves[$i].pregType > 1>>first<</if>> baby starts to crown. Once both it and yourself are finished, you send its offspring off and it to the autosurgery for cleaning.
diff --git a/src/utility/descriptionWidgets.tw b/src/utility/descriptionWidgets.tw
index fcd92a01500..1034566c5a8 100644
--- a/src/utility/descriptionWidgets.tw
+++ b/src/utility/descriptionWidgets.tw
@@ -7612,7 +7612,7 @@ $pronounCap has
 <<if $showImplantEffects == 1>>
 	<<if $arcologies[0].FSTransformationFetishist != "unset">>
 		<<if $activeSlave.lipsImplant > 0>>
-			They are about <<print Math.floor(($activeSlave.lipsImplant/$activeSlave.lip)*100)>>% implant.
+			They are about <<print Math.floor(($activeSlave.lipsImplant/$activeSlave.lips)*100)>>% implant.
 		<</if>>
 		<<if ($arcologies[0].FSTransformationFetishist > 20)>>
 			<<if $activeSlave.lips > 70>>
-- 
GitLab