diff --git a/src/pregmod/extendedFamilyWidgets.tw b/src/pregmod/extendedFamilyWidgets.tw index cef276de55ce53c12f5a429ea435fc6dedbae91e..666c45bac065d89caa5627681a6660dd41141986 100644 --- a/src/pregmod/extendedFamilyWidgets.tw +++ b/src/pregmod/extendedFamilyWidgets.tw @@ -494,23 +494,23 @@ /*testtest PC sibling passages - determines how many siblings you have*/ <<set $children = []>> -<<set $rel_num to areSisters($activeSlave, $PC)>> -<<if($rel_num gt 0)>> - <<if($activeSlave.vagina > -1)>> - <<set $rel_type to "sister">> +<<set _rel_num to areSisters($activeSlave, $PC)>> +<<if(_rel_num > 0)>> + <<if ($activeSlave.vagina > -1)>> + <<set _rel_type to "sister">> <<else>> - <<set $rel_type to "brother">> + <<set _rel_type to "brother">> <</if>> - <<if($rel_num == 1)>> - <<set $rel_desc to "your twin">> - <<elseif $rel_num == 2>> - <<set $rel_desc to "your ">> - <<elseif $rel_num == 3>> - <<set $rel_desc to "your half-">> + <<if (_rel_num == 1)>> + <<set _rel_desc to "your twin">> + <<elseif _rel_num == 2>> + <<set _rel_desc to "your ">> + <<elseif _rel_num == 3>> + <<set _rel_desc to "your half-">> <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID != $activeSlave.ID>> - <<if $rel_num == areSisters($activeSlave, $slaves[$i]) && ($activeSlave.vagina > -1) == ($slaves[$i].vagina > -1)>> + <<if _rel_num == areSisters($activeSlave, $slaves[$i]) && ($activeSlave.vagina > -1) == ($slaves[$i].vagina > -1)>> <<set console.log('sisters', $slaves[$i].birthName)>> <<set $children.push($slaves[$i])>> <</if>> @@ -518,7 +518,7 @@ <</for>> $pronounCap <<if $children.length > 1>> - @@color:lightgreen;is your $rel_desc $rel_type along with + @@color:lightgreen;is _rel_desc _rel_type along with <<for $j to 0; $j < $children.length; $j++>> <<if $j < $children.length-1>> $children[$j].slaveName, @@ -527,9 +527,9 @@ <</if>> <</for>> <<elseif $children.length > 0>> - is @@color:lightgreen;your $rel_desc $rel_type with $children[0].slaveName.@@ + is @@color:lightgreen;_rel_desc _rel_type with $children[0].slaveName.@@ <<else>> - is @@color:lightgreen;your $rel_desc $rel_type.@@ + is @@color:lightgreen;_rel_desc _rel_type.@@ <</if>> <</if>>