diff --git a/src/js/rulesAssistantOptions.tw b/src/js/rulesAssistantOptions.tw index f1c2e2173a1ed6107e68141598d688fc37da7e8e..cdb6b56def7d6dad6c8120d4cef7a7a50d6d2cad 100644 --- a/src/js/rulesAssistantOptions.tw +++ b/src/js/rulesAssistantOptions.tw @@ -5,6 +5,8 @@ // uses an object-oriented widget pattern // wrapped in a closure so as not to polute the global namespace // the widgets are generic enough to be reusable; if similar user interfaces are ported to JS, we could move the classes to the global scope +// TODO: automatic set assignment or facility +// TODO: specific inclusion and exclusion fix window.rulesAssistantOptions = (function() { "use strict"; diff --git a/src/uncategorized/rulesAssistant.tw b/src/uncategorized/rulesAssistant.tw index f4ca87d0eec9f8d23e1878cba647de002e7c1deb..71998bbcd3470ac939d89a3f5456d515aaa07eb3 100644 --- a/src/uncategorized/rulesAssistant.tw +++ b/src/uncategorized/rulesAssistant.tw @@ -1,2552 +1,3 @@ :: Rules Assistant [nobr] -<<script>>html5passage(rulesAssistantOptions)<</script>> -/* -<<set $nextButton = "Back to Main", $nextLink = "Main", $returnTo = "Main">> -<<set $showEncyclopedia = 1, $encyclopedia = "Personal Assistant">> - -<<set _length = $defaultRules.length>> - -<<if _length > 0>> - - <<if ndef $currentRule || $currentRule == null>> <<set $currentRule = $defaultRules[0]>> <</if>> - <<if ndef $currentRule.selectedSlaves>> <<set $currentRule.selectedSlaves = []>> <</if>> - <<if ndef $currentRule.excludedSlaves>> <<set $currentRule.excludedSlaves = []>> <</if>> - <<if ndef $currentRule.assignment>> <<set $currentRule.assignment = []>> <</if>> - <<if ndef $currentRule.excludeAssignment>> <<set $currentRule.excludeAssignment = []>> <</if>> - <<if ndef $currentRule.facility>> <<set $currentRule.facility = []>> <</if>> - <<if ndef $currentRule.excludeFacility>> <<set $currentRule.excludeFacility = []>> <</if>> - <<if ndef $currentRule.drug>> <<set $currentRule.drug = "no default setting">> <</if>> - <<if ndef $currentRule.pregSpeed>> <<set $currentRule.pregSpeed = "no default setting">> <</if>> - - - <<if $currentRule.growth.boobs != "no default setting">><<set $currentRule.growth.boobs = Number($currentRule.growth.boobs), $currentRule.growth.boobs = Math.clamp($currentRule.growth.boobs,0,48000)>><</if>> - <<if $currentRule.growth.butt != "no default setting">><<set $currentRule.growth.butt = Number($currentRule.growth.butt), $currentRule.growth.butt = Math.clamp($currentRule.growth.butt,0,10)>><</if>> - <<if $currentRule.growth.lips != "no default setting">><<set $currentRule.growth.lips = Number($currentRule.growth.lips), $currentRule.growth.lips = Math.clamp($currentRule.growth.lips,0,100)>><</if>> - <<if $currentRule.growth.dick != "no default setting">><<set $currentRule.growth.dick = Number($currentRule.growth.dick), $currentRule.growth.dick = Math.clamp($currentRule.growth.dick,0,10)>><</if>> - <<if $currentRule.growth.balls != "no default setting">><<set $currentRule.growth.balls = Number($currentRule.growth.balls), $currentRule.growth.balls = Math.clamp($currentRule.growth.balls,0,10)>><</if>> - - <<for $r = _length - 1; $r >= 0; $r-->> - <<if $defaultRules[$r] == null>> - <<set $defaultRules.deleteAt($r)>> - <<goto "Rules Assistant">> - <<elseif $currentRule.ID == $defaultRules[$r].ID>> - <<set $r = $r + 1>> - <<break>> - <</if>> - <</for>> - - <center> - <<if $r > 1>> - @@.cyan;[Shift+â†,Shift+Q] @@ - <span id="firstRule"> - ''[[First|Rules Assistant][$currentRule = $defaultRules[0]]]'' - </span> - | - @@.cyan;[â†,Q] @@ - <span id="prevRule"> - ''[[Prev|Rules Assistant][$currentRule = $defaultRules[$r-2]]]'' - </span> - <<else>> - [Shift+â†,Shift+Q] First | [â†,Q] Prev - <</if>> - - ''Viewing Rule $r of _length'' - - <<if $r < _length>> - <span id="nextRule"> - ''[[Next|Rules Assistant][$currentRule = $defaultRules[$r]]]'' - </span>@@.cyan; [E,→]@@ - | - <span id="lastRule"> - ''[[Last|Rules Assistant][$currentRule = $defaultRules[_length-1]]]'' - </span>@@.cyan; [Shift+E,Shift+→]@@ - <<else>> - Next [E,→] | Last [Shift+E,Shift+→] - <</if>> - </center> - - <center> - <<if $r > 1>> - <<= $defaultRules[$r-2].name>>   <-    - <<else>> -       - <</if>> - - <span id="rulename"> - @@.yellow;$currentRule.name@@ - </span> - - <<if $r < _length>> -    ->   <<= $defaultRules[$r].name>> - <<else>> -       - <</if>> - </center> - - <center> - <span id="ruleDown"> - <<if $r > 1>> - <<link "Lower Priority">> - <<set _tmpRule = $defaultRules[$r-1]>> - <<set $defaultRules[$r-1] = $defaultRules[$r-2]>> - <<set $defaultRules[$r-2] = _tmpRule>> - <<goto "Rules Assistant">> - <</link>> - <<else>> - Lower Priority - <</if>> - </span> - | - <<link "Rename">> - <<replace "#rulename">> - <<textbox "$currentRule.name" $currentRule.name "Rules Assistant">> - <</replace>> - <</link>> - | - <span id="ruleUp"> - <<if $r < _length>> - <<link "Higher Priority">> - <<set _tmpRule = $defaultRules[$r-1]>> - <<set $defaultRules[$r-1] = $defaultRules[$r]>> - <<set $defaultRules[$r] = _tmpRule>> - <<goto "Rules Assistant">> - <</link>> - <<else>> - Higher Priority - <</if>> - </span> - </center> -<</if>> - -<br> - -//<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>, I will review your slaves and make changes that will have a beneficial effect. Apologies, sir, but this function is... not fully complete. It may have some serious limitations. Please use the 'no default setting' option to identify areas I should not address.// - -<br><br> -List of rules: <br> -<<if _length > 1>> - <<set _crule = $r-1>> - <<for _r = 0; _r < _length; _r++>> - <<if _r > 0 >> | <</if>> - <<rbutton "_crule" _r>> $defaultRules[_r].name - <</for>> - <br> - <<link "Switch to selected rule">> - <<set $currentRule = $defaultRules[_crule]>> - <<goto "Rules Assistant">> - <</link>> | -<</if>> - - <<link "Add a new rule">> - - <<set _tempRule = {aphrodisiacs: "no default setting", condition: {id: "false"}, releaseRules: "no default setting", clitSetting: "no default setting", clitSettingXY: "no default setting", clitSettingXX: "no default setting", clitSettingEnergy: "no default setting", speechRules: "no default setting", clothes: "no default setting", collar: "no default setting", shoes: "no default setting", virginAccessory: "no default setting", aVirginAccessory: "no default setting", vaginalAccessory: "no default setting", aVirginDickAccessory: "no default setting", dickAccessory: "no default setting", bellyAccessory: "no default setting", aVirginButtplug: "no default setting", buttplug: "no default setting", eyeColor: "no default setting", makeup: "no default setting", nails: "no default setting", hColor: "no default setting", hLength: "no default setting", hStyle: "no default setting", pubicHColor: "no default setting", pubicHStyle: "no default setting", nipplesPiercing: "no default setting", areolaePiercing: "no default setting", clitPiercing: "no default setting", vaginaLube: "no default setting", vaginaPiercing: "no default setting", dickPiercing: "no default setting", anusPiercing: "no default setting", lipsPiercing: "no default setting", tonguePiercing: "no default setting", earPiercing: "no default setting", nosePiercing: "no default setting", eyebrowPiercing: "no default setting", navelPiercing: "no default setting", corsetPiercing: "no default setting", boobsTat: "no default setting", buttTat: "no default setting", vaginaTat: "no default setting", dickTat: "no default setting", lipsTat: "no default setting", anusTat: "no default setting", shouldersTat: "no default setting", armsTat: "no default setting", legsTat: "no default setting", backTat: "no default setting", stampTat: "no default setting", curatives: "no default setting", livingRules: "no default setting", relationshipRules: "no default setting", standardPunishment: "no default setting", standardReward: "no default setting", diet: "no default setting", dietCum: "no default setting", dietMilk: "no default setting", muscles: "no default setting", XY: "no default setting", XX: "no default setting", gelding: "no default setting", preg: "no default setting", growth: {boobs: "no default setting", butt: "no default setting", lips: "no default setting", dick: "no default setting", balls: "no default setting"}, autoSurgery: 0, autoBrand: 0, pornFameSpending: "no default setting", dietGrowthSupport: 0, eyewear: "no default setting", assignment: [], excludeAssignment: [], setAssignment: "no default setting", facility: [], excludeFacility: [], excludeSpecialSlaves: true, facilityRemove: false, removalAssignment: "rest", selectedSlaves: [], excludedSlaves: [], surgery: {eyes: "no default setting", lactation: "no default setting", prostate: "no default setting", cosmetic: "no default setting", accent: "no default setting", shoulders: "no default setting", shouldersImplant: "no default setting", boobs: "no default setting", hips: "no default setting", hair: "no default setting", bodyhair:"no default setting", hipsImplant: "no default setting", butt: "no default setting", faceShape: "no default setting", lips: "no default setting", holes: "no default setting", bellyImplant: "no default setting"}, underArmHColor: "no default setting", underArmHStyle: "no default setting", drug: "no default setting", eyes: "no default setting", pregSpeed: "no default setting", bellyImplantVol: -1}>> - - - <<for _tempRule.ID = 1, _r = 0; _r < _length; _r++>> - <<set _tempRule.ID = Math.max(_tempRule.ID, $defaultRules[_r].ID + 1)>> - <</for>> - <<set _tempRule.name = "Rule " + (_length+1)>> - - <<set $defaultRules.push(_tempRule)>> - <<set $currentRule = $defaultRules[_length]>> - <<goto "Rules Assistant">> - - <</link>> | - <<link "Remove rule '$currentRule.name'">> - <<set $defaultRules.deleteAt($r-1)>> - <<for $r = $defaultRules.length; $r > 0; $r-->> - <<if def $defaultRules[$r-1]>> - <<set $currentRule = $defaultRules[$r-1]>> - <<break>> - <</if>> - <</for>> - <<goto "Rules Assistant">> - <</link>> | - <span class="saveresult"></span> - <<timed 50ms>> - <<RAChangeSave>> - <</timed>> -<br><br> -<<if _length >= 10>>''@@.red;ATTENTION! Current rules count is 10 or above. High rules count can dramatically slow down game speed (especially if slaves count is high too), or even cause freeze of game page/browser. Use at your own risk!@@'' -<br><br> -<</if>> - -<<if _length < 1>> -''No rules.'' - -<<else>> - -__Rule $r Automatic Activation__ -<span id="activation"></span> - -<<if isSimpleCondition($currentRule.condition, ["devotion", "trust", "health", "energy", "weight", "actualAge", "physicalAge", "visualAge", "muscles", "lactation", "preg", "pregType", "bellyImplant", "belly"])>> - -<<timed 50ms>> - <<RAChangeActivation>> -<</timed>> - -<br> -<<link "None">> - <<unset _customCondition>> - <<set $currentRule.condition = {id: "false"}>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Always">> - <<unset _customCondition>> - <<set $currentRule.condition = {id: "true"}>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Devotion">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "devotion")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Trust">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "trust")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Health">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "health")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Sex drive">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "energy")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Weight">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "weight")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Age">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "actualAge")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Body Age">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "physicalAge")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Visible Age">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "visualAge")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Muscles">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "muscles")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Lactation">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "lactation")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Pregnancy">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "preg")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Pregnancy Multiples">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "pregType")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -<<if $bellyImplants == 1>> -| -<<link "Belly implant">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "bellyImplant")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -<</if>> -| -<<link "Belly Size">> - <<unset _customCondition>> - <<set $currentRule.condition = changeVariable($currentRule.condition, "belly")>> - <<RAChangeActivation>> - <<RARuleModified>> -<</link>> -| -<<link "Custom">> - <<if (def _customConditionOld)>> - <<set _customCondition = _customConditionOld>> - <<else>> - <<set _customCondition = unparseExpr($currentRule.condition)>> - <</if>> - <<replace "#activation">> - (custom): <br> - <<textinput "_customCondition" _customCondition>> - <<set _customConditionOld = _customCondition>> - <<RARuleModified>> - <</textinput>> - <</replace>> - <<RARuleModified>> -<</link>> - -<<else>> - <<if (def _customConditionOld)>> - <<set _customCondition = _customConditionOld>> - <<else>> - <<set _customCondition = unparseExpr($currentRule.condition)>> - <</if>> - <<timed 50ms>> - <<replace "#activation">> - (custom): <br> - //Sir, I'm afraid the condition you have given me is too complex to display in the usual interface.//<br> - <<textinput "_customCondition" _customCondition>> - <<set _customConditionOld = _customCondition>> - <<RARuleModified>> - <</textinput>> - <</replace>> - <</timed>> -<</if>> - -<br><br> - -<span id="applyassignment"></span> -<<timed 50ms>> - <<RAChangeApplyAssignment>> -<</timed>> - -<br> -<span id="excludeassignment"></span> -<<timed 50ms>> - <<RAChangeExcludeAssignment>> -<</timed>> - -<span id="applyfacility"></span> -<<timed 50ms>> - <<RAChangeApplyFacility>> -<</timed>> - -<span id="excludefacility"></span> -<<timed 50ms>> - <<RAChangeExcludeFacility>> -<</timed>> - -<br><br> -<span id="specialslaves"></span> -<<timed 50ms>> - <<RASpecialSlaves>> -<</timed>> - - - -<<if $currentRule.selectedSlaves.length < 1 && $currentRule.excludedSlaves.length < 1>> - @@.gray;No specific slaves selected:@@ - [[Limit to specific slaves|Rules Slave Select][$currentRule.excludedSlaves = []]] | [[Exclude specific slaves|Rules Slave Exclude][$currentRule.selectedSlaves = []]] -<<elseif $currentRule.selectedSlaves.length < 1 && $currentRule.excludedSlaves.length > 0>> - <br>Excluding specific slaves: - <ul> - <<for _j = 0; _j < $slaves.length; _j++>> - <<if $currentRule.excludedSlaves.includes($slaves[_j].ID)>> - <li>$slaves[_j].slaveName</li> - <</if>> - <</for>> - </ul> - [[Change specific slaves|Rules Slave Exclude]] | [[Don't exclude specific slaves|Rules Assistant][$currentRule.excludedSlaves = []]] -<<else>> - <br>Limited to specific slaves (this list does not override the exclude special slaves setting above): - <ul> - <<for _j = 0; _j < $slaves.length; _j++>> - <<if $currentRule.selectedSlaves.includes($slaves[_j].ID)>> - <li>$slaves[_j].slaveName</li> - <</if>> - <</for>> - </ul> - [[Change specific slaves|Rules Slave Select]] | [[Don't limit to specific slaves|Rules Assistant][$currentRule.selectedSlaves = [], $currentRule.excludedSlaves = []]] -<</if>> - -<span id="setassignment"></span> -<<timed 50ms>> - <<RAChangeSetAssignment>> -<</timed>> - -<span id="assignfacility"></span> -<<timed 50ms>> - <<RAChangeAssignFacility>> -<</timed>> - -<br><br> - -__Rule $r Default Appearance:__ -<br> -Clothes: -<span id="clothes"> -<<if ($currentRule.clothes == "choosing her own clothes")>> - ''slave's choice.'' -<<else>> - ''$currentRule.clothes.'' -<</if>> -</span> -| -<<link "Select her own outfit">> - <<set $currentRule.clothes = "choosing her own clothes">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> - -<br> -//Nice:// -<<link "No default clothes setting">> - <<set $currentRule.clothes = "no default setting">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Bangles">> - <<set $currentRule.clothes = "slutty jewelry">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Bodysuit">> - <<set $currentRule.clothes = "a comfortable bodysuit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Cheerleader outfit">> - <<set $currentRule.clothes = "a cheerleader outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Clubslut netting">> - <<set $currentRule.clothes = "clubslut netting">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Cutoffs and a t-shirt">> - <<set $currentRule.clothes = "cutoffs and a t-shirt">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Fallen nun">> - <<set $currentRule.clothes = "a fallen nuns habit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Halter top">> - <<set $currentRule.clothes = "a halter top dress">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Hijab and abaya">> - <<set $currentRule.clothes = "a hijab and abaya">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Latex catsuit">> - <<set $currentRule.clothes = "a latex catsuit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Leotard">> - <<set $currentRule.clothes = "a leotard">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Maid (nice)">> - <<set $currentRule.clothes = "a nice maid outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Maid (slutty)">> - <<set $currentRule.clothes = "a slutty maid outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Military uniform">> - <<set $currentRule.clothes = "a military uniform">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Mini dress">> - <<set $currentRule.clothes = "a mini dress">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Nice lingerie">> - <<set $currentRule.clothes = "attractive lingerie">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Nurse (nice)">> - <<set $currentRule.clothes = "a nice nurse outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Nurse (slutty)">> - <<set $currentRule.clothes = "a slutty nurse outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Schoolgirl">> - <<set $currentRule.clothes = "a schoolgirl outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Silken ballgown">> - <<set $currentRule.clothes = "a ball gown">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Skimpy battledress">> - <<set $currentRule.clothes = "battledress">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Slave gown">> - <<set $currentRule.clothes = "a slave gown">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Slutty outfit">> - <<set $currentRule.clothes = "a slutty outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "String bikini">> - <<set $currentRule.clothes = "a string bikini">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Scalemail bikini">> - <<set $currentRule.clothes = "a scalemail bikini">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Succubus costume">> - <<set $currentRule.clothes = "a succubus outfit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Suit (nice)">> - <<set $currentRule.clothes = "nice business attire">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Suit (slutty)">> - <<set $currentRule.clothes = "slutty business attire">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Spats and tank top">> - <<set $currentRule.clothes = "spats and a tank top">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<if isItemAccessible("body oil")>> - //FS// - <<link "Body oil">> - <<set $currentRule.clothes = "body oil">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a bunny outfit")>> - //FS// - <<link "Bunny outfit">> - <<set $currentRule.clothes = "a bunny outfit">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a chattel habit")>> - //FS// - <<link "Chattel habit">> - <<set $currentRule.clothes = "a chattel habit">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("conservative clothing")>> - //FS// - <<link "Conservative clothing">> - <<set $currentRule.clothes = "conservative clothing">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("harem gauze")>> - //FS// - <<link "Harem gauze">> - <<set $currentRule.clothes = "harem gauze">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a huipil")>> - //FS// - <<link "Huipil">> - <<set $currentRule.clothes = "a huipil">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a kimono")>> - //FS// - <<link "Kimono">> - <<set $currentRule.clothes = "a kimono">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a maternity dress")>> - //FS// - <<link "Maternity dress">> - <<set $currentRule.clothes = "a maternity dress">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("attractive lingerie for a pregnant woman")>> - //FS// - <<link "Maternity lingerie">> - <<set $currentRule.clothes = "attractive lingerie for a pregnant woman">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a slutty qipao")>> - //FS// - <<link "Slutty qipao">> - <<set $currentRule.clothes = "a slutty qipao">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("stretch pants and a crop-top")>> - //FS// - <<link "Stretch pants and a crop-top">> - <<set $currentRule.clothes = "stretch pants and a crop-top">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("a toga")>> - //FS// - <<link "Toga">> - <<set $currentRule.clothes = "a toga">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -<<if isItemAccessible("Western clothing")>> - //FS// - <<link "Western clothing">> - <<set $currentRule.clothes = "Western clothing">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> -<</if>> - -<br> -//Harsh:// -<<link "Nude">> - <<set $currentRule.clothes = "no clothing">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -<<if isItemAccessible("chains")>> - | //FS// - <<link "Chains">> - <<set $currentRule.clothes = "chains">> - <<RAChangeClothes>> - <<RARuleModified>> - <</link>> - | -<</if>> -| -<<link "Penitent nun">> - <<set $currentRule.clothes = "a penitent nuns habit">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Restrictive latex">> - <<set $currentRule.clothes = "restrictive latex">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Shibari ropes">> - <<set $currentRule.clothes = "shibari ropes">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> -| -<<link "Uncomfortable straps">> - <<set $currentRule.clothes = "uncomfortable straps">> - <<RAChangeClothes>> - <<RARuleModified>> -<</link>> - - -<br> -Collar: <span id="collar">''$currentRule.collar.''</span> -<<link "No default collar setting">> - <<set $currentRule.collar = "no default setting">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<<link "No collar">> - <<set $currentRule.collar = "none">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> - -<br> -//Nice:// -<<link "Stylish leather">> - <<set $currentRule.collar = "stylish leather">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<<link "Satin choker">> - <<set $currentRule.collar = "satin choker">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<<link "Silken Ribbon">> - <<set $currentRule.collar = "silk ribbon">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<<link "Heavy Gold">> - <<set $currentRule.collar = "heavy gold">> - <<RAChangeCollar>> -<</link>> -| -<<link "Pretty jewelry">> - <<set $currentRule.collar = "pretty jewelry">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<<if $seeAge != 0>> -<<link "Nice retirement counter">> - <<set $currentRule.collar = "nice retirement counter">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -| -<</if>> -<<link "Cowbell">> - <<set $currentRule.collar = "leather with cowbell">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -<<if isItemAccessible("bowtie")>> - | //FS// -<<link "Bowtie collar">> - <<set $currentRule.collar = "bowtie">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -<</if>> -<<if isItemAccessible("ancient Egyptian")>> - | //FS// -<<link "Ancient Egyptian">> - <<set $currentRule.collar = "ancient Egyptian">> - <<RAChangeCollar>> - <<RARuleModified>> -<</link>> -<</if>> - -<br> -//Harsh:// -<<for _i = 0; _i < setup.harshCollars.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.harshCollars[_i].fs && ndef setup.harshCollars[_i].rs>> - | - <<elseif (setup.harshCollars[_i].fs == "seeage") && ($seeAge != 0)>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.harshCollars[_i].rs == "buyGag") && ($toysBoughtGags == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.harshCollars[_i].name>> - <<set $currentRule.collar = setup.harshCollars[_i].value>> - <<RAChangeCollar>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> - - -<br> -Shoes: <span id="shoes">''$currentRule.shoes.''</span> - -<<for _i = 0; _i < setup.shoes.length; _i++>> - <<if _i != 0>> - | - <</if>> - <<capture _i>> - <<link setup.shoes[_i].name>> - <<set $currentRule.shoes = setup.shoes[_i].value>> - <<RAChangeShoes>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> - -<br> -Corsetage: <span id="baccessory">''$currentRule.bellyAccessory.''</span> - -<<for _i = 0; _i < setup.bellyAccessories.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.bellyAccessories[_i].fs && ndef setup.bellyAccessories[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.bellyAccessories[_i].fs == "repopulation") && ($arcologies[0].FSRepopulationFocus != "unset")>> - | //FS// - <<elseif (setup.bellyAccessories[_i].rs == "boughtBelly") && ($clothesBoughtBelly == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.bellyAccessories[_i].name>> - <<set $currentRule.bellyAccessory = setup.bellyAccessories[_i].value>> - <<RAChangeBelly>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> - -<br> -Vaginal accessories for virgins: <span id = "vaccessory">''$currentRule.virginAccessory.''</span> -<br> - -<<for _i =0; _i < setup.vaginalAccessories.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.vaginalAccessories[_i].fs && ndef setup.vaginalAccessories[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.vaginalAccessories[_i].rs == "buyBigDildos") && ($toysBoughtDildos == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.vaginalAccessories[_i].name>> - <<set $currentRule.virginAccessory = setup.vaginalAccessories[_i].value>> - <<RAChangeVAccessory 0>> - <<RARuleModified>> - <</link>> - <</capture>> - <<if setup.vaginalAccessories[_i].value == "huge dildo" || setup.vaginalAccessories[_i].value == "long, huge dildo">> - //Will permanently gape pussies// - <</if>> -<</for>> - -<br> -Vaginal accessories for anal virgins: <span id="avaccessory">''$currentRule.aVirginAccessory.''</span> -<br> - -<<for _i = 0; _i < setup.vaginalAccessories.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.vaginalAccessories[_i].fs && ndef setup.vaginalAccessories[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.vaginalAccessories[_i].rs == "buyBigDildos") && ($toysBoughtDildos == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.vaginalAccessories[_i].name>> - <<set $currentRule.aVirginAccessory = setup.vaginalAccessories[_i].value>> - <<RAChangeVAccessory 1>> - <<RARuleModified>> - <</link>> - <</capture>> - <<if setup.vaginalAccessories[_i].value == "huge dildo" || setup.vaginalAccessories[_i].value == "long, huge dildo">> - //Will permanently gape pussies// - <</if>> -<</for>> - -<br> -Vaginal accessories for other slaves: <span id="voaccessory">''$currentRule.vaginalAccessory.''</span> -<br> - -<<for _i = 0; _i < setup.vaginalAccessories.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.vaginalAccessories[_i].fs && ndef setup.vaginalAccessories[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.vaginalAccessories[_i].rs == "buyBigDildos") && ($toysBoughtDildos == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.vaginalAccessories[_i].name>> - <<set $currentRule.vaginalAccessory = setup.vaginalAccessories[_i].value>> - <<RAChangeVAccessory 2>> - <<RARuleModified>> - <</link>> - <</capture>> - <<if setup.vaginalAccessories[_i].value == "huge dildo" || setup.vaginalAccessories[_i].value == "long, huge dildo">> - //Will permanently gape pussies// - <</if>> -<</for>> - - -<<if $seeDicks != 0 || $makeDicks != 0>> -<br> -Dick accessories for anal virgins: <span id="avdaccessory">''$currentRule.aVirginDickAccessory.''</span> - -<<for _i = 0; _i < setup.dickAccessories.length; _i++>> - <<if _i != 0>> - | - <</if>> - <<capture _i>> - <<link setup.dickAccessories[_i].name>> - <<set $currentRule.aVirginDickAccessory = setup.dickAccessories[_i].value>> - <<RAChangeDAccessory 0>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> - -<br> -Dick accessories for other slaves: <span id="daccessory">''$currentRule.dickAccessory.''</span> - -<<for _i = 0; _i < setup.dickAccessories.length; _i++>> - <<if _i != 0>> - | - <</if>> - <<capture _i>> - <<link setup.dickAccessories[_i].name>> - <<set $currentRule.dickAccessory = setup.dickAccessories[_i].value>> - <<RAChangeDAccessory 1>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> -<</if>> - - -<br> -Buttplugs for anal virgins: <span id="avbuaccessory">''$currentRule.aVirginButtplug.''</span> - -<<for _i = 0; _i < setup.buttplugs.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.buttplugs[_i].fs && ndef setup.buttplugs[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.buttplugs[_i].rs == "buyBigPlugs") && ($toysBoughtButtPlugs == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.buttplugs[_i].name>> - <<set $currentRule.aVirginButtplug = setup.buttplugs[_i].value>> - <<RAChangeBAccessory 0>> - <<RARuleModified>> - <</link>> - <</capture>> - <<if setup.buttplugs[_i].value == "huge plug" || setup.buttplugs[_i].value == "long, huge plug">> - //Will permanently gape assholes// - <</if>> -<</for>> - -<br> -Buttplugs for other slaves: <span id="buaccessory">''$currentRule.buttplug.''</span> - -<<for _i = 0; _i < setup.buttplugs.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.buttplugs[_i].fs && ndef setup.buttplugs[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.buttplugs[_i].rs == "buyBigPlugs") && ($toysBoughtButtPlugs == 1)>> - | //Purchased// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.buttplugs[_i].name>> - <<set $currentRule.buttplug = setup.buttplugs[_i].value>> - <<RAChangeBAccessory 1>> - <<RARuleModified>> - <</link>> - <</capture>> - <<if setup.buttplugs[_i].value == "huge plug" || setup.buttplugs[_i].value == "long, huge plug">> - //Will permanently gape assholes// - <</if>> -<</for>> - -<<if $bellyImplants >= 1>> - <br> - Belly implant target volume (if present): ''<span id = "bimpl">no default setting</span>.'' - <br> - <<rbutton "$currentRule.bellyImplantVol" "-1" "bimpl" "no changes">> No changes | - <<rbutton "$currentRule.bellyImplantVol" "0" "bimpl" "empty implant">> Empty | - <<rbutton "$currentRule.bellyImplantVol" "1500" "bimpl" "early pregnancy">> Small | - <<rbutton "$currentRule.bellyImplantVol" "5000" "bimpl" "second trimester pregnancy">> Mid-pregnancy | - <<rbutton "$currentRule.bellyImplantVol" "15000" "bimpl" "full-term pregnancy">> Full-term | - <<rbutton "$currentRule.bellyImplantVol" "30000" "bimpl" "full-term with twins pregnancy">> Twins | - <<rbutton "$currentRule.bellyImplantVol" "45000" "bimpl" "full-term with triplets pregnancy">> Triplets | - <<rbutton "$currentRule.bellyImplantVol" "60000" "bimpl" "full-term with quadruplets pregnancy">> Quads | - <<rbutton "$currentRule.bellyImplantVol" "75000" "bimpl" "full-term with quintuplets pregnancy">> Quints | - <<rbutton "$currentRule.bellyImplantVol" "90000" "bimpl" "full-term with sextuplets pregnancy">> Sextuplets | - <<rbutton "$currentRule.bellyImplantVol" "105000" "bimpl" "full-term with septuplets pregnancy">> Septuplets | - <<rbutton "$currentRule.bellyImplantVol" "120000" "bimpl" "full-term with octuplets pregnancy">> Octomom -<</if>> - -<br><br> -Body modification: [[Cosmetic Rules Assistant Settings][$artificialEyeColor = "",$artificialEyeShape = ""]] | [[Body Mod Rules Assistant Settings]] | [[Autosurgery Settings]] -<br> -Assistant-applied implants (Autosurgery global switch): -<span id = "assistantimplants"> -<<if $currentRule.autoSurgery == 1>> - ''ACTIVE, STAND CLEAR.'' - <<link "Off">> - <<set $currentRule.autoSurgery = 0>> - <<RAChangeAssistantImplants>> - <<RARuleModified>> - <</link>> -<<else>> - ''off.'' - <<link "Activate">> - <<set $currentRule.autoSurgery = 1>> - <<RAChangeAssistantImplants>> - <<RARuleModified>> - <</link>> -<</if>> -</span> - -<br><br> - -__Rule $r Physical Regimen:__ - -<br> - -Growth hormone regimes for healthy slaves: -<span id="growth"></span> - -<<link "No default setting" "Rules Assistant">> <<set $currentRule.growth = {boobs: "no default setting", butt: "no default setting", lips: "no default setting", dick: "no default setting", balls: "no default setting"}>><</link>> | -<<link "Girlish figure" "Rules Assistant">> <<set $currentRule.growth = {boobs: 350, butt: 2, lips: 25, dick: 0, balls: 0}>><</link>> | -<<link "Stacked figure" "Rules Assistant">> <<set $currentRule.growth = {boobs: 1000, butt: 4, lips: 25, dick: 4, balls: 4}>><</link>> | -<<link "Huge but functional" "Rules Assistant">><<set $currentRule.growth = {boobs: 9000, butt: 10, lips: 45, dick: 6, balls: 6}>><</link>> | -<<link "Unlimited" "Rules Assistant">> <<set $currentRule.growth = {boobs: 48000, butt: 10, lips: 100, dick: 10, balls: 6}>><</link>> | -<<link "None" "Rules Assistant">> <<set $currentRule.growth = {boobs: 0, butt: 0, lips: 0, dick: 0, balls: 0}>><</link>> - -<br> -//Breasts:// -<span id="textBoobs"><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">></span> -<<link "No default setting">><<set $currentRule.growth.boobs = "no default setting">><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> | -<<link "B Cup">><<set $currentRule.growth.boobs = 350>><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> | -<<link "D Cup">><<set $currentRule.growth.boobs = 1000>><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> | -<<link "Monstrous">><<set $currentRule.growth.boobs = 9000>><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> | -<<link "Unlimited">><<set $currentRule.growth.boobs = 48000>><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> | -<<link "None">><<set $currentRule.growth.boobs = 0>><<replace "#textBoobs">><<textbox "$currentRule.growth.boobs" $currentRule.growth.boobs "Rules Assistant">><</replace>><</link>> -<br> -//Butts:// -<span id="textButt"><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">></span> -<<link "No default setting">><<set $currentRule.growth.butt = "no default setting">><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> | -<<link "Cute">><<set $currentRule.growth.butt = 2>><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> | -<<link "Big">><<set $currentRule.growth.butt = 4>><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> | -<<link "Huge">><<set $currentRule.growth.butt = 6>><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> | -<<link "Unlimited">><<set $currentRule.growth.butt = 10>><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> | -<<link "None">><<set $currentRule.growth.butt = 0>><<replace "#textButt">><<textbox "$currentRule.growth.butt" $currentRule.growth.butt "Rules Assistant">><</replace>><</link>> -<br> -//Lips:// -<span id="textLips"><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">></span> -<<link "No default setting">><<set $currentRule.growth.lips = "no default setting">><<replace "#textLips">><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">><</replace>><</link>> | -<<link "Plump">><<set $currentRule.growth.lips = 25>><<replace "#textLips">><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">><</replace>><</link>> | -<<link "Beestung">><<set $currentRule.growth.lips = 45>><<replace "#textLips">><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">><</replace>><</link>> | -<<link "Facepussy">><<set $currentRule.growth.lips = 100>><<replace "#textLips">><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">><</replace>><</link>> | -<<link "None">><<set $currentRule.growth.lips = 0>><<replace "#textLips">><<textbox "$currentRule.growth.lips" $currentRule.growth.lips "Rules Assistant">><</replace>><</link>> -<<if ($seeDicks > 0 || $makeDicks > 0)>> - <br> - //Dicks, if present:// - <span id="textDick"><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">></span> - <<link "No default setting">><<set $currentRule.growth.dick = "no default setting">><<replace "#textDick">><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">><</replace>><</link>> | - <<link "Above average">><<set $currentRule.growth.dick = 4>><<replace "#textDick">><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">><</replace>><</link>> | - <<link "Pornstar">><<set $currentRule.growth.dick = 6>><<replace "#textDick">><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">><</replace>><</link>> | - <<link "Unlimited">><<set $currentRule.growth.dick = 10>><<replace "#textDick">><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">><</replace>><</link>> | - <<link "None">><<set $currentRule.growth.dick = 0>><<replace "#textDick">><<textbox "$currentRule.growth.dick" $currentRule.growth.dick "Rules Assistant">><</replace>><</link>> - <br> - //Balls, if present:// - <span id="textBalls"><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">></span> - <<link "No default setting">><<set $currentRule.growth.balls = "no default setting">><<replace "#textBalls">><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">><</replace>><</link>> | - <<link "Sizeable">><<set $currentRule.growth.balls = 4>><<replace "#textBalls">><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">><</replace>><</link>> | - <<link "Cumslave">><<set $currentRule.growth.balls = 6>><<replace "#textBalls">><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">><</replace>><</link>> | - <<link "Unlimited">><<set $currentRule.growth.balls = 10>><<replace "#textBalls">><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">><</replace>><</link>> | - <<link "None">><<set $currentRule.growth.balls = 0>><<replace "#textBalls">><<textbox "$currentRule.growth.balls" $currentRule.growth.balls "Rules Assistant">><</replace>><</link>> -<</if>> -/* -<br> -Drug regimes will be -<<if $currentRule.growth.intensity>> - ''intensive'' for slaves whose health can bear it. <<link "Moderate" "Rules Assistant">><<set $currentRule.growth.intensity = 0>><</link>> -<<else>> - ''moderate'' for all slaves. <<link "Intensify" "Rules Assistant">><<set $currentRule.growth.intensity = 1>><</link>> -<</if>> -%/ - -<br> - -Health drugs: -<span id = "curatives"> -<<if $currentRule.curatives == "no default setting">> - ''no default setting.'' -<<elseif $currentRule.curatives > 0>> - <<if $currentRule.curatives > 1>> - ''curatives.'' - <<else>> - ''preventatives.'' - <</if>> -<<else>> - ''none.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.curatives = "no default setting">> - <<RAChangeCuratives>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.curatives = 0>> - <<RAChangeCuratives>> - <<RARuleModified>> -<</link>> -| -<<link "Preventatives">> - <<set $currentRule.curatives = 1>> - <<RAChangeCuratives>> - <<RARuleModified>> -<</link>> -| -<<link "Curatives">> - <<set $currentRule.curatives = 2>> - <<RAChangeCuratives>> - <<RARuleModified>> -<</link>> - -<br> - -Aphrodisiacs: -<span id = "aphrodisiacs"> -<<if $currentRule.aphrodisiacs == "no default setting">> - ''no default setting.'' -<<elseif $currentRule.aphrodisiacs > 0>> - <<if $currentRule.aphrodisiacs > 1>> - ''extreme.'' - <<else>> - ''standard.'' - <</if>> -<<elseif $currentRule.aphrodisiacs === -1>> - ''anaphrodisiacs.'' -<<else>> - ''none.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.aphrodisiacs = "no default setting">> - <<RAChangeAphrodisiacs>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.aphrodisiacs = 0>> - <<RAChangeAphrodisiacs>> - <<RARuleModified>> -<</link>> -| -<<link "Standard">> - <<set $currentRule.aphrodisiacs = 1>> - <<RAChangeAphrodisiacs>> - <<RARuleModified>> -<</link>> -| -<<link "Extreme">> - <<set $currentRule.aphrodisiacs = 2>> - <<RAChangeAphrodisiacs>> - <<RARuleModified>> -<</link>> -| -<<link "Anaphrodisiacs">> - <<set $currentRule.aphrodisiacs = -1>> - <<RAChangeAphrodisiacs>> - <<RARuleModified>> -<</link>> - -<br> - -Contraceptives for fertile slaves: -<span id = "preg"> -<<if $currentRule.preg == 0>> - ''fertile.'' -<<elseif $currentRule.preg == 1>> - ''very fertile.'' -<<elseif $currentRule.preg == 2>> - ''extremely fertile.'' -<<elseif $currentRule.preg == 3>> - ''hyper fertile.'' -<<elseif $currentRule.preg == 4>> - ''just knock my shit up.'' -<<elseif $currentRule.preg == -1>> - ''contraceptives.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.preg = "no default setting">> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<<link "Fertile">> - <<set $currentRule.preg = 0>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<<link "Very fertile">> - <<set $currentRule.preg = 1>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<<link "Extremely fertile">> - <<set $currentRule.preg = 2>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<<if $seeHyperPreg == 1 && $superFertilityDrugs == 1>> -<<link "Hyper fertile">> - <<set $currentRule.preg = 3>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<<link "Maximize fertility">> - <<set $currentRule.preg = 4>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> -| -<</if>> -<<link "Contraceptives">> - <<set $currentRule.preg = -1>> - <<RAChangePreg>> - <<RARuleModified>> -<</link>> - -<br> -<<if $pregSpeedControl > 0 >> -Pregnancy control agents for pregnant slaves: <span id = "pregSpeedControl"></span> -<<rbutton "$currentRule.pregSpeed" "no default setting">> No changes | -<<rbutton "$currentRule.pregSpeed" "none">> None | -<<rbutton "$currentRule.pregSpeed" "fast">> Fast gestation | -<<rbutton "$currentRule.pregSpeed" "slow">> Slow gestation | -<<rbutton "$currentRule.pregSpeed" "suppress">> Birth supressors | -<<rbutton "$currentRule.pregSpeed" "stimulate">> Birth stimulators -<br> -<</if>> - -Hormones for female slaves: -<span id = "xxhormones"> -<<if $currentRule.XX == 0>> - ''no hormones.'' -<<elseif $currentRule.XX == 1>> - ''female.'' -<<elseif $currentRule.XX == 2>> - ''intensive female.'' -<<elseif $currentRule.XX == -1>> - ''male.'' -<<elseif $currentRule.XX == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.XX = "no default setting">> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Female">> - <<set $currentRule.XX = 2>> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Female">> - <<set $currentRule.XX = 1>> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.XX = 0>> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Male">> - <<set $currentRule.XX = -1>> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Male">> - <<set $currentRule.XX = -2>> - <<RAChangeXXHormones>> - <<RARuleModified>> -<</link>> - -<br> - -Hormones for shemales: -<span id = "xyhormones"> -<<if $currentRule.XY == 0>> - ''no hormones.'' -<<elseif $currentRule.XY == 1>> - ''female.'' -<<elseif $currentRule.XY == 2>> - ''intensive female.'' -<<elseif $currentRule.XY == -1>> - ''male.'' -<<elseif $currentRule.XY == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.XY = "no default setting">> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Female">> - <<set $currentRule.XY = 2>> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Female">> - <<set $currentRule.XY = 1>> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.XY = 0>> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Male">> - <<set $currentRule.XY = -1>> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Male">> - <<set $currentRule.XY = -2>> - <<RAChangeXYHormones>> - <<RARuleModified>> -<</link>> - -<br> - -Hormones for geldings: -<span id = "geldhormones"> -<<if $currentRule.gelding == 0>> - ''no hormones.'' -<<elseif $currentRule.gelding == 1>> - ''female.'' -<<elseif $currentRule.gelding == 2>> - ''intensive female.'' -<<elseif $currentRule.gelding == -1>> - ''male.'' -<<elseif $currentRule.gelding == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.gelding = "no default setting">> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Female">> - <<set $currentRule.gelding = 2>> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Female">> - <<set $currentRule.gelding = 1>> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.gelding = 0>> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Male">> - <<set $currentRule.gelding = -1>> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> -| -<<link "Intensive Male">> - <<set $currentRule.gelding = -2>> - <<RAChangeGeldHormones>> - <<RARuleModified>> -<</link>> - -<br> - -<span id = "otherdrugs"> -Other drugs: // Will be overriden by hormones and other drugs where applicable.// ''$currentRule.drug.'' -</span> - -<<for _i = 0; _i < setup.drugs.length; _i++>> - <<if _i == 0>> - <<elseif ndef setup.drugs[_i].fs && ndef setup.drugs[_i].rs>> - | - <<elseif $cheatMode == 1>> - | //CM// - <<elseif (setup.drugs[_i].rs == "growth" && $growthStim == 1)>> - | //Research// - <<elseif (setup.drugs[_i].rs == "pubHorm" && $precociousPuberty == 1 && $pubertyHormones == 1)>> - | //Research// - <<elseif (setup.drugs[_i].rs == "nosag" && $purchasedSagBGone == 1)>> - | //Product// - <<elseif (setup.drugs[_i].fs == "slimness" && $arcologies[0].FSSlimnessEnthusiastResearch == 1)>> - | //FS// - <<elseif (setup.drugs[_i].fs == "youth" && $arcologies[0].FSYouthPreferentialistResearch == 1)>> - | //FS// - <<else>> - <<continue>> - <</if>> - <<capture _i>> - <<link setup.drugs[_i].name>> - <<set $currentRule.drug = setup.drugs[_i].value>> - <<RAChangeDrugs>> - <<RARuleModified>> - <</link>> - <</capture>> -<</for>> - -<br> - -Slave diets: -<span id = "diet"> -<<if $currentRule.diet == "XX">> - ''designed to keep slaves feminine.'' -<<elseif $currentRule.diet == "XY">> - ''designed to keep slaves masculine.'' -<<elseif $currentRule.diet == "XXY">> - ''designed to promote healthy herms.'' -<<elseif $currentRule.diet == 30>> - ''designed to keep slaves plush.'' -<<elseif $currentRule.diet == 0>> - ''designed for average weight.'' -<<elseif $currentRule.diet == -30>> - ''designed to keep slaves thin.'' -<<elseif $currentRule.diet == "attractive">> - ''fat slaves will slim down to plush; skinny slaves will fill out to thin.'' -<<elseif $currentRule.diet == "cleansing">> - ''designed to promote health'' -<<elseif $currentRule.diet == "fertility">> - ''designed to promote ovulation'' -<<elseif $currentRule.diet == "cum production">> - ''designed to promote cum production'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default diet setting">> - <<set $currentRule.diet = "no default setting">> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -| -<<link "Fix fat and skinny slaves">> - <<set $currentRule.diet = "attractive">> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -| -<<link "Curvy">> - <<set $currentRule.diet = 30>> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -| -<<link "Average">> - <<set $currentRule.diet = 0>> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -| -<<link "Thin">> - <<set $currentRule.diet = -30>> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -<<if $feeder == 1>> - | - <<link "Feminine">> - <<set $currentRule.diet = "XX">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> - | - <<link "Masculine">> - <<set $currentRule.diet = "XY">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> - <<if $dietXXY == 1>> - | - <<link "Futanari">> - <<set $currentRule.diet = "XXY">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> - <</if>> -<</if>> -<<if $dietCleanse == 1>> - | - <<link "Cleansing">> - <<set $currentRule.diet = "cleansing">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> -<</if>> -<<if $dietFertility == 1>> - | - <<link "Fertility">> - <<set $currentRule.diet = "fertility">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> -<</if>> -<<if $cumProDiet == 1>> - | - <<link "Cum production">> - <<set $currentRule.diet = "cum production">> - <<RAChangeDiet>> - <<RARuleModified>> - <</link>> -<</if>> -<span id = "dietsupport"> -<<if $currentRule.diet !== "no default setting">> - -<br> -Diet support for growth drugs: -<<if $currentRule.dietGrowthSupport == 1>> - ''on.'' -<<else>> - ''off.'' -<</if>> - -<<link "On">> - <<set $currentRule.dietGrowthSupport = 1>> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -| -<<link "Off">> - <<set $currentRule.dietGrowthSupport = 0>> - <<RAChangeDiet>> - <<RARuleModified>> -<</link>> -<</if>> -</span> - -<br> - -Diet base: -<span id = "dietBase"> -<<if ($currentRule.dietCum == 2)>> - ''slaves' diets are heavily based on cum.'' -<<elseif (($currentRule.dietCum == 1) && ($currentRule.dietMilk == 0))>> - ''cum is added to slaves' diets.'' -<<elseif (($currentRule.dietCum == 1) && ($currentRule.dietMilk == 1))>> - ''both cum and human milk are added to slaves' diets.'' -<<elseif (($currentRule.dietCum == 0) && ($currentRule.dietMilk == 1))>> - ''human milk is added to slaves' diets.'' -<<elseif ($currentRule.dietMilk == 2)>> - ''slaves' diets are heavily based on human milk.'' -<<elseif (($currentRule.dietMilk == 0) && ($currentRule.dietCum == 0))>> - ''slaves' diets do not include cum or human milk.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "no default setting">> - <<set $currentRule.dietCum = "no default setting">> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Normal Diet">> - <<set $currentRule.dietCum = 0>> - <<set $currentRule.dietMilk = 0>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Cum Added">> - <<set $currentRule.dietCum = 1>> - <<set $currentRule.dietMilk = 0>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Milk Added">> - <<set $currentRule.dietCum = 0>> - <<set $currentRule.dietMilk = 1>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Cum & Milk Added">> - <<set $currentRule.dietCum = 1>> - <<set $currentRule.dietMilk = 1>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Cum-Based">> - <<set $currentRule.dietCum = 2>> - <<set $currentRule.dietMilk = 0>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> -| -<<link "Milk Based">> - <<set $currentRule.dietCum = 0>> - <<set $currentRule.dietMilk = 2>> - <<RAChangeDietBase>> - <<RARuleModified>> -<</link>> - -<br> - -Muscles: -<span id = "muscles"> -<<if $currentRule.muscles > 95>> - ''massive.'' -<<elseif $currentRule.muscles > 30>> - ''ripped.'' -<<elseif $currentRule.muscles > 5>> - ''toned.'' -<<elseif $currentRule.muscles == 0>> - ''none.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default diet setting">> - <<set $currentRule.muscles = "no default setting">> - <<RAChangeMuscles>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.muscles = 0>> - <<RAChangeMuscles>> - <<RARuleModified>> -<</link>> -| -<<link "Toned">> - <<set $currentRule.muscles = 20>> - <<RAChangeMuscles>> - <<RARuleModified>> -<</link>> -| -<<link "Ripped">> - <<set $currentRule.muscles = 50>> - <<RAChangeMuscles>> - <<RARuleModified>> -<</link>> -| -<<link "Massive">> - <<set $currentRule.muscles = 100>> - <<RAChangeMuscles>> - <<RARuleModified>> -<</link>> - -<br> - -Braces: -<span id = "braces"> -<<if $currentRule.teeth == "straighten">> - ''straighten'' teeth, then remove. -<<elseif $currentRule.teeth == "universal">> - ''universally'' applied. -<<elseif $currentRule.teeth == "none">> - ''none.'' -<<else>> - ''no default setting.'' -<</if>> -</span> - -<<link "No default braces setting">> - <<set $currentRule.teeth = "no default setting">> - <<RAChangeBraces>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.teeth = "none">> - <<RAChangeBraces>> - <<RARuleModified>> -<</link>> -| -<<link "Straighten">> - <<set $currentRule.teeth = "straighten">> - <<RAChangeBraces>> - <<RARuleModified>> -<</link>> -| -<<link "Universal">> - <<set $currentRule.teeth = "universal">> - <<RAChangeBraces>> - <<RARuleModified>> -<</link>> - - - -<br><br> - -__Rule $r Behavior Rules:__ -<br> - -Living standard: <span id="living">''$currentRule.livingRules.''</span> - -<<link "No default setting">> - <<set $currentRule.livingRules = "no default setting">> - <<RAChangeLiving>> - <<RARuleModified>> -<</link>> -| -<<link "Luxurious">> - <<set $currentRule.livingRules = "luxurious">> - <<RAChangeLiving>> - <<RARuleModified>> -<</link>> -| -<<link "Normal">> - <<set $currentRule.livingRules = "normal">> - <<RAChangeLiving>> - <<RARuleModified>> -<</link>> -| -<<link "Spare">> - <<set $currentRule.livingRules = "spare">> - <<RAChangeLiving>> - <<RARuleModified>> -<</link>> - -<br> - -Typical punishment: <span id="punish">''$currentRule.standardPunishment.''</span> - -<<link "No default setting">> - <<set $currentRule.standardPunishment = "no default setting">> - <<RAChangePunish>> - <<RARuleModified>> -<</link>> -| -<<link "Confinement">> - <<set $currentRule.standardPunishment = "confinement">> - <<RAChangePunish>> - <<RARuleModified>> -<</link>> -| -<<link "Whipping">> - <<set $currentRule.standardPunishment = "whipping">> - <<RAChangePunish>> - <<RARuleModified>> -<</link>> -| -<<link "Chastity">> - <<set $currentRule.standardPunishment = "chastity">> - <<RAChangePunish>> - <<RARuleModified>> -<</link>> -| -<<link "Situational">> - <<set $currentRule.standardPunishment = "situational">> - <<RAChangePunish>> - <<RARuleModified>> -<</link>> - -<br> - -Typical reward: <span id="reward">''$currentRule.standardReward.''</span> - -<<link "No default setting">> - <<set $currentRule.standardReward = "no default setting">> - <<RAChangeReward>> - <<RARuleModified>> -<</link>> -| -<<link "Relaxation">> - <<set $currentRule.standardReward = "relaxation">> - <<RAChangeReward>> - <<RARuleModified>> -<</link>> -| -<<link "Drugs">> - <<set $currentRule.standardReward = "drugs">> - <<RAChangeReward>> - <<RARuleModified>> -<</link>> -| -<<link "Orgasm">> - <<set $currentRule.standardReward = "orgasm">> - <<RAChangeReward>> - <<RARuleModified>> -<</link>> -| -<<link "Situational">> - <<set $currentRule.standardReward = "situational">> - <<RAChangeReward>> - <<RARuleModified>> -<</link>> - -<br> - -Release rules: <span id="mast">''$currentRule.releaseRules.''</span> - -<<link "No default setting">> - <<set $currentRule.releaseRules = "no default setting">> - <<RAChangeMast>> - <<RARuleModified>> -<</link>> -| -<<link "Permissive">> - <<set $currentRule.releaseRules = "permissive">> - <<RAChangeMast>> - <<RARuleModified>> -<</link>> -| -<<link "Sapphic">> - <<set $currentRule.releaseRules = "sapphic">> - <<RAChangeMast>> - <<RARuleModified>> -<</link>> -| -<<link "Masturbation">> - <<set $currentRule.releaseRules = "masturbation">> - <<RAChangeMast>> - <<RARuleModified>> -<</link>> -| -<<link "Restrictive">> - <<set $currentRule.releaseRules = "restrictive">> - <<RAChangeMast>> - <<RARuleModified>> -<</link>> - -<br> - -Smart piercing fetish target: <span id="spf">''$currentRule.clitSetting.''</span> - -<br> -<<link "No default setting">> - <<set $currentRule.clitSetting = "no default setting">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Vanilla">> - <<set $currentRule.clitSetting = "vanilla">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Oral">> - <<set $currentRule.clitSetting = "oral">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Anal">> - <<set $currentRule.clitSetting = "anal">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Boobs">> - <<set $currentRule.clitSetting = "boobs">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Sub">> - <<set $currentRule.clitSetting = "submissive">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Dom">> - <<set $currentRule.clitSetting = "dom">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Humiliation">> - <<set $currentRule.clitSetting = "humiliation">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Preg">> - <<set $currentRule.clitSetting = "pregnancy">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Pain">> - <<set $currentRule.clitSetting = "masochist">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> -| -<<link "Sadism">> - <<set $currentRule.clitSetting = "sadist">> - <<RAChangeSPF>> - <<RARuleModified>> -<</link>> - -<br> - -Smart piercing XY attraction target: <span id = "spxy"><<RAInitSPXY>></span> - -<br> -<<link "No default setting">> - <<set $currentRule.clitSettingXY = "no default setting">> - <<RAChangeSPXY>> - <<RARuleModified>> -<</link>> -| -<<link "Passionate">> - <<set $currentRule.clitSettingXY = 100>> - <<RAChangeSPXY>> - <<RARuleModified>> -<</link>> -| -<<link "Attracted">> - <<set $currentRule.clitSettingXY = 75>> - <<RAChangeSPXY>> - <<RARuleModified>> -<</link>> -| -<<link "Indifferent">> - <<set $currentRule.clitSettingXY = 45>> - <<RAChangeSPXY>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.clitSettingXY = 0>> - <<RAChangeSPXY>> - <<RARuleModified>> -<</link>> - -<br> - -Smart piercing XX attraction target: <span id = "spxx"><<RAInitSPXX>></span> - -<br> -<<link "No default setting">> - <<set $currentRule.clitSettingXX = "no default setting">> - <<RAChangeSPXX>> - <<RARuleModified>> -<</link>> -| -<<link "Passionate">> - <<set $currentRule.clitSettingXX = 100>> - <<RAChangeSPXX>> - <<RARuleModified>> -<</link>> -| -<<link "Attracted">> - <<set $currentRule.clitSettingXX = 75>> - <<RAChangeSPXX>> - <<RARuleModified>> -<</link>> -| -<<link "Indifferent">> - <<set $currentRule.clitSettingXX = 45>> - <<RAChangeSPXX>> - <<RARuleModified>> -<</link>> -| -<<link "None">> - <<set $currentRule.clitSettingXX = 0>> - <<RAChangeSPXX>> - <<RARuleModified>> -<</link>> - -<br> - -Smart piercing sex drive target: <span id = "spe"><<RAInitSPE>></span> - -<br> -<<link "No default setting">> - <<set $currentRule.clitSettingEnergy = "no default setting">> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Nympho">> - <<set $currentRule.clitSettingEnergy = 100>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Sex Addict">> - <<set $currentRule.clitSettingEnergy = 85>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Powerful">> - <<set $currentRule.clitSettingEnergy = 65>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Healthy">> - <<set $currentRule.clitSettingEnergy = 45>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Weak">> - <<set $currentRule.clitSettingEnergy = 25>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> -| -<<link "Frigid">> - <<set $currentRule.clitSettingEnergy = 0>> - <<RAChangeSPE>> - <<RARuleModified>> -<</link>> - -<br> - -Speech rules: <span id="speech">''$currentRule.speechRules.''</span> - -<<link "No default setting">> - <<set $currentRule.speechRules = "no default setting">> - <<RAChangeSpeech>> - <<RARuleModified>> -<</link>> -| -<<link "Permissive">> - <<set $currentRule.speechRules = "permissive">> - <<RAChangeSpeech>> - <<RARuleModified>> -<</link>> -| -<<link "Suppress accents">> - <<set $currentRule.speechRules = "accent elimination">> - <<RAChangeSpeech>> - <<RARuleModified>> -<</link>> -| -<<link "Restrictive">> - <<set $currentRule.speechRules = "restrictive">> - <<RAChangeSpeech>> - <<RARuleModified>> -<</link>> - -<br> - -Relationship rules: <span id="relation">''$currentRule.relationshipRules.''</span> - -<<link "No default setting">> - <<set $currentRule.relationshipRules = "no default setting">> - <<RAChangeRelationship>> - <<RARuleModified>> -<</link>> -| -<<link "Permissive">> - <<set $currentRule.relationshipRules = "permissive">> - <<RAChangeRelationship>> - <<RARuleModified>> -<</link>> -| -<<link "Just friends">> - <<set $currentRule.relationshipRules = "just friends">> - <<RAChangeRelationship>> - <<RARuleModified>> -<</link>> -| -<<link "Restrictive">> - <<set $currentRule.relationshipRules = "restrictive">> - <<RAChangeRelationship>> - <<RARuleModified>> -<</link>> - -<<if $studio == 1>> -<br> -<span id="pornfame"> -<<if $currentRule.pornFameSpending == -1>> - Release of feeds showing excellent slaves' sex lives: ''off.'' -<<else>> - Weekly porn publicity subsidy: ''<<print cashFormat($currentRule.pornFameSpending)>>.'' -<</if>> -</span> - -<<link "No default setting">> - <<set $currentRule.pornFameSpending = "no default setting">> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "No broadcasting">> - <<set $currentRule.pornFameSpending = -1>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "No subsidy">> - <<set $currentRule.pornFameSpending = 0>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "1000">> - <<set $currentRule.pornFameSpending = 1000>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "2000">> - <<set $currentRule.pornFameSpending = 2000>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "3000">> - <<set $currentRule.pornFameSpending = 3000>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "4000">> - <<set $currentRule.pornFameSpending = 4000>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> -| -<<link "5000">> - <<set $currentRule.pornFameSpending = 5000>> - <<RAChangeFameSpending>> - <<RARuleModified>> -<</link>> - -<</if>> - - -<br><br> - -<span id="saveresult"></span> -<<timed 50ms>> - <<RAChangeSave>> -<</timed>> - -<<if ($currentRule.ID == 1) || ($currentRule.ID == 2) || ($currentRule.ID == 3)>> -| -<<link "Reset this rule to use FC Dev's preferred options">> - - <<if ($currentRule.ID == 1)>> - <<set $currentRule.name = "Obedient Slaves">> - <<set $currentRule.condition = {id: ">", first: {id: "(name)", name: "devotion"}, second: {id: "(number)", value: 20}}>> - <<set $currentRule.clothes = "slutty jewelry">> - <<set $currentRule.collar = "pretty jewelry">> - <<set $currentRule.shoes = "heels">> - <<set $currentRule.vaginalAccessory = "none">> - <<set $currentRule.virginAccessory = "chastity belt">> - <<set $currentRule.aVirginAccessory = "anal chastity">> - <<set $currentRule.dickAccessory = "none">> - <<set $currentRule.aVirginDickAccessory = "anal chastity">> - <<set $currentRule.bellyAccessory = "no default setting">> - <<set $currentRule.aVirginButtplug = "none">> - <<set $currentRule.buttplug = "none">> - <<set $currentRule.eyes = "no default setting">> - <<set $currentRule.makeup = 1>> - <<set $currentRule.nails = 1>> - <<set $currentRule.hColor = "no default setting">> - <<set $currentRule.hStyle = "neat">> - <<set $currentRule.pubicHColor = "no default setting">> - <<set $currentRule.pubicHStyle = "waxed">> - <<set $currentRule.underArmHColor = "no default setting">> - <<set $currentRule.underArmHStyle = "waxed">> - <<set $currentRule.drug = "no default setting">> - <<set $currentRule.earPiercing = 1>> - <<set $currentRule.nosePiercing = 0>> - <<set $currentRule.eyebrowPiercing = 0>> - <<set $currentRule.navelPiercing = 1>> - <<set $currentRule.nipplesPiercing = 0>> - <<set $currentRule.lipsPiercing = 0>> - <<set $currentRule.tonguePiercing = 0>> - <<set $currentRule.clitPiercing = 3>> - <<set $currentRule.vaginaPiercing = 1>> - <<set $currentRule.dickPiercing = 1>> - <<set $currentRule.anusPiercing = 1>> - <<set $currentRule.anusTat = "bleached">> - <<set $currentRule.curatives = "no default setting">> - <<set $currentRule.preg = -1>> - <<set $currentRule.XX = 2>> - <<set $currentRule.XY = 2>> - <<set $currentRule.gelding = 2>> - <<set $currentRule.diet = 30>> - <<set $currentRule.dietGrowthSupport = 1>> - <<set $currentRule.muscles = 20>> - <<set $currentRule.releaseRules = "restrictive">> - <<set $currentRule.standardPunishment = "confinement">> - <<set $currentRule.standardReward = "relaxation">> - <<set $currentRule.clitSetting = "anal", $currentRule.clitSettingXY = 100, $currentRule.clitSettingXX = 100, $currentRule.clitSettingEnergy = 100>> - <<set $currentRule.speechRules = "permissive">> - <<set $currentRule.relationshipRules = "permissive">> - <<set $currentRule.livingRules = "luxurious">> - <<set $currentRule.growth = {boobs: 9000, butt: 10, lips: 45, dick: 6, balls: 6}>> - <<set $currentRule.autoBrand = 1>> - <<set $currentRule.assignment = []>> - <<set $currentRule.excludeAssignment = []>> - <<set $currentRule.setAssignment = "no default setting">> - <<set $currentRule.facility = []>> - <<set $currentRule.excludeFacility = []>> - <<set $currentRule.excludeSpecialSlaves = true>> - <<set $currentRule.facilityRemove = false>> - <<set $currentRule.removalAssignment = "rest">> - <<set $currentRule.selectedSlaves = []>> - <<set $currentRule.excludedSlaves = []>> - <<set $currentRule.teeth = "straighten">> - <<set $currentRule.autosurgery = 1>> - <<set $currentRule.surgery.lactation = "no default setting">> - <<set $currentRule.surgery.prostate = "no default setting">> - <<set $currentRule.surgery.cosmetic = 1>> - <<set $currentRule.surgery.accent = 0>> - <<set $currentRule.surgery.shoulders = 0>> - <<set $currentRule.surgery.shouldersImplant = 0>> - <<set $currentRule.surgery.boobs = 0>> - <<set $currentRule.surgery.hips = 0>> - <<set $currentRule.surgery.hipsImplant = 0>> - <<set $currentRule.surgery.butt = 0>> - <<set $currentRule.surgery.faceShape = "normal">> - <<set $currentRule.surgery.lips = 0>> - <<set $currentRule.surgery.holes = 0>> - <<set $currentRule.pregSpeed = "no default setting">> - - <<elseif ($currentRule.ID == 2)>> - <<set $currentRule.name = "Disobedient Slaves">> - <<set $currentRule.condition = {id: "<=", first: {id: "(name)", name: "devotion"}, second: {id: "(number)", value: 20}}>> - <<set $currentRule.clothes = "uncomfortable straps">> - <<set $currentRule.collar = "uncomfortable leather">> - <<set $currentRule.shoes = "heels">> - <<set $currentRule.vaginalAccessory = "no default setting">> - <<set $currentRule.virginAccessory = "no default setting">> - <<set $currentRule.aVirginAccessory = "no default setting">> - <<set $currentRule.dickAccessory = "no default setting">> - <<set $currentRule.aVirginDickAccessory = "no default setting">> - <<set $currentRule.bellyAccessory = "no default setting">> - <<set $currentRule.aVirginButtplug = "no default setting">> - <<set $currentRule.buttplug = "no default setting">> - <<set $currentRule.eyes = "no default setting">> - <<set $currentRule.makeup = 1>> <<set $currentRule.nails = 1>> - <<set $currentRule.hColor = "no default setting">> - <<set $currentRule.hStyle = "neat">> - <<set $currentRule.pubicHColor = "no default setting">> - <<set $currentRule.pubicHStyle = "waxed">> - <<set $currentRule.underArmHColor = "no default setting">> - <<set $currentRule.underArmHStyle = "waxed">> - <<set $currentRule.drug = "no default setting">> - <<set $currentRule.earPiercing = 0>> - <<set $currentRule.nosePiercing = 0>> - <<set $currentRule.eyebrowPiercing = 0>> - <<set $currentRule.navelPiercing = 0>> - <<set $currentRule.nipplesPiercing = 0>> - <<set $currentRule.lipsPiercing = 0>> - <<set $currentRule.tonguePiercing = 0>> - <<set $currentRule.clitPiercing = 3>> - <<set $currentRule.vaginaPiercing = 0>> - <<set $currentRule.dickPiercing = 0>> - <<set $currentRule.anusPiercing = 0>> - <<set $currentRule.anusTat = "no default setting">> - <<set $currentRule.curatives = "no default setting">> - <<set $currentRule.preg = -1>> - <<set $currentRule.XX = 2>> - <<set $currentRule.XY = 2>> - <<set $currentRule.gelding = 2>> - <<set $currentRule.diet = 30>> - <<set $currentRule.dietGrowthSupport = 1>> - <<set $currentRule.muscles = 20>> - <<set $currentRule.releaseRules = "restrictive">> - <<set $currentRule.standardPunishment = "whipping">> - <<set $currentRule.standardReward = "orgasm">> - <<set $currentRule.clitSetting = "anal", $currentRule.clitSettingXY = 100, $currentRule.clitSettingXX = 100, $currentRule.clitSettingEnergy = 100>> - <<set $currentRule.speechRules = "restrictive">> - <<set $currentRule.relationshipRules = "restrictive">> - <<set $currentRule.livingRules = "spare">> - <<set $currentRule.autoSurgery = 0>> - <<set $currentRule.growth = {boobs: 9000, butt: 10, lips: 45, dick: 6, balls: 6}>> - <<set $currentRule.autoBrand = 1>> - <<set $currentRule.assignment = []>> - <<set $currentRule.excludeAssignment = []>> - <<set $currentRule.setAssignment = "no default setting">> - <<set $currentRule.facility = []>> - <<set $currentRule.excludeFacility = []>> - <<set $currentRule.excludeSpecialSlaves = true>> - <<set $currentRule.facilityRemove = false>> - <<set $currentRule.removalAssignment = "rest">> - <<set $currentRule.selectedSlaves = []>> - <<set $currentRule.excludedSlaves = []>> - <<set $currentRule.surgery.lactation = "no default setting">> - <<set $currentRule.surgery.prostate = "no default setting">> - <<set $currentRule.surgery.cosmetic = 0>> - <<set $currentRule.surgery.accent = 0>> - <<set $currentRule.surgery.shoulders = 0>> - <<set $currentRule.surgery.shouldersImplant = 0>> - <<set $currentRule.surgery.boobs = "no default setting">> - <<set $currentRule.surgery.hips = 0>> - <<set $currentRule.surgery.hipsImplant = 0>> - <<set $currentRule.surgery.butt = "no default setting">> - <<set $currentRule.surgery.faceShape = "no default setting">> - <<set $currentRule.surgery.lips = "no default setting">> - <<set $currentRule.surgery.holes = 0>> - <<set $currentRule.pregSpeed = "no default setting">> - - <<elseif ($currentRule.ID == 3)>> - <<set $currentRule.name = "Unhealthy Slaves">> - <<set $currentRule.condition = {id: "<", first: {id: "(name)", name: "health"}, second: {id: "(number)", value: -2}}>> - <<set $currentRule.clothes = "no default setting">> - <<set $currentRule.collar = "no default setting">> - <<set $currentRule.shoes = "no default setting">> - <<set $currentRule.vaginalAccessory = "no default setting">> - <<set $currentRule.virginAccessory = "no default setting">> - <<set $currentRule.aVirginAccessory = "no default setting">> - <<set $currentRule.dickAccessory = "no default setting">> - <<set $currentRule.aVirginDickAccessory = "no default setting">> - <<set $currentRule.bellyAccessory = "no default setting">> - <<set $currentRule.aVirginButtplug = "no default setting">> - <<set $currentRule.buttplug = "no default setting">> - <<set $currentRule.eyes = "no default setting">> - <<set $currentRule.makeup = "no default setting">> - <<set $currentRule.nails = "no default setting">> - <<set $currentRule.hColor = "no default setting">> - <<set $currentRule.hStyle = "no default setting">> - <<set $currentRule.pubicHColor = "no default setting">> - <<set $currentRule.pubicHStyle = "no default setting">> - <<set $currentRule.underArmHColor = "no default setting">> - <<set $currentRule.underArmHStyle = "no default setting">> - <<set $currentRule.drug = "no default setting">> - <<set $currentRule.earPiercing = "no default setting">> - <<set $currentRule.nosePiercing = "no default setting">> - <<set $currentRule.eyebrowPiercing = "no default setting">> - <<set $currentRule.navelPiercing = "no default setting">> - <<set $currentRule.nipplesPiercing = "no default setting">> - <<set $currentRule.lipsPiercing = "no default setting">> - <<set $currentRule.tonguePiercing = "no default setting">> - <<set $currentRule.clitPiercing = "no default setting">> - <<set $currentRule.vaginaPiercing = "no default setting">> - <<set $currentRule.dickPiercing = "no default setting">> - <<set $currentRule.anusPiercing = "no default setting">> - <<set $currentRule.anusTat = "no default setting">> - <<set $currentRule.curatives = "applied">> - <<set $currentRule.preg = "no default setting">> - <<set $currentRule.XX = "no default setting">> - <<set $currentRule.XY = "no default setting">> - <<set $currentRule.gelding = "no default setting">> - <<set $currentRule.diet = "no default setting">> - <<set $currentRule.muscles = "no default setting">> - <<set $currentRule.releaseRules = "no default setting">> - <<set $currentRule.standardPunishment = "no default setting">> - <<set $currentRule.standardReward = "no default setting">> - <<set $currentRule.clitSetting = "no default setting", $currentRule.clitSettingXY = "no default setting", $currentRule.clitSettingXX = "no default setting", $currentRule.clitSettingEnergy = "no default setting">> - <<set $currentRule.speechRules = "no default setting">> - <<set $currentRule.relationshipRules = "no default setting">> - <<set $currentRule.livingRules = "no default setting">> - <<set $currentRule.growth = {boobs: 9000, butt: 10, lips: 45, dick: 6, balls: 6}>> - <<set $currentRule.autoBrand = "no default setting">> - <<set $currentRule.assignment = []>> - <<set $currentRule.excludeAssignment = []>> - <<set $currentRule.setAssignment = "no default setting">> - <<set $currentRule.facility = []>> - <<set $currentRule.excludeFacility = []>> - <<set $currentRule.excludeSpecialSlaves = true>> - <<set $currentRule.facilityRemove = false>> - <<set $currentRule.removalAssignment = "rest">> - <<set $currentRule.selectedSlaves = []>> - <<set $currentRule.excludedSlaves = []>> - <<set $currentRule.surgery.lactation = "no default setting">> - <<set $currentRule.surgery.prostate = "no default setting">> - <<set $currentRule.surgery.cosmetic = 0>> - <<set $currentRule.surgery.accent = 0>> - <<set $currentRule.surgery.shoulders = 0>> - <<set $currentRule.surgery.shouldersImplant = 0>> - <<set $currentRule.surgery.boobs = "no default setting">> - <<set $currentRule.surgery.hips = 0>> - <<set $currentRule.surgery.hipsImplant = 0>> - <<set $currentRule.surgery.butt = "no default setting">> - <<set $currentRule.surgery.faceShape = "no default setting">> - <<set $currentRule.surgery.lips = "no default setting">> - <<set $currentRule.surgery.holes = 0>> - <<set $currentRule.pregSpeed = "no default setting">> - <</if>> - - <<set $defaultRules[$r-1] = $currentRule>> - <<goto "Rules Assistant">> -<</link>> -<</if>> -| -<span class="saveresult"></span> - <<timed 50ms>> - <<RAChangeSave>> -<</timed>> -| -<<link "Remove rule '$currentRule.name'">> - <<set $defaultRules.deleteAt($r-1)>> - <<for $r = $defaultRules.length; $r > 0; $r-->> - <<if def $defaultRules[$r-1]>> - <<set $currentRule = $defaultRules[$r-1]>> - <<break>> - <</if>> - <</for>> - <<goto "Rules Assistant">> - <</link>> -<</if>> - -<br><br> - -<<if _length > 0>> - <span id="applyresult"></span> - <span id="applied"></span> - <<timed 50ms>> - <<RAChangeApply>> - <</timed>> - - <br><br> - - [[Export this rule|Export Rule]] | - - [[Export all rules|Export All Rules]] | -<</if>> - -[[Import a rule|Import Rule]] -*/ +<<run html5passage(rulesAssistantOptions)<</run>> diff --git a/src/utility/raWidgets.tw b/src/utility/raWidgets.tw index fc045cc0e36ea5932913e8c1a519e659f373846d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/src/utility/raWidgets.tw +++ b/src/utility/raWidgets.tw @@ -1,2895 +0,0 @@ -:: RA widgets [widget nobr] - -/% - % Call as <<RAChangeActivation>> - %/ -<<widget "RAChangeActivation">> -<<replace #activation>> - - <<if ($currentRule.condition.id === "true")>> - (always): <br> ''always.'' - - <<elseif ($currentRule.condition.id === "false")>> - (never): <br> ''never'' - - <<else>> - <<set _activation = getVariable($currentRule.condition)>> - - (_activation): <br> - - <<switch $currentRule.condition.id>> - <<case "<">> - When ''_activation'' is ''less than'' - <<textbox "$currentRule.condition.second.value" $currentRule.condition.second.value>> - <<case "<=">> - When ''_activation'' is - <<textbox "$currentRule.condition.second.value" $currentRule.condition.second.value>> ''or less'' - - <<case ">" ">=">> - (no upper limit) - - <<case "&&" "||">> - <<if $currentRule.condition.first.id == "<">> - When ''_activation'' is ''less than'' - <<textbox "$currentRule.condition.first.second.value" $currentRule.condition.first.second.value>> - <<else>> - When ''_activation'' is - <<textbox "$currentRule.condition.first.second.value" $currentRule.condition.first.second.value>> ''or less'' - <</if>> - <</switch>> - - <<link "<">> - <<set $currentRule.condition = changeComparison($currentRule.condition, "<")>> - <<RAChangeActivation>> - <</link>> - | - <<link "≤">> - <<set $currentRule.condition = changeComparison($currentRule.condition, "<=")>> - <<RAChangeActivation>> - <</link>> - | - <<link "no upper limit">> - <<set $currentRule.condition = removeComparison($currentRule.condition, "upper")>> - <<RAChangeActivation>> - <</link>> - - <br> - <<switch $currentRule.condition.id>> - <<case "<" "<=" ">" ">=">> - and - <<case "&&">> - ''and'' - | - <<link "or">> - <<set $currentRule.condition = changeConnective($currentRule.condition, "||")>> - <<RAChangeActivation>> - <</link>> - <<case "||">> - <<link "and">> - <<set $currentRule.condition = changeConnective($currentRule.condition, "&&")>> - <<RAChangeActivation>> - <</link>> - | - ''or'' - <</switch>> - <br> - - <<switch $currentRule.condition.id>> - <<case "<" "<=">> - (no lower limit) - - <<case ">">> - When ''_activation'' is ''more than'' - <<textbox "$currentRule.condition.second.value" $currentRule.condition.second.value>> - <<case ">=">> - When ''_activation'' is - <<textbox "$currentRule.condition.second.value" $currentRule.condition.second.value>> ''or more'' - - <<case "&&" "||">> - <<if ($currentRule.condition.second.id == ">")>> - When ''_activation'' is ''more than'' - <<textbox "$currentRule.condition.second.second.value" $currentRule.condition.second.second.value>> - <<else>> - When ''_activation'' is - <<textbox "$currentRule.condition.second.second.value" $currentRule.condition.second.second.value>> ''or more'' - <</if>> - <</switch>> - - <<link ">">> - <<set $currentRule.condition = changeComparison($currentRule.condition, ">")>> - <<RAChangeActivation>> - <</link>> - | - <<link "≥">> - <<set $currentRule.condition = changeComparison($currentRule.condition, ">=")>> - <<RAChangeActivation>> - <</link>> - | - <<link "no lower limit">> - <<set $currentRule.condition = removeComparison($currentRule.condition, "lower")>> - <<RAChangeActivation>> - <</link>> - - <<switch _activation>> - <<case "devotion">> - <br>@@.darkviolet;Very hateful@@: under -95, @@.darkviolet;Hateful@@: -95 to under -50, @@.mediumorchid;Resistant@@: -50 to under -20, @@.yellow;Ambivalent@@: -20 to 20, @@.hotpink;Accepting@@: over 20 to 50, @@.deeppink;Devoted@@: over 50 to 95, @@.magenta;Worshipful@@: over 95 - <<case "trust">> - <br>@@.goldenrod;Extremely terrified@@: under -95, @@.goldenrod;Terrified@@: -95 to under -50, @@.gold;Frightened@@: -50 to under -20, - <br>@@.yellow;Fearful@@: -20 to 20, @@.mediumaquamarine;Careful@@: over 40 to 50, @@.mediumseagreen;Trusting@@: 50 to 95, @@.seagreen;Total trust@@: over 95 - <<case "health">> - <br>@@.red;Death@@: under -100, @@.red;Near death@@: -100 to less than -90, @@.red;Extremely unhealthy@@: -90 to less than -50, @@.red;Unhealthy@@: -50 to less than -20 - <br>@@.green;Healthy@@: -20 to 20, @@.green;Very healthy@@: 20 to 50, @@.green;Extremely healthy@@: over 50 to 90, @@.green;Unnaturally healthy@@: over 90 - <<case "sex drive">> - <br>@@.red;Frigid@@: 20 or under, @@.red;Poor@@: 21 to 40, @@.yellow;Average@@: 41 to 60, @@.green;Powerful@@: 61 to 80, @@.green;Sex addict@@: 81 to 99, @@.green;Nympho@@: 100 - <<case "weight">> - <br>@@.red;Emaciated@@: under -95, @@.red;Skinny@@: -95 to less than -30, - <br>Thin: -30 to less than -10, Average weight: -10 to 10, Plush: over 10 to 30, - <br>@@.red;Fat@@: over 30 to 95, @@.red;Overweight@@: over 95 - <<case "lactation">> - <br>// 0 - none, 1 - natural, 2 - lactation implant. // - <<case "preg">> - <br>// >1 - pregnancy week(s), 0 - not pregnant, -1 - on contraceptives, -2 - barren. // - <<case "pregType">> - <br>// Fetus count, rule can be applied only after week 10 of pregnancy. // - <<case "bellyImplant">> - <br>// Volume of belly implant in ccs. -1 - none. // - <<case "belly">> - <br>// Volume of belly in ccs. Any source. // - <<case "custom">> - <br>// Enter custom condition. // - <</switch>> - <</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RACommonAssignmentVariables>> - %/ -<<widget "RACommonAssignmentVariables">> - <<set _penthouseAssignments = [ - "rest", - "whore", - "please you", - "get milked", - "be a servant", - "take classes", - "stay confined", - "serve the public", - "work a glory hore", - "be a subordinate slave" - ]>> - - <<set _facilityAssignments = [ - "rest in the spa", - "serve in the club", - "work as a servant", - "work in the dairy", - "work in the brothel", - "learn in the schoolroom", - "live with your Head Girl", - "be confined in the arcade", - "serve in the master suite", - "get treatment in the clinic", - "be confined in the cellblock" - ]>> -<</widget>> - -/% - % Call as <<RANormalizeAssignments>> - %/ -<<widget "RANormalizeAssignments">> -<<RACommonAssignmentVariables>> - -<<switch $args[0]>> -<<case "assignment">> - <<if $currentRule.assignment.length > 0>> - <<set $currentRule.excludeAssignment = []>> - <<set $currentRule.facilityRemove = false>> - <<RAChangeAssignFacility>> - <</if>> - /% RAChangeExcludeAssignment is also responsible for the case that both - % assignment and excludeAssignment are empty (it sets some colors and - % stuff) so we always need to call it. - %/ - <<RAChangeExcludeAssignment>> - <<RAChangeApplyAssignment>> - <<RARuleModified>> - -<<case "excludeAssignment">> - <<if $currentRule.excludeAssignment.length > 0>> - <<set $currentRule.assignment = []>> - <<RAChangeApplyAssignment>> - <</if>> - <<RAChangeExcludeAssignment>> - <<RARuleModified>> - -<<case "facility">> - <<if $currentRule.facility.length > 0>> - <<set $currentRule.excludeFacility = []>> - <<if !$currentRule.facility.includes($currentRule.setAssignment)>> - <<set $currentRule.facilityRemove = false>> - <<RAChangeAssignFacility>> - <</if>> - <</if>> - /% same as above with RAChangeExcludeAssignment %/ - <<RAChangeExcludeFacility>> - <<RAChangeApplyFacility>> - <<RARuleModified>> - -<<case "excludeFacility">> - <<if $currentRule.excludeFacility.length > 0>> - <<set $currentRule.facility = []>> - <<if $currentRule.excludeFacility.includes($currentRule.setAssignment)>> - <<set $currentRule.facilityRemove = false>> - <<RAChangeAssignFacility>> - <</if>> - <<RAChangeApplyFacility>> - <</if>> - <<RAChangeExcludeFacility>> - <<RARuleModified>> - -<<case "setAssignment">> - <<if _facilityAssignments.includes($currentRule.setAssignment) && $currentRule.facilityRemove>> - /% If a rule sends a slave to a facility that it does not - % manage (due to exclusion or inclusion settings) and - % facilityRemove is turned on, then the slave would be sent to - % the facility, the rule would not apply anymore and so she - % would be removed from the facility. So we try to prevent - % that. - %/ - <<if $currentRule.excludeFacility.includes($currentRule.setAssignment)>> - <<set $currentRule.excludeFacility.delete($currentRule.setAssignment)>> - <<RAChangeExcludeFacility>> - <</if>> - <<if $currentRule.facility.length > 0 && !$currentRule.facility.includes($currentRule.setAssignment)>> - <<set $currentRule.facility.push($currentRule.setAssignment)>> - <<RAChangeApplyFacility>> - <</if>> - <<else>> - /% facilityRemove would have no effect when the assignment is not in a - % facility, but we reset anyway to prevent potential surprises to the - % user later - %/ - <<set $currentRule.facilityRemove = false>> - <</if>> - <<RAChangeSetAssignment>> - <<RAChangeAssignFacility>> - <<RARuleModified>> - -<<case "facilityRemove">> - <<if $currentRule.facilityRemove>> - /% If facilityRemove is true that means that it was just set - % which means that setAssignment is a facility (because otherwise - % the UI that enables facilityRemove wouldn't be visible) - %/ - <<set $currentRule.assignment = []>> - <<set $currentRule.excludeFacility.delete($currentRule.setAssignment)>> - <<if $currentRule.facility.length > 0>> - <<set $currentRule.facility.push($currentRule.setAssignment)>> - <<RAChangeApplyFacility>> - <</if>> - /% again the thing with the RAChangeExcludeAssignment %/ - <<RAChangeExcludeAssignment>> - <<RAChangeApplyAssignment>> - <<RAChangeExcludeFacility>> - <<else>> - /% nothing to do here really... %/ - <</if>> - <<RAChangeAssignFacility>> - <<RARuleModified>> - -<</switch>> -<</widget>> - -/% - % Call as <<RAChangeApplyAssignment>> - %/ -<<widget "RAChangeApplyAssignment">> -<<if (ndef $currentRule.assignment)>><<set $currentRule.assignment = []>><</if>> -<<if (ndef $currentRule.excludeAssignment)>><<set $currentRule.excludeAssignment = []>><</if>> - -<<set _rest = _whore = _fucktoy = _milked = _servant = _classes = _confined = _public = _gloryhole = _subordinate = false>> -<<for _a = 0; _a < $currentRule.assignment.length; _a++>> - <<switch $currentRule.assignment[_a]>> - <<case "rest">> <<set _rest = true>> - <<case "whore">> <<set _whore = true>> - <<case "please you">> <<set _fucktoy = true>> - <<case "get milked">> <<set _milked = true>> - <<case "be a servant">> <<set _servant = true>> - <<case "take classes">> <<set _classes = true>> - <<case "stay confined">> <<set _confined = true>> - <<case "serve the public">> <<set _public = true>> - <<case "work a glory hole">> <<set _gloryhole = true>> - <<case "be a subordinate slave">> <<set _subordinate = true>> - <</switch>> -<</for>> - -<<replace #applyassignment>> -<<if _rest || _fucktoy || _servant || _confined || _whore || _public || _milked || _subordinate || _gloryhole || _classes>> - Apply to assignments: - <<link "All">> - <<set $currentRule.assignment = []>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - @@.gray;Apply to assignments:@@ ''All'' -<</if>> -| -<<if !_rest>> - <<link "Rest">> - <<set $currentRule.assignment.push("rest")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Rest'' - <<link Stop>> - <<set $currentRule.assignment.delete("rest")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_fucktoy>> - <<link "Fucktoy">> - <<set $currentRule.assignment.push("please you")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Fucktoy'' - <<link Stop>> - <<set $currentRule.assignment.delete("please you")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_subordinate>> - <<link "Subordinate Slave">> - <<set $currentRule.assignment.push("be a subordinate slave")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Subordinate Slave'' - <<link Stop>> - <<set $currentRule.assignment.delete("be a subordinate slave")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_servant>> - <<link "House Servant">> - <<set $currentRule.assignment.push("be a servant")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''House Servant'' - <<link Stop>> - <<set $currentRule.assignment.delete("be a servant")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_confined>> - <<link "Confined">> - <<set $currentRule.assignment.push("stay confined")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Confined'' - <<link Stop>> - <<set $currentRule.assignment.delete("stay confined")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_whore>> - <<link "Whore">> - <<set $currentRule.assignment.push("whore")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Whore'' - <<link Stop>> - <<set $currentRule.assignment.delete("whore")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_public>> - <<link "Public Servant">> - <<set $currentRule.assignment.push("serve the public")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Public Servant'' - <<link Stop>> - <<set $currentRule.assignment.delete("serve the public")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_classes>> - <<link "Classes">> - <<set $currentRule.assignment.push("take classes")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Classes'' - <<link Stop>> - <<set $currentRule.assignment.delete("take classes")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_milked>> - <<link "Milked">> - <<set $currentRule.assignment.push("get milked")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Milking'' - <<link Stop>> - <<set $currentRule.assignment.delete("get milked")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -| -<<if !_gloryhole>> - <<link "Gloryhole">> - <<set $currentRule.assignment.push("work a glory hole")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<<else>> - ''Gloryhole'' - <<link Stop>> - <<set $currentRule.assignment.delete("work a glory hole")>> - <<RANormalizeAssignments "assignment">> - <</link>> -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeExcludeAssignment>> - %/ -<<widget "RAChangeExcludeAssignment">> -<<if (ndef $currentRule.assignment)>><<set $currentRule.assignment = []>><</if>> -<<if (ndef $currentRule.excludeAssignment)>><<set $currentRule.excludeAssignment = []>><</if>> - -<<set _rest = _whore = _fucktoy = _milked = _servant = _classes = _confined = _public = _gloryhole = _subordinate = false>> -<<for _a = 0; _a < $currentRule.excludeAssignment.length; _a++>> - <<switch $currentRule.excludeAssignment[_a]>> - <<case "rest">> <<set _rest = true>> - <<case "whore">> <<set _whore = true>> - <<case "please you">> <<set _fucktoy = true>> - <<case "get milked">> <<set _milked = true>> - <<case "be a servant">> <<set _servant = true>> - <<case "take classes">> <<set _classes = true>> - <<case "stay confined">> <<set _confined = true>> - <<case "serve the public">> <<set _public = true>> - <<case "work a glory hole">> <<set _gloryhole = true>> - <<case "be a subordinate slave">> <<set _subordinate = true>> - <</switch>> -<</for>> - -<<replace #excludeassignment>> -<<if _rest || _fucktoy || _servant || _confined || _whore || _public || _milked || _subordinate || _gloryhole || _classes>> - Include all assignments except: - <<link "None">> - <<set $currentRule.excludeAssignment = []>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<elseif ($currentRule.assignment.length > 0)>> - @@.gray;Exclude assignments:@@ ''None'' -<<else>> - Excluded assignments: ''None'' -<</if>> -| -<<if !_rest>> - <<link "Rest">> - <<set $currentRule.excludeAssignment.push("rest")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Rest'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("rest")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_fucktoy>> - <<link "Fucktoy">> - <<set $currentRule.excludeAssignment.push("please you")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Fucktoy'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("please you")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_subordinate>> - <<link "Subordinate Slave">> - <<set $currentRule.excludeAssignment.push("be a subordinate slave")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Subordinate Slave'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("be a subordinate slave")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_servant>> - <<link "House Servant">> - <<set $currentRule.excludeAssignment.push("be a servant")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''House Servant'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("be a servant")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_confined>> - <<link "Confined">> - <<set $currentRule.excludeAssignment.push("stay confined")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Confined'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("stay confined")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_whore>> - <<link "Whore">> - <<set $currentRule.excludeAssignment.push("whore")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Whore'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("whore")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_public>> - <<link "Public Servant">> - <<set $currentRule.excludeAssignment.push("serve the public")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Public Servant'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("serve the public")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_classes>> - <<link "Classes">> - <<set $currentRule.excludeAssignment.push("take classes")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Classes'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("take classes")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_milked>> - <<link "Milked">> - <<set $currentRule.excludeAssignment.push("get milked")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Milking'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("get milked")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<if !_gloryhole>> - <<link "Gloryhole">> - <<set $currentRule.excludeAssignment.push("work a glory hole")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<<else>> - ''Gloryhole'' - <<link Stop>> - <<set $currentRule.excludeAssignment.delete("work a glory hole")>> - <<RANormalizeAssignments "excludeAssignment">> - <</link>> -<</if>> -| -<<link "Exclude all">> - <<set $currentRule.excludeAssignment.push("work a glory hole")>> - <<set $currentRule.excludeAssignment.push("get milked")>> - <<set $currentRule.excludeAssignment.push("take classes")>> - <<set $currentRule.excludeAssignment.push("serve the public")>> - <<set $currentRule.excludeAssignment.push("whore")>> - <<set $currentRule.excludeAssignment.push("stay confined")>> - <<set $currentRule.excludeAssignment.push("be a servant")>> - <<set $currentRule.excludeAssignment.push("be a subordinate slave")>> - <<set $currentRule.excludeAssignment.push("please you")>> - <<set $currentRule.excludeAssignment.push("rest")>> - <<RANormalizeAssignments "excludeAssignment">> -<</link>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeApplyFacility>> - %/ -<<widget "RAChangeApplyFacility">> -<<if (ndef $currentRule.facility)>><<set $currentRule.facility = []>><</if>> -<<if (ndef $currentRule.excludeFacility)>><<set $currentRule.excludeFacility = []>><</if>> - -<<replace #applyfacility>> -<<if ($HGSuite > 0) || ($brothel > 0) || ($club > 0) || ($arcade > 0) || ($dairy > 0) || ($servantsQuarters > 0) || ($masterSuite > 0) || ($schoolroom > 0) || ($spa > 0) || ($clinic > 0) || ($cellblock > 0)>> -<br><br> -<<if ($currentRule.facility.length > 0)>> - Apply to facilities: - <<link "All">> - <<set $currentRule.facility = []>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - @@.gray;Apply to facilities:@@ ''All'' -<</if>> -<<if ($HGSuite > 0)>> -| -<<if !$currentRule.facility.includes("live with your Head Girl")>> - <<link $HGSuiteNameCaps>> - <<set $currentRule.facility.push("live with your Head Girl")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$HGSuiteNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("live with your Head Girl")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($brothel > 0)>> -| -<<if !$currentRule.facility.includes("work in the brothel")>> - <<link $brothelNameCaps>> - <<set $currentRule.facility.push("work in the brothel")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$brothelNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("work in the brothel")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($club > 0)>> -| -<<if !$currentRule.facility.includes("serve in the club")>> - <<link $clubNameCaps>> - <<set $currentRule.facility.push("serve in the club")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$clubNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("serve in the club")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($arcade > 0)>> -| -<<if !$currentRule.facility.includes("be confined in the arcade")>> - <<link $arcadeNameCaps>> - <<set $currentRule.facility.push("be confined in the arcade")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$arcadeNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("be confined in the arcade")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($dairy > 0)>> -| -<<if !$currentRule.facility.includes("work in the dairy")>> - <<link $dairyNameCaps>> - <<set $currentRule.facility.push("work in the dairy")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$dairyNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("work in the dairy")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($servantsQuarters > 0)>> -| -<<if !$currentRule.facility.includes("work as a servant")>> - <<link $servantsQuartersNameCaps>> - <<set $currentRule.facility.push("work as a servant")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$servantsQuartersNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("work as a servant")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($masterSuite > 0)>> -| -<<if !$currentRule.facility.includes("serve in the master suite")>> - <<link $masterSuiteNameCaps>> - <<set $currentRule.facility.push("serve in the master suite")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$masterSuiteNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("serve in the master suite")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($schoolroom > 0)>> -| -<<if !$currentRule.facility.includes("learn in the schoolroom")>> - <<link $schoolroomNameCaps>> - <<set $currentRule.facility.push("learn in the schoolroom")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$schoolroomNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("learn in the schoolroom")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($spa > 0)>> -| -<<if !$currentRule.facility.includes("rest in the spa")>> - <<link $spaNameCaps>> - <<set $currentRule.facility.push("rest in the spa")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$spaNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("rest in the spa")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($clinic > 0)>> -| -<<if !$currentRule.facility.includes("get treatment in the clinic")>> - <<link $clinicNameCaps>> - <<set $currentRule.facility.push("get treatment in the clinic")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$clinicNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("get treatment in the clinic")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<<if ($cellblock > 0)>> -| -<<if !$currentRule.facility.includes("be confined in the cellblock")>> - <<link $cellblockNameCaps>> - <<set $currentRule.facility.push("be confined in the cellblock")>> - <<RANormalizeAssignments "facility">> - <</link>> -<<else>> - ''$cellblockNameCaps'' - <<link Stop>> - <<set $currentRule.facility.delete("be confined in the cellblock")>> - <<RANormalizeAssignments "facility">> - <</link>> -<</if>> -<</if>> -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeExcludeFacility>> - %/ -<<widget "RAChangeExcludeFacility">> -<<if (ndef $currentRule.facility)>><<set $currentRule.facility = []>><</if>> -<<if (ndef $currentRule.excludeFacility)>><<set $currentRule.excludeFacility = []>><</if>> - -<<replace #excludefacility>> -<<if ($HGSuite > 0) || ($brothel > 0) || ($club > 0) || ($arcade > 0) || ($dairy > 0) || ($servantsQuarters > 0) || ($masterSuite > 0) || ($schoolroom > 0) || ($spa > 0) || ($clinic > 0) || ($cellblock > 0)>> -<br> -<<if ($currentRule.excludeFacility.length > 0)>> - Applying to all facilities except: - <<link "None">> - <<set $currentRule.excludeFacility = []>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<elseif ($currentRule.facility.length > 0)>> - @@.gray;Exclude facilities:@@ ''None'' -<<else>> - Excluded facilities: ''None'' -<</if>> -<<if ($HGSuite > 0)>> -| -<<if !$currentRule.excludeFacility.includes("live with your Head Girl")>> - <<link $HGSuiteNameCaps>> - <<set $currentRule.excludeFacility.push("live with your Head Girl")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$HGSuiteNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("live with your Head Girl")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($brothel > 0)>> -| -<<if !$currentRule.excludeFacility.includes("work in the brothel")>> - <<link $brothelNameCaps>> - <<set $currentRule.excludeFacility.push("work in the brothel")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$brothelNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("work in the brothel")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($club > 0)>> -| -<<if !$currentRule.excludeFacility.includes("serve in the club")>> - <<link $clubNameCaps>> - <<set $currentRule.excludeFacility.push("serve in the club")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$clubNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("serve in the club")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($arcade > 0)>> -| -<<if !$currentRule.excludeFacility.includes("be confined in the arcade")>> - <<link $arcadeNameCaps>> - <<set $currentRule.excludeFacility.push("be confined in the arcade")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$arcadeNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("be confined in the arcade")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($dairy > 0)>> -| -<<if !$currentRule.excludeFacility.includes("work in the dairy")>> - <<link $dairyNameCaps>> - <<set $currentRule.excludeFacility.push("work in the dairy")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$dairyNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("work in the dairy")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($servantsQuarters > 0)>> -| -<<if !$currentRule.excludeFacility.includes("work as a servant")>> - <<link $servantsQuartersNameCaps>> - <<set $currentRule.excludeFacility.push("work as a servant")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$servantsQuartersNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("work as a servant")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($masterSuite > 0)>> -| -<<if !$currentRule.excludeFacility.includes("serve in the master suite")>> - <<link $masterSuiteNameCaps>> - <<set $currentRule.excludeFacility.push("serve in the master suite")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$masterSuiteNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("serve in the master suite")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($schoolroom > 0)>> -| -<<if !$currentRule.excludeFacility.includes("learn in the schoolroom")>> - <<link $schoolroomNameCaps>> - <<set $currentRule.excludeFacility.push("learn in the schoolroom")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$schoolroomNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("learn in the schoolroom")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($spa > 0)>> -| -<<if !$currentRule.excludeFacility.includes("rest in the spa")>> - <<link $spaNameCaps>> - <<set $currentRule.excludeFacility.push("rest in the spa")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$spaNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("rest in the spa")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($clinic > 0)>> -| -<<if !$currentRule.excludeFacility.includes("get treatment in the clinic")>> - <<link $clinicNameCaps>> - <<set $currentRule.excludeFacility.push("get treatment in the clinic")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$clinicNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("get treatment in the clinic")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -<<if ($cellblock > 0)>> -| -<<if !$currentRule.excludeFacility.includes("be confined in the cellblock")>> - <<link $cellblockNameCaps>> - <<set $currentRule.excludeFacility.push("be confined in the cellblock")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<<else>> - ''$cellblockNameCaps'' - <<link Stop>> - <<set $currentRule.excludeFacility.delete("be confined in the cellblock")>> - <<RANormalizeAssignments "excludeFacility">> - <</link>> -<</if>> -<</if>> -| -<<link "Exclude all">> - <<set $currentRule.excludeFacility.push("be confined in the cellblock")>> - <<set $currentRule.excludeFacility.push("get treatment in the clinic")>> - <<set $currentRule.excludeFacility.push("rest in the spa")>> - <<set $currentRule.excludeFacility.push("learn in the schoolroom")>> - <<set $currentRule.excludeFacility.push("serve in the master suite")>> - <<set $currentRule.excludeFacility.push("work as a servant")>> - <<set $currentRule.excludeFacility.push("work in the dairy")>> - <<set $currentRule.excludeFacility.push("be confined in the arcade")>> - <<set $currentRule.excludeFacility.push("serve in the club")>> - <<set $currentRule.excludeFacility.push("work in the brothel")>> - <<set $currentRule.excludeFacility.push("live with your Head Girl")>> - <<RANormalizeAssignments "excludeFacility">> -<</link>> -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeSetAssignment>> - %/ -<<widget "RAChangeSetAssignment">> -<<RACommonAssignmentVariables>> - -<<if (ndef $currentRule.assignment)>><<set $currentRule.assignment = []>><</if>> -<<if (ndef $currentRule.excludeAssignment)>><<set $currentRule.excludeAssignment = []>><</if>> - -<<replace #setassignment>> -<br><br> -<<if _penthouseAssignments.includes($currentRule.setAssignment)>> - Automatically set assignment: - <<link "None">> - <<set $currentRule.setAssignment = "no default setting">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - @@.gray;Automatically set assignment:@@ ''None'' -<</if>> -| -<<if ($currentRule.setAssignment != "rest")>> - <<link "Rest">> - <<set $currentRule.setAssignment = "rest">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Rest'' -<</if>> -| -<<if ($currentRule.setAssignment != "please you")>> - <<link "Fucktoy">> - <<set $currentRule.setAssignment = "please you">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Fucktoy'' -<</if>> -| -<<if ($currentRule.setAssignment != "be a servant")>> - <<link "House Servant">> - <<set $currentRule.setAssignment = "be a servant">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''House Servant'' -<</if>> -| -<<if ($currentRule.setAssignment != "stay confined")>> - <<link "Confined">> - <<set $currentRule.setAssignment = "stay confined">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Confined'' -<</if>> -| -<<if ($currentRule.setAssignment != "whore")>> - <<link "Whore">> - <<set $currentRule.setAssignment = "whore">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Whore'' -<</if>> -| -<<if ($currentRule.setAssignment != "serve the public")>> - <<link "Public Servant">> - <<set $currentRule.setAssignment = "serve the public">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Public Servant'' -<</if>> -| -<<if ($currentRule.setAssignment != "take classes")>> - <<link "Classes">> - <<set $currentRule.setAssignment = "take classes">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Classes'' -<</if>> -| -<<if ($currentRule.setAssignment != "get milked")>> - <<link "Milking">> - <<set $currentRule.setAssignment = "get milked">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Milking'' -<</if>> -| -<<if ($currentRule.setAssignment != "work a glory hole")>> - <<link "Gloryhole">> - <<set $currentRule.setAssignment = "work a glory hole">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Gloryhole'' -<</if>> -| -<<if ($currentRule.setAssignment != "choose her own job")>> - <<link "Let her choose">> - <<set $currentRule.setAssignment = "choose her own job">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''Let her choose'' -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeAssignFacility>> - %/ -<<widget "RAChangeAssignFacility">> -<<RACommonAssignmentVariables>> - -<<if (ndef $currentRule.facility)>><<set $currentRule.facility = []>><</if>> -<<if (ndef $currentRule.excludeFacility)>><<set $currentRule.excludeFacility = []>><</if>> - -<<replace #assignfacility>> -<<if ($HGSuite > 0) || ($brothel > 0) || ($club > 0) || ($arcade > 0) || ($dairy > 0) || ($servantsQuarters > 0) || ($masterSuite > 0) || ($schoolroom > 0) || ($spa > 0) || ($clinic > 0) || ($cellblock > 0)>> -<br> -<<if _facilityAssignments.includes($currentRule.setAssignment)>> - Automatically assigning slaves to facility (when possible): - <<link "None">> - <<set $currentRule.setAssignment = "no default setting">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - @@.gray;Automatically assign slaves to facility:@@ ''None'' -<</if>> -<<if ($HGSuite > 0)>> -| -<<if ($currentRule.setAssignment != "live with your Head Girl")>> - <<link $HGSuiteNameCaps>> - <<set $currentRule.setAssignment = "live with your Head Girl">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$HGSuiteNameCaps''<<if $HGSuiteSlaves >= $HGSuite>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($brothel > 0)>> -| -<<if ($currentRule.setAssignment != "work in the brothel")>> - <<link $brothelNameCaps>> - <<set $currentRule.setAssignment = "work in the brothel">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$brothelNameCaps''<<if $brothelSlaves >= $brothel>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($club > 0)>> -| -<<if ($currentRule.setAssignment != "serve in the club")>> - <<link $clubNameCaps>> - <<set $currentRule.setAssignment = "serve in the club">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$clubNameCaps''<<if $clubSlaves >= $club>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($arcade > 0)>> -| -<<if ($currentRule.setAssignment != "be confined in the arcade")>> - <<link $arcadeNameCaps>> - <<set $currentRule.setAssignment = "be confined in the arcade">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$arcadeNameCaps''<<if $arcadeSlaves >= $arcade>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($dairy > 0)>> -| -<<if ($currentRule.setAssignment != "work in the dairy")>> - <<link $dairyNameCaps>> - <<set $currentRule.setAssignment = "work in the dairy">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$dairyNameCaps''<<if $dairySlaves >= $dairy>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($servantsQuarters > 0)>> -| -<<if ($currentRule.setAssignment != "work as a servant")>> - <<link $servantsQuartersNameCaps>> - <<set $currentRule.setAssignment = "work as a servant">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$servantsQuartersNameCaps''<<if $servantsQuartersSlaves >= $servantsQuarters>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($masterSuite > 0)>> -| -<<if ($currentRule.setAssignment != "serve in the master suite")>> - <<link $masterSuiteNameCaps>> - <<set $currentRule.setAssignment = "serve in the master suite">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$masterSuiteNameCaps''<<if $masterSuiteSlaves >= $masterSuite>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($schoolroom > 0)>> -| -<<if ($currentRule.setAssignment != "learn in the schoolroom")>> - <<link $schoolroomNameCaps>> - <<set $currentRule.setAssignment = "learn in the schoolroom">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$schoolroomNameCaps''<<if $schoolroomSlaves >= $schoolroom>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($spa > 0)>> -| -<<if ($currentRule.setAssignment != "rest in the spa")>> - <<link $spaNameCaps>> - <<set $currentRule.setAssignment = "rest in the spa">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$spaNameCaps''<<if $spaSlaves >= $spa>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($clinic > 0)>> -| -<<if ($currentRule.setAssignment != "get treatment in the clinic")>> - <<link $clinicNameCaps>> - <<set $currentRule.setAssignment = "get treatment in the clinic">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$clinicNameCaps''<<if $clinicSlaves >= $clinic>> @@.red;(full)@@<</if>> -<</if>> -<</if>> -<<if ($cellblock > 0)>> -| -<<if ($currentRule.setAssignment != "be confined in the cellblock")>> - <<link $cellblockNameCaps>> - <<set $currentRule.setAssignment = "be confined in the cellblock">> - <<RANormalizeAssignments "setAssignment">> - <</link>> -<<else>> - ''$cellblockNameCaps''<<if $cellblockSlaves >= $cellblock>> @@.red;(full)@@<</if>> -<</if>> -<</if>> - -<<if _facilityAssignments.includes($currentRule.setAssignment)>> -<br> -Automatically remove from facility when rule stops applying: -<<if $currentRule.facilityRemove>> - ''True'' | - <<link False>> - <<set $currentRule.facilityRemove = false>> - <<RANormalizeAssignments "facilityRemove">> - <</link>> -<<else>> - ''False'' | - <<link True>> - <<set $currentRule.facilityRemove = true>> - <<RANormalizeAssignments "facilityRemove">> - <</link>> -<</if>> - -<br> -Assignment on removal: ''$currentRule.removalAssignment'' -<<if ($currentRule.removalAssignment != "rest")>> - | <<link "Rest">> - <<set $currentRule.removalAssignment = "rest">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "please you")>> - | <<link "Fucktoy">> - <<set $currentRule.removalAssignment = "please you">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "be a servant")>> - | <<link "House Servant">> - <<set $currentRule.removalAssignment = "be a servant">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "stay confined")>> - | <<link "Confined">> - <<set $currentRule.removalAssignment = "stay confined">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "whore")>> - | <<link "Whore">> - <<set $currentRule.removalAssignment = "whore">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "serve the public")>> - | <<link "Public Servant">> - <<set $currentRule.removalAssignment = "serve the public">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<<if ($currentRule.removalAssignment != "work a glory hole")>> - | <<link "Gloryhole">> - <<set $currentRule.removalAssignment = "work a glory hole">> - <<RAChangeAssignFacility>> - <<RARuleModified>> - <</link>> -<</if>> -<</if>> -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASpecialSlaves>> -%/ -<<widget "RASpecialSlaves">> -<<replace #specialslaves>> -<<if $currentRule.excludeSpecialSlaves>> - Excluding special slaves: - ''True'' | - <<link False>> - <<set $currentRule.excludeSpecialSlaves = false>> - <<RASpecialSlaves>> - <<RARuleModified>> - <</link>> -<<else>> - @@.gray;Exclude special slaves:@@ - ''False'' | - <<link True>> - <<set $currentRule.excludeSpecialSlaves = true>> - <<RASpecialSlaves>> - <<RARuleModified>> - <</link>> -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeClothes>> -%/ -<<widget "RAChangeClothes">> -<<replace #clothes>> -<<if ($currentRule.clothes == "choosing her own clothes")>> - ''slave's choice.'' -<<else>> - ''$currentRule.clothes.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeCollar>> -%/ -<<widget "RAChangeCollar">> -<<replace #collar>> - ''$currentRule.collar.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeShoes>> -%/ -<<widget "RAChangeShoes">> -<<replace #shoes>> - ''$currentRule.shoes.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeBelly>> -%/ -<<widget "RAChangeBelly">> -<<replace #baccessory>> - ''$currentRule.bellyAccessory.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeVAccessory>> - $arg[0] - 0: virgin, 1: anal virgin, else non-virgin. -%/ -<<widget "RAChangeVAccessory">> -<<if $args[0] == 0>> - <<replace #vaccessory>> - ''$currentRule.virginAccessory.'' - <</replace>> -<<elseif $args[0] == 1>> - <<replace #avaccessory>> - ''$currentRule.aVirginAccessory.'' - <</replace>> -<<else>> - <<replace #voaccessory>> - ''$currentRule.vaginalAccessory.'' - <</replace>> -<</if>> -<</widget>> - -/% - Call as <<RAChangeDAccessory>> - $arg[0] - 0: anal virgin, else non-virgin. -%/ -<<widget "RAChangeDAccessory">> -<<if $args[0] == 0>> - <<replace #avdaccessory>> - ''$currentRule.aVirginDickAccessory.'' - <</replace>> -<<else>> - <<replace #daccessory>> - ''$currentRule.dickAccessory.'' - <</replace>> -<</if>> -<</widget>> - -/% - Call as <<RAChangeBAccessory>> - $arg[0] - 0: anal virgin, else non-virgin. -%/ -<<widget "RAChangeBAccessory">> -<<if $args[0] == 0>> - <<replace #avbuaccessory>> - ''$currentRule.aVirginButtplug.'' - <</replace>> -<<else>> - <<replace #buaccessory>> - ''$currentRule.buttplug.'' - <</replace>> -<</if>> -<</widget>> - -/% - Call as <<RAChangeCuratives>> -%/ -<<widget "RAChangeCuratives">> -<<replace #curatives>> -<<if $currentRule.curatives == "no default setting">> - ''no default setting.'' -<<elseif $currentRule.curatives > 0>> - <<if $currentRule.curatives > 1>> - ''curatives.'' - <<else>> - ''preventatives.'' - <</if>> -<<else>> - ''none.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeAphrodisiacs>> -%/ -<<widget "RAChangeAphrodisiacs">> -<<replace #aphrodisiacs>> -<<if $currentRule.aphrodisiacs == "no default setting">> - ''no default setting.'' -<<elseif $currentRule.aphrodisiacs > 0>> - <<if $currentRule.aphrodisiacs > 1>> - ''extreme.'' - <<else>> - ''standard.'' - <</if>> -<<elseif $currentRule.aphrodisiacs === -1>> - ''anaphrodisiacs.'' -<<else>> - ''none.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangePreg>> -%/ -<<widget "RAChangePreg">> -<<replace #preg>> -<<if $currentRule.preg == 0>> - ''fertile.'' -<<elseif $currentRule.preg == 1>> - ''very fertile.'' -<<elseif $currentRule.preg == 2>> - ''extremely fertile.'' -<<elseif $currentRule.preg == 3>> - ''hyper fertile.'' -<<elseif $currentRule.preg == 4>> - ''just knock my shit up.'' -<<elseif $currentRule.preg == -1>> - ''contraceptives.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeXXHormones>> -%/ -<<widget "RAChangeXXHormones">> -<<replace #xxhormones>> -<<if $currentRule.XX == 0>> - ''no hormones.'' -<<elseif $currentRule.XX == 1>> - ''female.'' -<<elseif $currentRule.XX == 2>> - ''intensive female.'' -<<elseif $currentRule.XX == -1>> - ''male.'' -<<elseif $currentRule.XX == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeXYHormones>> -%/ -<<widget "RAChangeXYHormones">> -<<replace #xyhormones>> -<<if $currentRule.XY == 0>> - ''no hormones.'' -<<elseif $currentRule.XY == 1>> - ''female.'' -<<elseif $currentRule.XY == 2>> - ''intensive female.'' -<<elseif $currentRule.XY == -1>> - ''male.'' -<<elseif $currentRule.XY == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeGeldHormones>> -%/ -<<widget "RAChangeGeldHormones">> -<<replace #geldhormones>> -<<if $currentRule.gelding == 0>> - ''no hormones.'' -<<elseif $currentRule.gelding == 1>> - ''female.'' -<<elseif $currentRule.gelding == 2>> - ''intensive female.'' -<<elseif $currentRule.gelding == -1>> - ''male.'' -<<elseif $currentRule.gelding == -2>> - ''intensive male.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeDrugs>> -%/ -<<widget "RAChangeDrugs">> -<<if $currentRule.drug == "none">> - <<set $currentRule.drug = "no drugs">> -<</if>> -<<replace #otherdrugs>> -Other drugs: // Will be overriden by hormones and other drugs where applicable.// ''$currentRule.drug.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeDiet>> -%/ -<<widget "RAChangeDiet">> -<<replace #diet>> -<<if $currentRule.diet == 30>> - ''designed to keep slaves plush.'' -<<elseif $currentRule.diet == 0>> - ''designed for average weight.'' -<<elseif $currentRule.diet == -30>> - ''designed to keep slaves thin.'' -<<elseif $currentRule.diet == "attractive">> - ''fat slaves will slim down to plush; skinny slaves will fill out to thin.'' -<<elseif $currentRule.diet == "XY">> - ''designed to promote male development.'' -<<elseif $currentRule.diet == "XX">> - ''designed to promote female development.'' -<<elseif $currentRule.diet == "XXY">> - ''designed to promote hermaphrodite development.'' -<<elseif $currentRule.diet == "cleansing">> - ''designed to promote health.'' -<<elseif $currentRule.diet == "fertility">> - ''designed to promote ovulation'' -<<elseif $currentRule.diet == "cum production">> - ''designed to promote cum production'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> - -<<replace #dietsupport>> -<<if $currentRule.diet !== "no default setting">> -<br> -Diet support for growth drugs: -<<if $currentRule.dietGrowthSupport == 1>> - ''on.'' -<<else>> - ''off.'' -<</if>> - -<<link "On">> - <<set $currentRule.dietGrowthSupport = 1>> - <<RAChangeDiet>> -<</link>> -| -<<link "Off">> - <<set $currentRule.dietGrowthSupport = 0>> - <<RAChangeDiet>> -<</link>> -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeDietBase>> - %/ -<<widget "RAChangeDietBase">> -<<replace #dietBase>> -<<if $currentRule.dietCum == 2>> - ''Cum-Based.'' -<<elseif (($currentRule.dietCum == 1) && ($currentRule.dietMilk == 0))>> - ''Cum Added.'' -<<elseif (($currentRule.dietCum == 0) && ($currentRule.dietMilk == 1))>> - ''Milk Added.'' -<<elseif (($currentRule.dietCum == 1) && ($currentRule.dietMilk == 1))>> - ''Cum & Milk Added.'' -<<elseif ($currentRule.dietMilk == 2)>> - ''Milk Based.'' -<<elseif (($currentRule.dietCum == 0) && ($currentRule.dietMilk == 0))>> - ''Normal Diet.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeMuscles>> -%/ -<<widget "RAChangeMuscles">> -<<replace #muscles>> -<<if $currentRule.muscles > 95>> - ''massive.'' -<<elseif $currentRule.muscles > 30>> - ''ripped.'' -<<elseif $currentRule.muscles > 5>> - ''toned.'' -<<elseif $currentRule.muscles == 0>> - ''none.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeBraces>> -%/ -<<widget "RAChangeBraces">> -<<replace #braces>> -<<if $currentRule.teeth == "straighten">> - ''straighten'' teeth, then remove. -<<elseif $currentRule.teeth == "universal">> - ''universally'' applied. -<<elseif $currentRule.teeth == "none">> - ''none.'' -<<else>> - ''no default setting.'' -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeAssistantImplants>> -%/ -<<widget "RAChangeAssistantImplants">> -<<replace #assistantimplants>> -<<if $currentRule.autoSurgery == 1>> - ''ACTIVE, STAND CLEAR.'' - <<link "Off">> - <<set $currentRule.autoSurgery = 0>> - <<RAChangeAssistantImplants>> - <<RARuleModified>> - <</link>> -<<else>> - ''off.'' - <<link "Activate">> - <<set $currentRule.autoSurgery = 1>> - <<RAChangeAssistantImplants>> - <<RARuleModified>> - <</link>> -<</if>> -<</replace>> -<</widget>> - -/% - Call as <<RAChangeLiving>> -%/ -<<widget "RAChangeLiving">> -<<replace #living>> - ''$currentRule.livingRules.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangePunish>> -%/ -<<widget "RAChangePunish">> -<<replace #punish>> - ''$currentRule.standardPunishment.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeReward>> -%/ -<<widget "RAChangeReward">> -<<replace #reward>> - ''$currentRule.standardReward.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeMast>> -%/ -<<widget "RAChangeMast">> -<<replace #mast>> - ''$currentRule.releaseRules.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeSPF>> -%/ -<<widget "RAChangeSPF">> -<<replace #spf>> - ''$currentRule.clitSetting.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeSPXY>> -%/ -<<widget "RAChangeSPXY">> -<<replace #spxy>> - <<RAInitSPXY>> -<</replace>> -<</widget>> - -<<widget "RAInitSPXY">> - <<if $currentRule.clitSettingXY == "no default setting">> - ''no default setting.'' - <<elseif $currentRule.clitSettingXY > 95>> - ''passionate.'' - <<elseif $currentRule.clitSettingXY > 70>> - ''attracted.'' - <<elseif $currentRule.clitSettingXY > 30>> - ''indifferent.'' - <<else>> - ''none.'' - <</if>> -<</widget>> - -/% - Call as <<RAChangeSPXX>> -%/ -<<widget "RAChangeSPXX">> -<<replace #spxx>> - <<RAInitSPXX>> -<</replace>> -<</widget>> - -<<widget "RAInitSPXX">> - <<if $currentRule.clitSettingXX == "no default setting">> - ''no default setting.'' - <<elseif $currentRule.clitSettingXX > 95>> - ''passionate.'' - <<elseif $currentRule.clitSettingXX > 70>> - ''attracted.'' - <<elseif $currentRule.clitSettingXX > 30>> - ''indifferent.'' - <<else>> - ''none.'' - <</if>> -<</widget>> - -/% - Call as <<RAChangeSPE>> -%/ -<<widget "RAChangeSPE">> -<<replace #spe>> - <<RAInitSPE>> -<</replace>> -<</widget>> - -<<widget "RAInitSPE">> - <<if $currentRule.clitSettingEnergy == "no default setting">> - ''no default setting.'' - <<elseif $currentRule.clitSettingEnergy > 95>> - ''nympho.'' - <<elseif $currentRule.clitSettingEnergy > 80>> - ''sex addict.'' - <<elseif $currentRule.clitSettingEnergy > 60>> - ''powerful.'' - <<elseif $currentRule.clitSettingEnergy > 40>> - ''healthy.'' - <<elseif $currentRule.clitSettingEnergy > 20>> - ''weak.'' - <<else>> - ''frigid.'' - <</if>> -<</widget>> - - -/% - Call as <<RAChangeSpeech>> -%/ -<<widget "RAChangeSpeech">> -<<replace #speech>> - ''$currentRule.speechRules.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeRelationship>> -%/ -<<widget "RAChangeRelationship">> -<<replace #relation>> - ''$currentRule.relationshipRules.'' -<</replace>> -<</widget>> - -/% - Call as <<RAChangeFameSpending>> -%/ -<<widget "RAChangeFameSpending">> -<<replace #pornfame>> -<<if $currentRule.pornFameSpending == -1>> - Release of feeds showing excellent slaves' sex lives: ''off.'' -<<else>> - Weekly porn publicity subsidy: ''<<print cashFormat($currentRule.pornFameSpending)>>.'' -<</if>> -<</replace>> -<</widget>> - -/% - % Call as <<RASaveRule>> - %/ -<<widget "RASaveRule">> -<<replace .saveresult>> -<<for _t = 0; _t < $defaultRules.length; _t++>> - <<if ($currentRule.ID != $defaultRules[_t].ID)>> - <<continue>> - <</if>> - - <<if (def _customCondition)>> - <<set _parsedCondition = parseCondition(_customCondition)>> - <<if (_parsedCondition.error)>> - //There seems to be something wrong with the condition that you have given me sir, - <br> <<print printError(_customCondition, _parsedCondition.error)>> - <br> _parsedCondition.error.message// - <br> - <<break>> - <</if>> - <<set $currentRule.condition = optimizeExpr(_parsedCondition.expr)>> - <</if>> - - <<set $defaultRules[_t] = $currentRule>> - //Rule '$currentRule.name' saved// - <<break>> -<</for>> -<</replace>> -<</widget>> - - -/% - % Call as <<RAChangeSave>> - %/ -<<widget "RAChangeSave">> -<<replace .saveresult>> -<<link "Save Rule '$currentRule.name'">> - <<RASaveRule>> -<</link>> -<</replace>> -<</widget>> - -/% - % Call as <<RAChangeApply>> - %/ -<<widget "RAChangeApply">> -<<replace #applied>> - /% empty %/ -<</replace>> - -<<replace #applyresult>> -<<link "Apply rules">> - <<RASaveRule>> - <<replace "#applied">> - <<for _rai = 0; _rai < $slaves.length; _rai++>> - <<if ($slaves[_rai].useRulesAssistant)>> - <<ClearSummaryCache $slaves[_rai]>> - <<CheckAutoRulesActivate $slaves[_rai]>> /* does not use or modify $currentRule */ - <<DefaultRules $slaves[_rai]>> /* does not use or modify $currentRule */ - <</if>> - <</for>> - <</replace>> - - <<replace "#applyresult">> - //Rules applied.//<br> - <</replace>> -<</link>> -<</replace>> -<</widget>> - -/% - % <<RARuleModified>> - %/ -<<widget "RARuleModified">> - <<RAChangeSave>> - <<RAChangeApply>> -<</widget>> - -/% - Call as <<RAChangeEyewear>> -%/ -<<widget "RAChangeEyewear">> -<<replace #eyewear>> -Eyewear: ''$currentRule.eyewear.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeEyecolor>> -%/ -<<widget "RAChangeEyecolor">> -<<replace #eyecolor>> -Eye coloring: ''$currentRule.eyeColor.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeMakeup>> -%/ -<<widget "RAChangeMakeup">> -<<replace #makeup>> -'' -<<if $currentRule.makeup == 0>> - makeup-free. -<<elseif $currentRule.makeup == 1>> - minimal makeup. -<<elseif $currentRule.makeup == 2>> - luxurious, expensive makeup. -<<elseif $currentRule.makeup == 3>> - color-coordinated. -<<elseif $currentRule.makeup == 4>> - garish. -<<else>> - no default setting. -<</if>> -'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeNails>> -%/ -<<widget "RAChangeNails">> -<<replace #nails>> -'' -<<if $currentRule.nails == 0>> - clipped. -<<elseif $currentRule.nails == 1>> - long and elegant. -<<elseif $currentRule.nails == 2>> - color-coordinated. -<<elseif $currentRule.nails == 3>> - sharp and claw-like. -<<elseif $currentRule.nails == 4>> - bright and glittery. -<<elseif $currentRule.nails == 5>> - garish. -<<else>> - no default setting. -<</if>> -'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeHColor>> -%/ -<<widget "RAChangeHColor">> -<<replace #hcolor>> -Hair color: ''$currentRule.hColor.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeHStyle>> -%/ -<<widget "RAChangeHStyle">> -<<replace #hstyle>> -Hair style: ''$currentRule.hStyle.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeHLength>> -%/ -<<widget "RAChangeHLength">> -<<replace #hlength>> -Hair length: ''$currentRule.hLength.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangePHColor>> -%/ -<<widget "RAChangePHColor">> -<<replace #phcolor>> -Pubic hair color, when present: ''$currentRule.pubicHColor.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangePHStyle>> -%/ -<<widget "RAChangePHStyle">> -<<replace #phstyle>> -Pubic hair style: ''$currentRule.pubicHStyle.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeAHColor>> -%/ -<<widget "RAChangeAHColor">> -<<replace #ahcolor>> -Underarm hair color, when present: ''$currentRule.underArmHColor.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeAHStyle>> -%/ -<<widget "RAChangeAHStyle">> -<<replace #ahstyle>> -Underarm hair style: ''$currentRule.underArmHStyle.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeEarPiercings>> -%/ -<<widget "RAChangeEarPiercings">> -<<replace #earpiercing>> -<<if $currentRule.earPiercing == "no default setting">>No default setting.<<elseif $currentRule.earPiercing == 0>>None.<<elseif $currentRule.earPiercing == 1>>Light. -<<elseif $currentRule.earPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeNosePiercings>> -%/ -<<widget "RAChangeNosePiercings">> -<<replace #nosepiercing>> -<<if $currentRule.nosePiercing == "no default setting">>No default setting.<<elseif $currentRule.nosePiercing == 0>>None.<<elseif $currentRule.nosePiercing == 1>>Light. -<<elseif $currentRule.nosePiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeEybrowPiercings>> -%/ -<<widget "RAChangeEyebrowPiercings">> -<<replace #eyebrowpiercing>> -<<if $currentRule.eyebrowPiercing == "no default setting">>No default setting.<<elseif $currentRule.eyebrowPiercing == 0>>None.<<elseif $currentRule.eyebrowPiercing == 1>>Light. -<<elseif $currentRule.eyebrowPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeNavelPiercings>> -%/ -<<widget "RAChangeNavelPiercings">> -<<replace #navelpiercing>> -<<if $currentRule.navelPiercing == "no default setting">>No default setting.<<elseif $currentRule.navelPiercing == 0>>None.<<elseif $currentRule.navelPiercing == 1>>Light. -<<elseif $currentRule.navelPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeNipplePiercings>> -%/ -<<widget "RAChangeNipplePiercings">> -<<replace #nipplepiercing>> -<<if $currentRule.nipplesPiercing == "no default setting">>No default setting.<<elseif $currentRule.nipplesPiercing == 0>>None.<<elseif $currentRule.nipplesPiercing == 1>>Light. -<<elseif $currentRule.nipplesPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeAreolaPiercings>> -%/ -<<widget "RAChangeAreolaPiercings">> -<<replace #areolapiercing>> -<<if $currentRule.areolaePiercing == "no default setting">>No default setting.<<elseif $currentRule.areolaePiercing == 0>>None.<<elseif $currentRule.areolaePiercing == 1>>Studded.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeLipPiercings>> -%/ -<<widget "RAChangeLipPiercings">> -<<replace #lippiercing>> -<<if $currentRule.lipsPiercing == "no default setting">>No default setting.<<elseif $currentRule.lipsPiercing == 0>>None.<<elseif $currentRule.lipsPiercing == 1>>Light. -<<elseif $currentRule.lipsPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeTonguePiercings>> -%/ -<<widget "RAChangeTonguePiercings">> -<<replace #tonguepiercing>> -<<if $currentRule.tonguePiercing == "no default setting">>No default setting.<<elseif $currentRule.tonguePiercing == 0>>None.<<elseif $currentRule.tonguePiercing == 1>>Light. -<<elseif $currentRule.tonguePiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeClitPiercings>> -%/ -<<widget "RAChangeClitPiercings">> -<<replace #clitpiercing>> -<<if $currentRule.clitPiercing == "no default setting">>No default setting.<<elseif $currentRule.clitPiercing == 0>>None.<<elseif $currentRule.clitPiercing == 1>>Light. -<<elseif $currentRule.clitPiercing == 2>>Heavy. -<<elseif $currentRule.clitPiercing == 3>>Smart.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeVaginaPiercings>> -%/ -<<widget "RAChangeVaginaPiercings">> -<<replace #vaginapiercing>> -<<if $currentRule.vaginaPiercing == "no default setting">>No default setting.<<elseif $currentRule.vaginaPiercing == 0>>None.<<elseif $currentRule.vaginaPiercing == 1>>Light. -<<elseif $currentRule.vaginaPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeDickPiercings>> -%/ -<<widget "RAChangeDickPiercings">> -<<replace #dickpiercing>> -<<if $currentRule.dickPiercing == "no default setting">>No default setting.<<elseif $currentRule.dickPiercing == 0>>None.<<elseif $currentRule.dickPiercing == 1>>Light. -<<elseif $currentRule.dickPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeAnusPiercings>> -%/ -<<widget "RAChangeAnusPiercings">> -<<replace #anuspiercing>> -<<if $currentRule.anusPiercing == "no default setting">>No default setting.<<elseif $currentRule.anusPiercing == 0>>None.<<elseif $currentRule.anusPiercing == 1>>Light. -<<elseif $currentRule.anusPiercing == 2>>Heavy.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeCorsetPiercings>> -%/ -<<widget "RAChangeCorsetPiercings">> -<<replace #corsetpiercing>> -<<if $currentRule.corsetPiercing == "no default setting">>No default setting.<<elseif $currentRule.corsetPiercing == 0>>None.<<elseif $currentRule.corsetPiercing == 1>>Applied.<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeBranding>> -%/ -<<widget "RAChangeBranding">> -<<replace #branding>> -<<if $currentRule.autoBrand == 1>> - ''on.'' - <<link "Deactivate">> - <<set $currentRule.autoBrand = 0>> - <<RAChangeBranding>> - <</link>> -<<else>> - ''off.'' - <<link "Activate">> - <<set $currentRule.autoBrand = 1>> - <<RAChangeBranding>> - <</link>> -<</if>> -<</replace>> -<</widget>> -/% - Call as <<RAChangeBrandTarget>> -%/ -<<widget "RAChangeBrandTarget">> -<<replace #brandtarget>> -Your preferred location for brands is the ''$brandTarget.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeBrandDesign>> -%/ -<<widget "RAChangeBrandDesign">> -<<replace #branddesign>> -Your brand design is ''$brandDesign.'' -<</replace>> -<</widget>> -/% - Call as <<RAChangeChestTattoos>> -%/ -<<widget "RAChangeChestTattoos">> -<<replace #chesttattoo>> -<<if $currentRule.boobsTat == 0>>none<<else>>$currentRule.boobsTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeButtTattoos>> -%/ -<<widget "RAChangeButtTattoos">> -<<replace #butttattoo>> -<<if $currentRule.buttTat == 0>>none<<else>>$currentRule.buttTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeFaceTattoos>> -%/ -<<widget "RAChangeFaceTattoos">> -<<replace #facetattoo>> -<<if $currentRule.lipsTat == 0>>none<<else>>$currentRule.lipsTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeShoulderTattoos>> -%/ -<<widget "RAChangeShoulderTattoos">> -<<replace #shouldertattoo>> -<<if $currentRule.shouldersTat == 0>>none<<else>>$currentRule.shouldersTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeArmTattoos>> -%/ -<<widget "RAChangeArmTattoos">> -<<replace #armtattoo>> -<<if $currentRule.armsTat == 0>>none<<else>>$currentRule.armsTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeLegTattoos>> -%/ -<<widget "RAChangeLegTattoos">> -<<replace #legtattoo>> -<<if $currentRule.legsTat == 0>>none<<else>>$currentRule.legsTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeBackTattoos>> -%/ -<<widget "RAChangeBackTattoos">> -<<replace #backtattoo>> -<<if $currentRule.backTat == 0>>none<<else>>$currentRule.backTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeStampTattoos>> -%/ -<<widget "RAChangeStampTattoos">> -<<replace #stamptattoo>> -<<if $currentRule.stampTat == 0>>none<<else>>$currentRule.stampTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeVaginaTattoos>> -%/ -<<widget "RAChangeVaginaTattoos">> -<<replace #vaginatattoo>> -<<if $currentRule.vaginaTat == 0>>none<<else>>$currentRule.vaginaTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeDickTattoos>> -%/ -<<widget "RAChangeDickTattoos">> -<<replace #dicktattoo>> -<<if $currentRule.dickTat == 0>>none<<else>>$currentRule.dickTat<</if>>. -<</replace>> -<</widget>> -/% - Call as <<RAChangeAnusTattoos>> -%/ -<<widget "RAChangeAnusTattoos">> -<<replace #anustattoo>> -<<if $currentRule.anusTat == 0>>none<<else>>$currentRule.anusTat<</if>>. -<</replace>> -<</widget>> - - -/% - Call as <<RASurgeryChangeEyes>> -%/ -<<widget "RASurgeryChangeEyes">> -<<replace #eyes>> - <<if ($currentRule.surgery.eyes == -1)>> - ''blurred.'' - <<elseif ($currentRule.surgery.eyes == 1)>> - ''fixed.'' - <<else>> - ''no default setting.'' - - <</if>> - - <br> - - <<if ($currentRule.surgery.eyes !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.eyes = "no default setting">> - <<RASurgeryChangeEyes>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.eyes !== 1)>> - <<link "Corrected">> - <<set $currentRule.surgery.eyes = 1>> - <<RASurgeryChangeEyes>> - <</link>> | - <<else>> - Corrected | - <</if>> - <<if ($currentRule.surgery.eyes !== -1)>> - <<link "Blurred">> - <<set $currentRule.surgery.eyes = -1>> - <<RASurgeryChangeEyes>> - <</link>> - <<else>> - Blurred - <</if>> -<</replace>> -<</widget>> - -<<widget "DefaultRules">> - <<= DefaultRules($args[0]) >> -<</widget>> - -/% - Call as <<RASurgeryChangeLactation>> -%/ -<<widget "RASurgeryChangeLactation">> -<<replace #lactation>> - <<if ($currentRule.surgery.lactation == "no default setting")>> - ''no default setting.'' - <<elseif ($currentRule.surgery.lactation == 1)>> - ''implanted.'' - <<else>> - ''implants will be removed.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.lactation !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.lactation = "no default setting">> - <<RASurgeryChangeLactation>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.lactation !== 0)>> - <<link "Removed">> - <<set $currentRule.surgery.lactation = 0>> - <<RASurgeryChangeLactation>> - <</link>> | - <<else>> - Removed | - <</if>> - <<if ($currentRule.surgery.lactation !== 1)>> - <<link "Implanted">> - <<set $currentRule.surgery.lactation = 1>> - <<RASurgeryChangeLactation>> - <</link>> - <<else>> - Implanted - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeProstate>> -%/ -<<widget "RASurgeryChangeProstate">> -<<replace #prostate>> - <<if ($currentRule.surgery.prostate == "no default setting")>> - ''no default setting.'' - <<elseif ($currentRule.surgery.prostate == 1)>> - ''implanted.'' - <<else>> - ''implants will be removed.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.prostate !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.prostate = "no default setting">> - <<RASurgeryChangeProstate>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.prostate !== 0)>> - <<link "Removed">> - <<set $currentRule.surgery.prostate = 0>> - <<RASurgeryChangeProstate>> - <</link>> | - <<else>> - Removed | - <</if>> - <<if ($currentRule.surgery.prostate !== 1)>> - <<link "Implanted">> - <<set $currentRule.surgery.prostate = 1>> - <<RASurgeryChangeProstate>> - <</link>> - <<else>> - Implanted - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeCosmetic>> -%/ -<<widget "RASurgeryChangeCosmetic">> -<<replace #cosmetic>> - <<if ($currentRule.surgery.cosmetic == 2)>> - ''invasive.'' - <<elseif ($currentRule.surgery.cosmetic == 1)>> - ''subtle.'' - <<elseif $currentRule.surgery.cosmetic == 0>> - ''none.'' - <<else>> - ''off.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.cosmetic !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.cosmetic = "no default setting">> - <<RASurgeryChangeCosmetic>> - <</link>> | - <<else>> - Off | - <</if>> - <<if ($currentRule.surgery.cosmetic !== 0)>> - <<link "None">> - <<set $currentRule.surgery.cosmetic = 0>> - <<RASurgeryChangeCosmetic>> - <</link>> | - <<else>> - None | - <</if>> - <<if ($currentRule.surgery.cosmetic !== 1)>> - <<link "Subtle">> - <<set $currentRule.surgery.cosmetic = 1>> - <<RASurgeryChangeCosmetic>> - <</link>> | - <<else>> - Subtle | - <</if>> - <<if ($currentRule.surgery.cosmetic !== 2)>> - <<link "Invasive">> - <<set $currentRule.surgery.cosmetic = 2>> - <<RASurgeryChangeCosmetic>> - <</link>> - <<else>> - Invasive - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeLips>> -%/ -<<widget "RASurgeryChangeLips">> -<<replace #lips>> - <<if ($currentRule.surgery.lips == "no default setting")>> - ''no default setting.'' - <<elseif ($currentRule.surgery.lips == 95)>> - implanted until a ''facepussy.'' - <<elseif ($currentRule.surgery.lips == 70)>> - implanted until ''huge.'' - <<elseif ($currentRule.surgery.lips == 40)>> - implanted until ''big.'' - <<elseif ($currentRule.surgery.lips == 20)>> - implanted until ''plush.'' - <<else>> - ''implants will be removed.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.lips !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.lips = "no default setting">> - <<RASurgeryChangeLips>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.lips != 0)>> - <<link "Removed">> - <<set $currentRule.surgery.lips = 0>> - <<RASurgeryChangeLips>> - <</link>> | - <<else>> - Removed | - <</if>> - <<if ($currentRule.surgery.lips != 20)>> - <<link "Plush">> - <<set $currentRule.surgery.lips = 20>> - <<RASurgeryChangeLips>> - <</link>> | - <<else>> - Plush | - <</if>> - <<if ($currentRule.surgery.lips != 40)>> - <<link "Big">> - <<set $currentRule.surgery.lips = 40>> - <<RASurgeryChangeLips>> - <</link>> | - <<else>> - Big | - <</if>> - <<if ($currentRule.surgery.lips != 70)>> - <<link "Huge">> - <<set $currentRule.surgery.lips = 70>> - <<RASurgeryChangeLips>> - <</link>> - <<else>> - Huge - <</if>> - <<if ($seeExtreme != 0)>> - <<if ($currentRule.surgery.lips != 95)>> - | <<link "Facepussy">> - <<set $currentRule.surgery.lips = 95>> - <<RASurgeryChangeLips>> - <</link>> - <<else>> - | Facepussy - <</if>> - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeButt>> -%/ -<<widget "RASurgeryChangeButt">> -<<replace #butt>> - <<if ($currentRule.surgery.butt == "no default setting")>> - ''no default setting.'' - <<elseif ($currentRule.surgery.butt == 9)>> - implanted until ''maximized.'' - <<elseif ($currentRule.surgery.butt == 6)>> - implanted until ''huge.'' - <<elseif ($currentRule.surgery.butt == 4)>> - implanted until ''stacked.'' - <<elseif ($currentRule.surgery.butt == 2)>> - implanted until ''slim.'' - <<else>> - ''implants will be removed.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.butt !== "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.butt = "no default setting">> - <<RASurgeryChangeButt>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.butt != 0)>> - <<link "Removed">> - <<set $currentRule.surgery.butt = 0>> - <<RASurgeryChangeButt>> - <</link>> | - <<else>> - Removed | - <</if>> - <<if ($currentRule.surgery.butt != 2)>> - <<link "Slim">> - <<set $currentRule.surgery.butt = 2>> - <<RASurgeryChangeButt>> - <</link>> | - <<else>> - Slim | - <</if>> - <<if ($currentRule.surgery.butt != 4)>> - <<link "Stacked">> - <<set $currentRule.surgery.butt = 4>> - <<RASurgeryChangeButt>> - <</link>> | - <<else>> - Stacked | - <</if>> - <<if ($currentRule.surgery.butt != 6)>> - <<link "Huge">> - <<set $currentRule.surgery.butt = 6>> - <<RASurgeryChangeButt>> - <</link>> | - <<else>> - Huge | - <</if>> - <<if ($currentRule.surgery.butt != 9)>> - <<link "Maximize">> - <<set $currentRule.surgery.butt = 9>> - <<RASurgeryChangeButt>> - <</link>> - <<else>> - Maximize - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeBoobs>> -%/ -<<widget "RASurgeryChangeBoobs">> -<<replace #boobs>> - <<if ($currentRule.surgery.boobs == "no default setting")>> - ''no default setting.'' - <<elseif ($currentRule.surgery.boobs == 48000)>> - implanted until ''maximized.'' - <<elseif ($currentRule.surgery.boobs == 9000)>> - implanted to maximally ''functional,'' where more would immobilize the slave. - <<elseif ($currentRule.surgery.boobs == 2000)>> - implanted until ''huge.'' - <<elseif ($currentRule.surgery.boobs == 1000)>> - implanted until ''stacked.'' - <<elseif ($currentRule.surgery.boobs == 400)>> - implanted until ''slim.'' - <<else>> - ''implants will be removed.'' - <</if>> - - <br> - - <<if ($currentRule.surgery.boobs != "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.boobs = "no default setting">> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.boobs != 0)>> - <<link "Removed">> - <<set $currentRule.surgery.boobs = 0>> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - Removed | - <</if>> - <<if ($currentRule.surgery.boobs != 400)>> - <<link "Slim">> - <<set $currentRule.surgery.boobs = 400>> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - Slim | - <</if>> - <<if ($currentRule.surgery.boobs != 1000)>> - <<link "Stacked">> - <<set $currentRule.surgery.boobs = 1000>> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - Stacked | - <</if>> - <<if ($currentRule.surgery.boobs != 2000)>> - <<link "Huge">> - <<set $currentRule.surgery.boobs = 2000>> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - Huge | - <</if>> - <<if ($currentRule.surgery.boobs != 9000)>> - <<link "Functional">> - <<set $currentRule.surgery.boobs = 9000>> - <<RASurgeryChangeBoobs>> - <</link>> | - <<else>> - Functional | - <</if>> - <<if ($currentRule.surgery.boobs != 48000)>> - <<link "Maximize">> - <<set $currentRule.surgery.boobs = 48000>> - <<RASurgeryChangeBoobs>> - <</link>> - <<else>> - Maximize - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryChangeHoles>> -%/ -<<widget "RASurgeryChangeHoles">> -<<replace #holes>> - <<if ($currentRule.surgery.holes == 2)>> - ''virginity restoration'' will be applied where possible. - <<elseif ($currentRule.surgery.holes == 1)>> - ''hole tightening'' will be applied. - <<else>> - ''No default setting.'' - <</if>> - - <br> - <<if ($currentRule.surgery.holes != "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.holes = "no default setting">> - <<RASurgeryChangeHoles>> - <</link>> | - <<else>> - No default setting | - <</if>> - <<if ($currentRule.surgery.holes != 1)>> - <<link "Tightening">> - <<set $currentRule.surgery.holes = 1>> - <<RASurgeryChangeHoles>> - <</link>> | - <<else>> - Tightening | - <</if>> - <<if ($currentRule.surgery.holes != 2)>> - <<link "Virginity">> - <<set $currentRule.surgery.holes = 2>> - <<RASurgeryChangeHoles>> - <</link>> - <<else>> - Virginity - <</if>> -<</replace>> -<</widget>> - -/% - Call as <<RASurgeryBodyHair>> -%/ -<<widget "RASurgeryBodyHair">> -<<replace #bodyhair>> - <<if ($currentRule.surgery.bodyhair == 2)>> - ''Removal'' - <<elseif ($currentRule.surgery.bodyhair == 1)>> - ''Keep'' - <<else>> - ''No default setting.'' - <</if>> - - <br> - <<if ($currentRule.surgery.bodyhair != "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.bodyhair = "no default setting">> - <<RASurgeryBodyHair>> - <</link>> | - <<else>> - No default setting | - <</if>> - - <<if ($currentRule.surgery.bodyhair != 1)>> - <<link "Keep">> - <<set $currentRule.surgery.bodyhair = 1>> - <<RASurgeryBodyHair>> - <</link>> | - <<else>> - Keep | - <</if>> - - <<if ($currentRule.surgery.bodyhair != 2)>> - <<link "Removal">> - <<set $currentRule.surgery.bodyhair = 2>> - <<RASurgeryBodyHair>> - <</link>> - <<else>> - Removal - <</if>> -<</replace>> -<</widget>> - - -/% - Call as <<RASurgeryHair>> -%/ -<<widget "RASurgeryHair">> -<<replace #hair>> - <<if ($currentRule.surgery.hair == 2)>> - ''Removal'' - <<elseif ($currentRule.surgery.hair == 1)>> - ''Keep'' - <<else>> - ''No default setting.'' - <</if>> - - <br> - <<if ($currentRule.surgery.hair != "no default setting")>> - <<link "No default setting">> - <<set $currentRule.surgery.hair = "no default setting">> - <<RASurgeryHair>> - <</link>> | - <<else>> - No default setting | - <</if>> - - <<if ($currentRule.surgery.hair != 1)>> - <<link "Keep">> - <<set $currentRule.surgery.hair = 1>> - <<RASurgeryHair>> - <</link>> | - <<else>> - Keep | - <</if>> - - <<if ($currentRule.surgery.hair != 2)>> - <<link "Removal">> - <<set $currentRule.surgery.hair = 2>> - <<RASurgeryHair>> - <</link>> - <<else>> - Removal - <</if>> -<</replace>> -<</widget>> - - -/% - % Call as <<CheckAutoRulesActivate SlaveObject>> - % Does not use or modify $currentRule - %/ -<<widget "CheckAutoRulesActivate">> - <<= CheckAutoRulesActivate($args[0]) >> -<</widget>> - -/* - Call as <<RulesDeconfliction SlaveObject>> - Saves the slave, silently fires the RA, saves the slave's after-RA state, and then reverts the slave. - Call and then check potential change against $slaveAfterRA to see if the RA would revert it. -*/ -<<widget "RulesDeconfliction">> - -<<set _slaveBeforeRA = clone($args[0])>> -<<silently>> - <<CheckAutoRulesActivate $args[0]>> - <<DefaultRules $args[0]>> -<</silently>> -<<set $slaveAfterRA = clone($args[0])>> -<<set $args[0] = _slaveBeforeRA>> - -<</widget>> -