diff --git a/sanityCheck b/sanityCheck index e8e842b19766a9b04452b30f317e5af78755a42f..98ca937510f9fc43700befb58eee0cfa16204515 100755 --- a/sanityCheck +++ b/sanityCheck @@ -99,6 +99,8 @@ $GREP -e "<<option " --and --not -e "<<option *\(-\?[0-9]\+\|[\'\"].*[\'\"]\|fa # check for missing ; before statement $GREP 'if $ ' -- 'src/*' | myprint "missing ; before statement" $GREP 'elseif $ ' -- 'src/*' | myprint "missing ; before statement" +# Check for an unrecognized letter before >> +$GREP "[^]a-zA-Z0-9 \")}'+-\*\`] *>>" -- 'src/*' | myprint "StrangeCharacterAtEndOfCommand" # Check for a . inside a <<>> $GREP "<<[a-zA-Z]\([^\"'>]\|[^\"'>]>[^\"'>]\)*[a-zA-Z][.][^a-zA-Z]" | myprint "StrangeCharacterAfterDot" # Check for @@. instead of .@@ diff --git a/src/uncategorized/bodyModification.tw b/src/uncategorized/bodyModification.tw index 3ebc6ef2d386beeaa971a5f3dbd83ba6b949a705..9e77734b1200cdcdca3e954ff67859c5820c5f60 100644 --- a/src/uncategorized/bodyModification.tw +++ b/src/uncategorized/bodyModification.tw @@ -395,7 +395,7 @@ Choose piercing style: <<if $activeSlave.lipsPiercing != 1>><<set $activeSlave.lipsPiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> <<if $activeSlave.tonguePiercing != 1>><<set $activeSlave.tonguePiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> <<if $activeSlave.nipples != "fuckable">> - <<if $activeSlave.nipplesPiercing != 1 && >><<set $activeSlave.nipplesPiercing = 1>><<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> + <<if $activeSlave.nipplesPiercing != 1>><<set $activeSlave.nipplesPiercing = 1>><<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> <</if>> <<if $activeSlave.areolaePiercing != 1>><<set $activeSlave.areolaePiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> <<if $activeSlave.corsetPiercing != 1>><<set $activeSlave.corsetPiercing = 1>> <<run cashX(forceNeg($modCost), "slaveMod", $activeSlave)>><</if>> diff --git a/src/uncategorized/dairyReport.tw b/src/uncategorized/dairyReport.tw index 551513703c5d7df8906d4053eb0fbf7108c63ecd..c66e64ef586510f0092a2b552096c507da5d5c2d 100644 --- a/src/uncategorized/dairyReport.tw +++ b/src/uncategorized/dairyReport.tw @@ -458,7 +458,7 @@ <<run cashX(forceNeg($surgeryCost), "slaveSurgery", $slaves[$i])>> <</if>> <<if $slaves[$i].vasectomy == 1>> - <<set $slaves[$i].vasectomy = 0, $slaves[$i].health -= 10,>> + <<set $slaves[$i].vasectomy = 0, $slaves[$i].health -= 10>> <<run cashX(forceNeg($surgeryCost), "slaveSurgery", $slaves[$i])>> <</if>> <<if ($dairySlimMaintain == 0)>>