Skip to content
Snippets Groups Projects
Commit 5da1e48c authored by Stuffed's avatar Stuffed
Browse files

Fix missing $ in slaves

parent df80effe
No related branches found
No related tags found
4 merge requests!843Delete Please.,!833Pregmod master,!758Pregmod master,!189Fix family tree when activeSlave is YOU, and you have no family
...@@ -65,6 +65,8 @@ $GREP -e "[$]slaves[.]" --and --not -e '[$]slaves[.]\(length\|random\|map\|filt ...@@ -65,6 +65,8 @@ $GREP -e "[$]slaves[.]" --and --not -e '[$]slaves[.]\(length\|random\|map\|filt
$GREP -e "activeSlave[.]" --and -e "slaves\[..\?\][.]" --and --not -e '[.]ID' --and --not -e 'slaves\[..\?\][.]\(slaveName\|actualAge\|relation\|assignment\|age\|devotion\|trust\|vagina\)' -- 'src/*' | myprint "MaybeAccidentalMixingOfSlavesAndActiveSlave" $GREP -e "activeSlave[.]" --and -e "slaves\[..\?\][.]" --and --not -e '[.]ID' --and --not -e 'slaves\[..\?\][.]\(slaveName\|actualAge\|relation\|assignment\|age\|devotion\|trust\|vagina\)' -- 'src/*' | myprint "MaybeAccidentalMixingOfSlavesAndActiveSlave"
# Check, e.g. <<set foo == 4>> # Check, e.g. <<set foo == 4>>
$GREP "<<set[^{>=]*==" -- 'src/*' | myprint "DoubleEqualsInSet" $GREP "<<set[^{>=]*==" -- 'src/*' | myprint "DoubleEqualsInSet"
# Check for, e.g <<if slaves[foo]>>
$GREP "<<\([^>]\|[^>]>[^>]\)*[^$]slaves\[" -- 'src/*' | myprint "MissingDollar"
# Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce # Check that we do not have any variables that we use only once. e.g. $onlyUsedOnce
( (
......
...@@ -545,7 +545,7 @@ A screen opposite your desk springs to life, <<if $assistant == 0>>showing your ...@@ -545,7 +545,7 @@ A screen opposite your desk springs to life, <<if $assistant == 0>>showing your
<<replace "#result">> <<replace "#result">>
Since subjecting all the affected slaves to abortions would cause you severe losses, you've decided to let them keep the pregnancies. You hope you are prepared for all the children you'll be producing. Those who couldn't become pregnant @@.lime;gained some breast, hip and ass size@@, as well as @@.lime;began lactating@@. Since subjecting all the affected slaves to abortions would cause you severe losses, you've decided to let them keep the pregnancies. You hope you are prepared for all the children you'll be producing. Those who couldn't become pregnant @@.lime;gained some breast, hip and ass size@@, as well as @@.lime;began lactating@@.
<<for $i = 0; $i < $slaves.length; $i++>> <<for $i = 0; $i < $slaves.length; $i++>>
<<if ($slaves[$i].drugs == "breast injections") && canGetPregnant(slaves[$i])>> <<if ($slaves[$i].drugs == "breast injections") && canGetPregnant($slaves[$i])>>
<<set $slaves[$i].preg = 1>> <<set $slaves[$i].preg = 1>>
<<set $slaves[$i].pregType = random(20,29)>> <<set $slaves[$i].pregType = random(20,29)>>
<<elseif $slaves[$i].drugs == "breast injections">> <<elseif $slaves[$i].drugs == "breast injections">>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment